LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.control.form
Class LyFileFieldConsultController

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

public class LyFileFieldConsultController
extends LyFieldConsultController

Field controller for consultation of a LyFileFieldInfo.

See Also:
LyConsultController

Field Summary
static java.lang.String __VERSION
          File version
static java.lang.String BLOB_REF
          BLOB REF String
static java.lang.String LOCATION_REF
          LOCATION REF String
 
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
LyFileFieldConsultController(LyFormController parent, LyFileFieldInfo fileFieldInfo)
          Constructor.
 
Method Summary
 void actionDemand(LyActionDemand demand)
          Invoked when an action occurs.
 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.LyFieldConsultController
getDefaultBuilder, getFieldValue, getTransverseActions, isHidden, propagate, setHidden, setLabel, update, updateFieldItem
 
Methods inherited from class leon.control.form.LyFieldController
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

__VERSION

public static final java.lang.String __VERSION
File version

See Also:
Constant Field Values

LOCATION_REF

public static final java.lang.String LOCATION_REF
LOCATION REF String

See Also:
Constant Field Values

BLOB_REF

public static final java.lang.String BLOB_REF
BLOB REF String

See Also:
Constant Field Values
Constructor Detail

LyFileFieldConsultController

public LyFileFieldConsultController(LyFormController parent,
                                    LyFileFieldInfo fileFieldInfo)
Constructor.

Parameters:
parent - parent controller
fileFieldInfo - file field handled by this controller
Method Detail

actionDemand

public void actionDemand(LyActionDemand demand)
Invoked when an action occurs. At this level, the implementation manages hypertext navigation on file fieldInfo. Default invokes showLocation on the view manager to open a popup view.

Overrides:
actionDemand in class LyFieldController
Parameters:
demand - demand parameters sent by the view component.
See Also:
LyFormController.actionDemand(leon.view.event.LyActionDemand), LyController.demandPerformed(leon.view.event.LyDemand)

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.

(c) January 2013 - W4 S.A.

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