LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.control.form
Class LyStructInArraySetController

java.lang.Object
  extended by leon.control.LyController
      extended by leon.control.form.LyFieldController
          extended by leon.control.form.LyFieldConsultController
              extended by leon.control.form.LyFieldSetController
                  extended by leon.control.form.LyCompositionFieldSetController
                      extended by leon.control.form.LyStructInArraySetController
All Implemented Interfaces:
LyGetSessionInterface, LyControllerContextInterface, LyFormResultInterface, LyGuiListener, LyEvaluator, LyDemandListener

public class LyStructInArraySetController
extends LyCompositionFieldSetController

Field controller for a modification of an array of composition relation.

See Also:
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
LyStructInArraySetController(LySetController parent, LyArrayFieldInfo array, LyStructFieldInfo structRelation)
          Constructor.
 
Method Summary
 void commit()
          Method called when all modifications are committed.
 void free()
          Free this field controller.
 LyValue getFieldValue()
          Extract current value for the specified fieldInfo in the form.
 
Methods inherited from class leon.control.form.LyCompositionFieldSetController
actionDemand, cancel, checkIfModified, clearViewCache, control, endValidate, 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, updateFieldItem, updateViewContent, updateViewFromValues
 
Methods inherited from class leon.control.form.LyFieldConsultController
isHidden, propagate, setLabel
 
Methods inherited from class leon.control.form.LyFieldController
getAction, getBehavior, getClassInfo, getComponent, getDefaultFieldUnit, getDefaultFieldUnit, getEnvironment, getFieldController, getFieldInfo, getFormController, getFormField, 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

__VERSION

public static final java.lang.String __VERSION
File version

See Also:
Constant Field Values
Constructor Detail

LyStructInArraySetController

public LyStructInArraySetController(LySetController parent,
                                    LyArrayFieldInfo array,
                                    LyStructFieldInfo structRelation)
Constructor.

Parameters:
parent - The parent controller
array - the array field
structRelation - the struct field
Method Detail

getFieldValue

public LyValue getFieldValue()
Extract current value for the specified fieldInfo in the form.

Overrides:
getFieldValue in class LyCompositionFieldSetController
Returns:
current value, or null if not found or field is disabled.

free

public void free()
Free this field controller.

Overrides:
free in class LyCompositionFieldSetController

commit

public void commit()
Method called when all modifications are committed.

Overrides:
commit in class LyCompositionFieldSetController

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com