|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.control.LyController
leon.control.LyAreaController
leon.control.LyUserInputController
leon.control.LySelectByNameController
public class LySelectByNameController
This is the controller for the select by name action.
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File Version |
static char[] |
IGNORED_CHARACTERS
Ignored characters in regular expressions. |
static java.lang.String |
REFRESH_SEARCH_TEXT
Refresh search text identifier. |
static java.lang.String |
SEARCH_RESULTS
Search results identifier. |
static java.lang.String |
SEARCH_TEXT
Search text identifier. |
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 | |
---|---|
LySelectByNameController(LySession session,
LyController parent,
LyAction action)
Constructor. |
|
LySelectByNameController(LySession session,
LyController parent,
LyAction action,
LyClassInfo classInfo)
Constructor. |
|
LySelectByNameController(LySession session,
LyController parent,
LyAction action,
LyClassInfo classInfo,
LyObjectList context)
Constructor. |
|
LySelectByNameController(LySession session,
LyController parent,
LyAction action,
LyObjectList context)
Constructor. |
Method Summary | |
---|---|
void |
actionDemand(LyActionDemand demand)
Invoked when an action occurs. |
boolean |
setContext(LyWorkSpace context)
Overridden to use the _allowSetContext parameter to check if context may be set. |
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). |
Methods inherited from class leon.control.LyUserInputController |
---|
addBoolean, addBoolean, addChoice, addChoice, addDate, addDate, addFile, addFile, addLabel, addLabel, addList, addList, addNumber, addNumber, addRelation, addRelation, addText, addText, addText, getBehaviorInterface, getClassInfo, getComponent, getFormComponent, getImage, getInputId, getTitleBar, getViewController, isDialog, isViewResizable, reset, setBehavior, setBuilder, setDialog, setImage, setInputId, setTitleBar |
Methods inherited from class leon.control.LyController |
---|
activateViewDemand, demandPerformed, dragDropDemand, getApplication, getClassInfo, getId, getImage, getImage, getImage, getImage, getImageFromPrefix, getImageFromPrefix, getImageFromPrefix, getName, getObjectId, getSession, getUserData, getView, getViewManager, helpDemand, hideView, isFreed, isIdle, selectionDemand, 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 |
---|
public static final java.lang.String __VERSION
public static final java.lang.String SEARCH_TEXT
public static final java.lang.String REFRESH_SEARCH_TEXT
public static final java.lang.String SEARCH_RESULTS
public static final char[] IGNORED_CHARACTERS
Constructor Detail |
---|
public LySelectByNameController(LySession session, LyController parent, LyAction action)
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. If an action is specified, the controller uses action
parameters (action name, action specific XML view description ...)public LySelectByNameController(LySession session, LyController parent, LyAction action, LyClassInfo classInfo)
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. If an action is specified, the controller uses action
parameters (action name, action specific XML view description ...)classInfo
- This parameter is not used. Kept from introspection compatibility.public LySelectByNameController(LySession session, LyController parent, LyAction action, LyObjectList context)
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. If an action is specified, the controller uses action
parameters (action name, action specific XML view description ...)context
- current context (may be null if the view is not contextual to a list of
objects).public LySelectByNameController(LySession session, LyController parent, LyAction action, LyClassInfo classInfo, LyObjectList context)
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. If an action is specified, the controller uses action
parameters (action name, action specific XML view description ...)classInfo
- This parameter is not used. Kept from introspection compatibility.context
- current context (may be null if the view is not contextual to a list of
objects).Method Detail |
---|
public void actionDemand(LyActionDemand demand)
actionDemand
in class LyUserInputController
demand
- the action demand.LyController.demandPerformed(leon.view.event.LyDemand)
public void setRelationParent(LyFormResultInterface client, LyRelationFieldInfo relation)
setRelationParent
in interface LyTransverseInterface
client
- the client of this actionrelation
- the relation fieldInfo which is updated as the result of the current action
(usually dynamic popup creation)public boolean setContext(LyWorkSpace context)
setContext
in interface LyContextInterface
setContext
in class LyAreaController
context
- Current context, or null if no context is set for the view
LyAreaController.setContext(LyWorkSpace)
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |