leon.control.form
Class LyChoiceFieldConsultController
java.lang.Object
leon.control.LyController
leon.control.form.LyFieldController
leon.control.form.LyFieldConsultController
leon.control.form.LyChoiceFieldConsultController
- All Implemented Interfaces:
- LyGetSessionInterface, LyGuiListener, LyEvaluator, LyDemandListener
public class LyChoiceFieldConsultController
- extends LyFieldConsultController
Field controller for consultation of LyChoiceFieldInfo.
- See Also:
LyConsultController
Field Summary |
static java.lang.String |
__VERSION
File version |
Method Summary |
void |
propagate(java.lang.Object value)
Impact of a value change of a fieldInfo. |
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.LyFieldController |
actionDemand, clearViewCache, free, getAction, getAreaController, getBehavior, getClassInfo, getComponent, getDefaultFieldUnit, getDefaultFieldUnit, getEnvironment, getFieldController, getFieldInfo, getFormController, getFormField, getFormField, getImage, getInfoLabel, getInfoLabel, getLabel, getObject, getState, getViewController, hasMark, invokeTransverseAction, 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 |
__VERSION
public static final java.lang.String __VERSION
- File version
- See Also:
- Constant Field Values
LyChoiceFieldConsultController
public LyChoiceFieldConsultController(LyFormController parent,
LyChoiceFieldInfo fieldInfo)
- Constructor.
- Parameters:
parent
- parent controllerfieldInfo
- choice field handled by this controller
updateValue
public void updateValue(java.lang.Object newValue,
java.lang.Object oldValue)
- Update the value of a fieldInfo shown in the view.
- Parameters:
newValue
- the new value of the field.oldValue
- former value of the field,or null if unknown.
propagate
public void propagate(java.lang.Object value)
- Impact of a value change of a fieldInfo. The method invokes LyClassBehavior.propagate which
may be used to implement specific impact on a value changed. This method is for internal use,
application should use setFieldValue instead.
- Overrides:
propagate
in class LyFieldConsultController
- Parameters:
value
- new Value of the field.- See Also:
LyClassBehavior.propagate(leon.control.LySetController, leon.data.LyFieldInfoValue)
Website: W4 S.A., contact us: support@w4global.com