|
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
public class LyFieldConsultController
Default field controller for a consultation.
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 | |
---|---|
LyFieldConsultController(LyFormController parent,
LyFieldInfo fieldInfo)
Constructor. |
Method Summary | |
---|---|
LyBuilder |
getDefaultBuilder()
Factory of the default builder for a controller. |
LyValue |
getFieldValue()
Extract current value for the specified fieldInfo in the form. |
LyInfoDataList<LyAction,LyClassInfo> |
getTransverseActions()
Get the transverse action associated to this field controller |
boolean |
isHidden()
Accessor to the hidden status of a field in the form. |
void |
propagate(java.lang.Object value)
Impact of a value change of a fieldInfo. |
void |
setHidden(boolean hidden)
Changes current field status to (non-)hidden. |
void |
setLabel(LyInfoLabel label,
boolean labelSet)
Changes the label for the specified fieldinfo. |
void |
update(LyFieldInfo origin,
boolean propagate,
boolean valueChange)
Utility method (internal use for behavior) to calculate formulas of fieldInfos. |
void |
updateFieldItem(java.lang.Object newValue,
java.lang.Object oldValue,
boolean propagate)
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 |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyFieldConsultController(LyFormController parent, LyFieldInfo fieldInfo)
parent
- parent controllerfieldInfo
- the field handled by this controllerMethod Detail |
---|
public LyBuilder getDefaultBuilder()
LyController
LyFieldController.getDefaultBuilder()
public void updateFieldItem(java.lang.Object newValue, java.lang.Object oldValue, boolean propagate)
updateFieldItem
in class LyFieldController
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.propagate
- Indicates whether the change is notified (propagated) to other fields or
not. Parameter not used at this levelLyFieldController.getFieldItem()
public void update(LyFieldInfo origin, boolean propagate, boolean valueChange)
origin
- the field that propagates the modificationpropagate
- Indicates whether the change is propagated to other fields.valueChange
- indicates whether the change occus due to a value changed eventLyFieldController.setFieldValue(java.lang.Object, boolean)
public void propagate(java.lang.Object value)
propagate
in class LyFieldController
value
- new Value of the field.LyClassBehavior.propagate(leon.control.LySetController, leon.data.LyFieldInfoValue)
public LyValue getFieldValue()
getFieldValue
in class LyFieldController
public void setHidden(boolean hidden)
hidden
- new fieldInfo visibility. (default is true)public boolean isHidden()
public void setLabel(LyInfoLabel label, boolean labelSet)
label
- the new labellabelSet
- true to use this label in editionpublic LyInfoDataList<LyAction,LyClassInfo> getTransverseActions()
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |