LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.control.form
Class LyCompositionFieldUnitConsultController

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.LyCompositionFieldUnitConsultController
All Implemented Interfaces:
LyGetSessionInterface, LyGuiListener, LyEvaluator, LyDemandListener

public class LyCompositionFieldUnitConsultController
extends LyFieldConsultController

Field controller for a modification of a simple composition relation.

See Also:
LySetController

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
LyCompositionFieldUnitConsultController(LyConsultController parent, LyRelationFieldInfo fieldInfo)
          Constructor.
 
Method Summary
 LyAreaController getAreaController()
          Gets the specific areaController for the given field info.
 LyClassInfo getFieldType()
          Gets the classInfo of the object pointed by the relation in the current form.
 void setFormField(LyFormField formField)
          Sets formField.
 
Methods inherited from class leon.control.form.LyFieldConsultController
getDefaultBuilder, getFieldValue, getTransverseActions, isHidden, propagate, setHidden, setLabel, update, updateFieldItem
 
Methods inherited from class leon.control.form.LyFieldController
actionDemand, clearViewCache, free, getAction, 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, 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

__VERSION

public static final java.lang.String __VERSION
File version

See Also:
Constant Field Values
Constructor Detail

LyCompositionFieldUnitConsultController

public LyCompositionFieldUnitConsultController(LyConsultController parent,
                                               LyRelationFieldInfo fieldInfo)
Constructor.

Parameters:
parent - parent consult controller
fieldInfo - relation field handled by this controller
Method Detail

getAreaController

public LyAreaController getAreaController()
Gets the specific areaController for the given field info.

Overrides:
getAreaController in class LyFieldController
Returns:
Area controller corresponding to the given field info, null in most cases.

getFieldType

public LyClassInfo getFieldType()
Gets the classInfo of the object pointed by the relation in the current form.

Returns:
The classInfo of the object pointed by the relation in the current form.

setFormField

public void setFormField(LyFormField formField)
Sets formField. Called by LyFormFieldBuilder to avoid loops. Reserved for internal use.

Overrides:
setFormField in class LyFieldController
Parameters:
formField - the form field to use

(c) January 2013 - W4 S.A.

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