|
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.LyMultiAreaController
leon.control.LyFormController
leon.control.LySimpleFilterController
leon.control.LyFilterCriterionController
public class LyFilterCriterionController
This class implements the criterion filter edition area. This form enables the user to choose a filter criterion.
This controller is associated to a behavior which implements LyFilterBehaviorInterface. Usually the behavior is an instance of LyClassBehavior.
LyFilterEditorController
,
LyFilterEndInterface
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File Version |
static java.lang.String |
SELECT_CRITERION
Identifier of an input field : user specified value. |
Fields inherited from class leon.control.LyFormController |
---|
DEMAND_APPLY, DEMAND_NEXT_OBJECT, DEMAND_NEXT_STEP, DEMAND_PREVIOUS_OBJECT, DEMAND_PREVIOUS_STEP, DEMAND_SAVE, DEMAND_SELECTION, DEMAND_VALIDATE, FORM_FIELD_SEP |
Fields inherited from class leon.control.LyAreaController |
---|
DEFAULT_MENU_ITEM_IMAGE_SIZE, DEMAND_CANCEL, DEMAND_CLOSE, DEMAND_CREATE_CHART, DEMAND_DELETE_CHART, DEMAND_DELETE_OBJECTINFOS, DEMAND_DELETE_PREFERENCE, DEMAND_UPDATE_VIEW |
Fields inherited from class leon.control.LyController |
---|
_nbControllers, _nextId, CONTROLLER_ID_SEP, DEFAULT_IMAGE_FORMAT, DEMAND_HELP, ID_SEP |
Constructor Summary | |
---|---|
LyFilterCriterionController(LySession session,
LyController parent,
LyAction action,
LyClassInfo classInfo,
LyObjectList objects)
Constructor. |
Method Summary | |
---|---|
void |
actionDemand(LyActionDemand demand)
Invoked when an action notification is sent to this listener. |
boolean |
isViewResizable()
Indicates if the view for this import controller is resizable. |
boolean |
setObjects(LyObjectList objects)
Accessor to the list of objects associated with this form. |
Methods inherited from class leon.control.LySimpleFilterController |
---|
checkIfModified, getBehaviorInterface, getDefaultFilter, getFilterEndInterface, setContextClient, setFilterEndInterface |
Methods inherited from class leon.control.LyController |
---|
activateViewDemand, demandPerformed, dragDropDemand, getApplication, getClassInfo, getComponent, getId, getImage, getImage, getImage, getImageFromPrefix, getImageFromPrefix, getImageFromPrefix, getName, getObjectId, getSession, getUserData, getView, getViewManager, helpDemand, hideView, isFreed, isIdle, selectionDemand, setBuilder, setBuilderClass, setLastModified, setName, setUserData, 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 SELECT_CRITERION
Constructor Detail |
---|
public LyFilterCriterionController(LySession session, LyController parent, LyAction action, LyClassInfo classInfo, LyObjectList objects)
session
- current session associated to the controller. The controller automatically
registers on the specified session.parent
- parent controller. If the parent implements LyFilterEndInterface, it will be
notified when the filter form is closed.action
- related action. (action based on '_filter' action)classInfo
- the application class associated to the filterobjects
- current context for this actionMethod Detail |
---|
public void actionDemand(LyActionDemand demand)
method implements VALIDATE, APPLY and CANCEL action events and subsequently invoke endFilter on the client.
Additionally, the controller handles field changes and impact on form content.
actionDemand
in class LyFormController
demand
- demand parameters sent by the view component.LyController.demandPerformed(leon.view.event.LyDemand)
public boolean isViewResizable()
isViewResizable
in class LyFormController
public boolean setObjects(LyObjectList objects)
setObjects
in class LyFormController
objects
- list of objects which could be shown in the form.
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |