LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.control
Class LyPrintPdfController

java.lang.Object
  extended by leon.control.LyController
      extended by leon.control.LyAreaController
          extended by leon.control.LySimplePrintController
              extended by leon.control.LyPrintPdfController
All Implemented Interfaces:
java.lang.Runnable, LyGetSessionInterface, LyContextInterface, LyGetActionInterface, LySelectFileListenerInterface, LyGuiListener, LyInfoListener, LyEvaluator, LyDemandListener, LyPrintDataInterface

public class LyPrintPdfController
extends LySimplePrintController

Print a list of objects This controller print a list of object in a PDF file.


Field Summary
static java.lang.String __VERSION
          File Version
 
Fields inherited from class leon.control.LySimplePrintController
_supportName, PRINT_FORMATS
 
Fields inherited from class leon.control.LyAreaController
DEFAULT_MENU_ITEM_IMAGE_SIZE, DEMAND_APPLY, DEMAND_CANCEL, DEMAND_CLOSE, DEMAND_CREATE_CHART, DEMAND_DELETE_CHART, DEMAND_DELETE_OBJECTINFOS, DEMAND_DELETE_PREFERENCE, DEMAND_UPDATE_VIEW, DEMAND_VALIDATE
 
Fields inherited from class leon.control.LyController
_nbControllers, _nextId, CONTROLLER_ID_SEP, DEFAULT_IMAGE_FORMAT, DEMAND_HELP, ID_SEP
 
Constructor Summary
LyPrintPdfController(LySession session, LyController parent, LyAction action, LyClassInfo classInfo, LyObjectList objects)
          Constructor.
 
Method Summary
 void run()
          Printing objects starts.
 void setFile(java.lang.String file)
          Set the target file.
 
Methods inherited from class leon.control.LySimplePrintController
free, getBehavior, getDefaultBuilder, getFieldMarks, getFields, getFooterLabel, getFormat, getImage, getLabel, getLabel, getParentView, getShortLabel, getSortIndex, getSupportName, getTab, getTitle, getViewController, hasFooters, isIncreasing, isInFile, isLeftAligned, printEnd, setByList, setFields, setPrintBehaviorInterface, showView
 
Methods inherited from class leon.control.LyAreaController
actionDemand, canClose, canFree, clearViewCache, completeMenuBar, completeMessages, free, getAction, getAreaStackController, getBehaviorInterface, getBuilder, getClassInfo, getContent, getContext, getContextClient, getContextTitle, getDefaultAction, getEnvironment, getFastEditionAction, getHelpFile, getImage, getImageTooltip, getInfoLabel, getInfoLabel, getKeyValue, getLabel, getLastModified, getMenuItemImage, getName, getParameter, getParameter, getParameterMarks, getParent, getParent, getParentAreaController, getRefreshTime, getSelection, getShortLabel, getTarget, getTitle, getViewController, hasMark, hasNotMark, hasViewController, hideView, infoEvent, initialize, isInitialized, isOutlined, isViewResizable, menuDemand, reset, reset, selectFileDemand, setContext, setContext, setContextClient, setIdle, setPreference, setViewController, showView, testParameter, toString, update, updateTitleBar
 
Methods inherited from class leon.control.LyController
activateViewDemand, demandPerformed, dragDropDemand, getApplication, getClassInfo, getComponent, getId, getImage, getImage, getImage, getImage, getImageFromPrefix, getImageFromPrefix, getImageFromPrefix, getName, getObjectId, getSession, getUserData, getView, getViewManager, helpDemand, hideView, isFreed, isIdle, selectionDemand, setBuilder, setBuilderClass, setLastModified, setName, setUserData, showError, showError, showWarning, updateViewFromValues
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
File Version

See Also:
Constant Field Values
Constructor Detail

LyPrintPdfController

public LyPrintPdfController(LySession session,
                            LyController parent,
                            LyAction action,
                            LyClassInfo classInfo,
                            LyObjectList objects)
Constructor.

Parameters:
session - current session associated to the controller. The controller automatically registers on the specified session.
parent - parent controller (or null for 'root' controller).
action - related action (_login).
classInfo - related class info
objects - current action context
Method Detail

run

public void run()
Printing objects starts.

Specified by:
run in interface java.lang.Runnable
Specified by:
run in class LySimplePrintController

setFile

public void setFile(java.lang.String file)
Set the target file.

Parameters:
file - The path of the target file

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com