|
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.LyFilterController
leon.control.LyMultiFilterController
public class LyMultiFilterController
This class implements the controller associated for the multi-filter action.
LyFilterController
,
LyMultiFilterBuilder
,
LyFilterEndInterface
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File Version. |
Fields inherited from class leon.control.LyFilterController |
---|
ID_DATE_NORMAL, ID_DAY, ID_MODIFIER_NOT, ID_NOW, ID_OPERATION_REMOVE, ID_TODAY, SELECT_CONDITION, SELECT_DATE_DAY_VALUE, SELECT_DATE_SPECIAL_VALUE, SELECT_FIELDINFO, SELECT_MODIFIERS, SELECT_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 | |
---|---|
LyMultiFilterController(LySession session,
LyController parent,
LyAction action,
LyClassInfo classInfo,
LyObjectList objects)
Constructor. |
Method Summary | |
---|---|
void |
actionDemand(LyActionDemand demand)
Invoked when an action occurs. |
LyFilter |
buildFilter(LyDemand demand)
Builds the filter from the data structure This methods extracts values typed in by the user and create the LyFilter instance. |
LyFieldController |
fieldControllerFactory(LyFieldInfo fieldInfo,
boolean forceConsult)
Factory for constructing the field controller of a field info. |
boolean |
hasCheckBoxes()
Utility method to know if a fieldInfo is displayed in this form or not. |
boolean |
isChecked(LyFieldInfo fieldInfo)
Indicates whether the form field corresponding to the given field info is checked or not. |
boolean |
isDisplayed(LyFieldInfo fieldInfo)
Utility method to know if a fieldInfo is displayed in this form or not. |
void |
reset(boolean full)
Reset all the content of the view. |
void |
setChecked(LyFieldInfo fieldInfo,
boolean checked)
Checks or unchecks the form field corresponding to the given field info. |
Methods inherited from class leon.control.LyFilterController |
---|
buildFilterElement, getComponent, getFormField, getUnit, isViewResizable, notifyFormResult, setObjects |
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, 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
Constructor Detail |
---|
public LyMultiFilterController(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 contextMethod Detail |
---|
public void actionDemand(LyActionDemand demand)
actionDemand
in class LyFilterController
demand
- the action demandLyController.demandPerformed(leon.view.event.LyDemand)
public boolean isChecked(LyFieldInfo fieldInfo)
fieldInfo
- the field info
public void setChecked(LyFieldInfo fieldInfo, boolean checked)
fieldInfo
- the field infochecked
- true if corresponding form field must be checked, false otherwise.public LyFilter buildFilter(LyDemand demand)
demand
- the demand which contains all values submited by the form.
public boolean isDisplayed(LyFieldInfo fieldInfo)
isDisplayed
in class LyFormController
fieldInfo
- the fieldInfo which is tested for addition in the view.
public final boolean hasCheckBoxes()
public LyFieldController fieldControllerFactory(LyFieldInfo fieldInfo, boolean forceConsult)
LyFormController
fieldControllerFactory
in class LyFormController
fieldInfo
- Field info for which a controller is built.forceConsult
- true to force consult mode
public void reset(boolean full)
LyFormController
reset
in class LyFormController
full
- Boolean indicating if a full reset (including reset of datas) is requiered or not
(only reset graphical area).
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |