|
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.LyFieldSetController
leon.control.form.LyCompositionFieldSetController
leon.control.form.LyCompositionArrayFieldSetController
public class LyCompositionArrayFieldSetController
Field controller for a modification of an array of composition relation.
LyFieldSetController
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File version |
Fields inherited from class leon.control.form.LyFieldSetController |
---|
STANDARD_ARRAY_TOOL, STANDARD_CLASSINFO, TRANSVERSE_ACTION_SEP |
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 | |
---|---|
LyCompositionArrayFieldSetController(LySetController parent,
LyArrayFieldInfo array,
LyStructFieldInfo relation)
Constructor. |
Method Summary | |
---|---|
void |
actionDemand(LyActionDemand demand)
Invoked when an action occurs. |
boolean |
checkIfModified()
Checks if the value for the fieldInfo has been modified. |
LyArrayFieldInfo |
getArray()
Get the array fieldInfo associated to the controller. |
LyValue |
getFieldValue()
Extract current value for the specified fieldInfo in the form. |
LyFormField |
getFormField()
Accessor to the formField (View component) associated to the fieldInfo. |
void |
propagate(java.lang.Object value)
Impact of a value change of a fieldInfo. |
void |
updateFieldItem(java.lang.Object newValue,
java.lang.Object oldValue,
boolean propagate)
Internal use : update the value of a fieldInfo in the form. |
Methods inherited from class leon.control.form.LyCompositionFieldSetController |
---|
cancel, clearViewCache, commit, control, endValidate, free, getAreaController, getFieldType, getFieldValue, invokeTransverseAction, notifyFormResult, reset, resetFromValue, restore, save, setEditable, setEnabled, startValidate |
Methods inherited from class leon.control.form.LyFieldSetController |
---|
addTempFilePath, clear, completeValue, getControllerContext, getDefaultBuilder, getFinalValue, getLastValue, getModel, getParentFieldController, getSetController, getTransverseActions, getUnit, getValue, isCreation, isEditable, isEnabled, isOptional, setFieldValue, setHidden, setInternal, setOptional, unitChanged, update, updateViewContent, updateViewFromValues |
Methods inherited from class leon.control.form.LyFieldConsultController |
---|
isHidden, setLabel |
Methods inherited from class leon.control.form.LyFieldController |
---|
getAction, getBehavior, getClassInfo, getComponent, getDefaultFieldUnit, getDefaultFieldUnit, getEnvironment, getFieldController, getFieldInfo, getFormController, getFormField, getImage, getInfoLabel, getInfoLabel, getLabel, getObject, getState, getViewController, hasMark, isIdle, menuDemand, setAreaNoScroll, 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 |
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 LyCompositionArrayFieldSetController(LySetController parent, LyArrayFieldInfo array, LyStructFieldInfo relation)
parent
- parent set controllertarray
- array fieldrelation
- relationfieldMethod Detail |
---|
public void actionDemand(LyActionDemand demand)
LyCompositionFieldSetController
actionDemand
in class LyCompositionFieldSetController
demand
- the action demandLyCompositionFieldSetController.actionDemand(leon.view.event.LyActionDemand)
public LyFormField getFormField()
getFormField
in class LyFieldController
public LyValue getFieldValue()
getFieldValue
in class LyCompositionFieldSetController
public void propagate(java.lang.Object value)
propagate
in class LyFieldConsultController
value
- new Value of the field.LyClassBehavior.propagate(leon.control.LySetController, leon.data.LyFieldInfoValue)
public boolean checkIfModified()
checkIfModified
in class LyCompositionFieldSetController
public LyArrayFieldInfo getArray()
getArray
in interface LyGetArrayInterface
public void updateFieldItem(java.lang.Object newValue, java.lang.Object oldValue, boolean propagate)
updateFieldItem
in class LyFieldSetController
newValue
- the new value of the field. This value may be null, a LyValue instance or
the internal value associated to thge fieldInfo. See LyValue.getValue()oldValue
- the latest value of the field. This value may be null, a LyValue instance or
the internal value associated to thge fieldInfo. See LyValue.getValue()propagate
- Indicates whether the change is notified (propagated) to other fields or
not. This is useless if you reset all fields for instance.LyFieldSetController.setFieldValue(leon.data.LyValue, boolean)
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |