|
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.form.LyFieldController
leon.control.form.LyFieldConsultController
leon.control.form.LyRelationFieldConsultController
public class LyRelationFieldConsultController
Field controller for consultation of a simple relation.
LyConsultController
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File version |
Fields inherited from class leon.control.form.LyFieldController |
---|
FORM_FIELD_SEP, OLD_FORM_FIELD_SEP |
Fields inherited from class leon.control.LyController |
---|
_nbControllers, _nextId, CONTROLLER_ID_SEP, DEFAULT_IMAGE_FORMAT, DEMAND_HELP, ID_SEP |
Constructor Summary | |
---|---|
LyRelationFieldConsultController(LyFormController parent,
LyRelationFieldInfo fieldInfo)
Constructor. |
Method Summary | |
---|---|
void |
actionDemand(LyActionDemand demand)
Invoked when an action occurs. |
LyObjectList |
getObjects()
Get objects in the relation field to invoke actions for instance |
LyInfoDataList<LyAction,LyClassInfo> |
getTransverseActions()
Get the transverse action associated to this field controller |
void |
invokeTransverseAction(LyAction action,
LyClassInfo classInfo)
Internal method to invoke on a relation a transverse action for a given classInfo. |
void |
updateValue(java.lang.Object newValue,
java.lang.Object oldValue)
Update the value of a fieldInfo shown in the view. |
Methods inherited from class leon.control.form.LyFieldConsultController |
---|
getDefaultBuilder, getFieldValue, isHidden, propagate, setHidden, setLabel, update, updateFieldItem |
Methods inherited from class leon.control.form.LyFieldController |
---|
clearViewCache, free, getAction, getAreaController, getBehavior, getClassInfo, getComponent, getDefaultFieldUnit, getDefaultFieldUnit, getEnvironment, getFieldController, getFieldInfo, getFormController, getFormField, getFormField, getImage, getInfoLabel, getInfoLabel, getLabel, getObject, getState, getViewController, hasMark, isIdle, menuDemand, resetFromValue, restore, save, setAreaNoScroll, setFieldValue, setFieldValue, setFormField, setState, toString |
Methods inherited from class leon.control.LyController |
---|
activateViewDemand, demandPerformed, dragDropDemand, getApplication, getBehaviorInterface, getBuilder, getClassInfo, getId, getImage, getImage, getImage, getImageFromPrefix, getImageFromPrefix, getImageFromPrefix, getKeyValue, getLastModified, getName, getObjectId, getParent, getSession, getUserData, getView, getViewManager, hasViewController, helpDemand, hideView, hideView, isFreed, selectionDemand, setBuilder, setBuilderClass, setIdle, setLastModified, setName, setUserData, showError, showError, showView, 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 LyRelationFieldConsultController(LyFormController parent, LyRelationFieldInfo fieldInfo)
parent
- parent controllerfieldInfo
- relation field handled by this controllerMethod Detail |
---|
public void actionDemand(LyActionDemand demand)
actionDemand
in class LyFieldController
demand
- demand parameters sent by the view component.LyFormController.actionDemand(leon.view.event.LyActionDemand)
,
LyController.demandPerformed(leon.view.event.LyDemand)
public void updateValue(java.lang.Object newValue, java.lang.Object oldValue)
newValue
- the new value of the field.oldValue
- former value of the field,or null if unknown. This parameter is not used
within generic code.LyFieldConsultController.updateFieldItem(Object, Object, boolean)
public LyObjectList getObjects()
public void invokeTransverseAction(LyAction action, LyClassInfo classInfo)
invokeTransverseAction
in class LyFieldController
action
- Transverse action.classInfo
- Class info on which the action is applied.public LyInfoDataList<LyAction,LyClassInfo> getTransverseActions()
getTransverseActions
in class LyFieldConsultController
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |