leon.control.form
Class LyRelationFieldFilterController
java.lang.Object
leon.control.LyController
leon.control.form.LyFieldController
leon.control.form.LyRelationFieldController
leon.control.form.LyRelationFieldFilterController
- All Implemented Interfaces:
- LyGetSessionInterface, LyFormResultInterface, LyGuiListener, LyEvaluator, LyDemandListener
public class LyRelationFieldFilterController
- extends LyRelationFieldController
- implements LyFormResultInterface
Field controller for modification of a simple relation.
- See Also:
LySetController
Field Summary |
static java.lang.String |
__VERSION
File version |
Methods inherited from class leon.control.form.LyFieldController |
actionDemand, getAction, getAreaController, getBehavior, getClassInfo, getComponent, getDefaultFieldUnit, getDefaultFieldUnit, getEnvironment, getFieldController, getFieldInfo, getFieldValue, getFormController, getFormField, getFormField, getImage, getInfoLabel, getInfoLabel, getLabel, getObject, getState, getViewController, hasMark, isIdle, menuDemand, propagate, resetFromValue, restore, save, setAreaNoScroll, setFieldValue, setFieldValue, setFormField, setState, toString, updateFieldItem |
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 |
__VERSION
public static final java.lang.String __VERSION
- File version
- See Also:
- Constant Field Values
LyRelationFieldFilterController
public LyRelationFieldFilterController(LyAreaController parent,
LyRelationFieldInfo fieldInfo)
- Constructor.
- Parameters:
parent
- parent controllerfieldInfo
- relation field handled by this controller
clearViewCache
public void clearViewCache()
- Clears all cached data for this controller (especially the view and the component).
This method may be invoked for memory optimization, but the controller is still valid and
may be used. (Unlike free) Further usage, needs to rebuild internal component & view which
may be time consuming.
- Overrides:
clearViewCache
in class LyFieldController
free
public void free()
- Free this controller.
- Overrides:
free
in class LyFieldController
notifyFormResult
public void notifyFormResult(LyObject object,
LyRelationFieldInfo relationField)
- Internal use. When an object is created in a popup creation form for a relation, the child
controller invokes this method to set the newly created object as the current value of the
relation (if a new object is created we automatically select this value). This method is
never used by the application : use setFieldValue instead
- Specified by:
notifyFormResult
in interface LyFormResultInterface
- Parameters:
object
- newly created object. The new value of the relation fieldInfo.relationField
- the relation
Website: W4 S.A., contact us: support@w4global.com