leon.control
Class LySelectController
java.lang.Object
leon.control.LyController
leon.control.LyAreaController
leon.control.LyMultiAreaController
leon.control.LyCompoundAreaController
leon.control.LySelectController
- All Implemented Interfaces:
- LyGetSessionInterface, LyContextInterface, LyGetActionInterface, LySelectFileListenerInterface, LyTransverseInterface, LyGuiListener, LyInfoListener, LyEvaluator, LyDemandListener
public class LySelectController
- extends LyCompoundAreaController
- implements LyTransverseInterface
Field Summary |
static java.lang.String |
__VERSION
File Version |
Methods inherited from class leon.control.LyMultiAreaController |
addAreaController, addAreaControllerStack, canClose, clearViewCache, getAreaController, getAreaController, getAreaControllersCount, getAreaControllerStack, getAreaControllerStackCount, getFinalAreaControllers, getLastModified, isViewResizable, openSubAreaController, removeAreaController, removeAreaControllerStack, setIdle, setViewController, update |
Methods inherited from class leon.control.LyAreaController |
canFree, completeMenuBar, completeMessages, free, getAction, getAreaStackController, getBehavior, getBehaviorInterface, getBuilder, getClassInfo, getContent, getContext, getContextTitle, getDefaultAction, getEnvironment, getFastEditionAction, getHelpFile, getImage, getImageTooltip, getInfoLabel, getInfoLabel, getKeyValue, getLabel, getMenuItemImage, getName, getParameter, getParameter, getParameterMarks, getParent, getParent, getParentAreaController, getRefreshTime, getSelection, getShortLabel, getTarget, getTitle, getViewController, getViewController, hasMark, hasNotMark, hasViewController, hideView, infoEvent, initialize, isInitialized, isOutlined, menuDemand, reset, selectFileDemand, setContext, setPreference, showView, showView, testParameter, toString, 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 |
__VERSION
public static final java.lang.String __VERSION
- File Version
- See Also:
- Constant Field Values
LySelectController
public LySelectController(LySession session,
LyController parent,
LyAction action,
LyClassInfo classInfo,
LyObjectList context)
- 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)action
- related action. The action should be an instance of LyCompoundAction. If an
action is specified, the controller uses action parameters (action name,
action specific XML view description ...)classInfo
- classInfo : useless in this controller, should be null. Kept for
compatibility.context
- current context (may be null if the view is not contextual to a list of
objects).
setRelationParent
public void setRelationParent(LyFormResultInterface client,
LyRelationFieldInfo relation)
- Sets relation parent : this method is invoked when this controller is a child of another form
(dynamic popup creation of an object in a relation field).
- Specified by:
setRelationParent
in interface LyTransverseInterface
- Parameters:
client
- the client of the current actionrelation
- the relation fieldInfo which is updated as the result of the current action
(usually dynamic popup creation)
actionDemand
public void actionDemand(LyActionDemand demand)
- Invoked when an action occurs.
- Overrides:
actionDemand
in class LyCompoundAreaController
- Parameters:
demand
- the action demand- See Also:
LyController.demandPerformed(leon.view.event.LyDemand)
getFormResultClient
public LyFormResultInterface getFormResultClient()
- Accessor to the LyFormResultInterface instance that must be notified at the end of the
process.
- Returns:
- the form result client
getRelationParent
public LyRelationFieldInfo getRelationParent()
- Accessor to the relation field info using the select action.
- Returns:
- the parent relation
Website: W4 S.A., contact us: support@w4global.com