LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.control
Class LyPrintModelController

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

public class LyPrintModelController
extends LyAreaController
implements java.lang.Runnable

This class describes the controller associated to the print action of a list of objects from a model file. This controller doesn't have a builder.

See Also:
LyAreaController, LyPrintBehaviorInterface, LyPrintBehavior

Field Summary
static java.lang.String __VERSION
          File Version
 
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
LyPrintModelController(LySession session, LyController parent, LyAction action, LyClassInfo classInfo, LyObjectList objects)
          Constructor.
 
Method Summary
 void free()
          Free this controller.
 LyBuilder getDefaultBuilder()
          Returns default builder.
 LyViewController getViewController()
          Returns view controller.
 void run()
          Printing objects starts.
 void showView()
          Shows the Window which contains the view.
 
Methods inherited from class leon.control.LyAreaController
actionDemand, canClose, canFree, clearViewCache, completeMenuBar, completeMessages, free, getAction, getAreaStackController, getBehavior, 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

LyPrintModelController

public LyPrintModelController(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). Controller hierarchy indicates a child controller (for example a dialog created from a main view)
classInfo - related class info
action - related action. If an action is specified, the controller uses action parameters (action name, action specific XML view description ...)
objects - current context (may be null if the view is not contextual to a list of objects).
Method Detail

getDefaultBuilder

public LyBuilder getDefaultBuilder()
Returns default builder. This method overrides the standard method to return. There is no builder associated with this controller

Returns:
the default builder

getViewController

public LyViewController getViewController()
Returns view controller. This controller doesn't have a view controller

Overrides:
getViewController in class LyAreaController
Returns:
the associated view Controller

showView

public void showView()
Shows the Window which contains the view.

Overrides:
showView in class LyAreaController

run

public void run()
Printing objects starts.

Specified by:
run in interface java.lang.Runnable

free

public void free()
Free this controller.

Overrides:
free in class LyAreaController
See Also:
LyAreaController.free(LyController)

(c) January 2013 - W4 S.A.

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