|
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.LyRelationFieldSetController
public class LyRelationFieldSetController
Field controller for modification of a simple relation.
LySetController
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 | |
---|---|
LyRelationFieldSetController(LySetController parent,
LyRelationFieldInfo fieldInfo)
Constructor. |
Method Summary | |
---|---|
void |
actionDemand(LyActionDemand demand)
Invoked when an action occurs. |
void |
clearViewCache()
Clears all cached data for this controller (especially the view and the component). |
void |
free()
Free this controller. |
java.lang.String |
getStringValue()
Extract current value for the specified fieldInfo in the form. |
void |
invokeTransverseAction(LyAction action,
LyClassInfo classInfo)
Internal method to invoke on a relation a transverse action for a given classInfo. |
void |
notifyFormResult(LyObject object,
LyRelationFieldInfo relationField)
Internal use. |
void |
setEditable(boolean editable)
Overridden to update transverse toolbar. |
Methods inherited from class leon.control.form.LyFieldSetController |
---|
addTempFilePath, cancel, checkIfModified, clear, commit, completeValue, control, endValidate, getControllerContext, getDefaultBuilder, getFieldValue, getFieldValue, getFinalValue, getLastValue, getModel, getParentFieldController, getSetController, getTransverseActions, getUnit, getValue, isCreation, isEditable, isEnabled, isOptional, reset, resetFromValue, restore, save, setEnabled, setFieldValue, setHidden, setInternal, setOptional, startValidate, 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, getAreaController, 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 |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyRelationFieldSetController(LySetController parent, LyRelationFieldInfo fieldInfo)
parent
- parent controllerfieldInfo
- relation field handled by this controllerMethod Detail |
---|
public void actionDemand(LyActionDemand demand)
actionDemand
in class LyFieldSetController
demand
- the action demandLyController.demandPerformed(leon.view.event.LyDemand)
public java.lang.String getStringValue()
public void setEditable(boolean editable)
setEditable
in class LyFieldSetController
editable
- the editable statuspublic void clearViewCache()
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.
clearViewCache
in class LyFieldController
public void free()
free
in class LyFieldController
public void notifyFormResult(LyObject object, LyRelationFieldInfo relationField)
notifyFormResult
in interface LyFormResultInterface
object
- newly created object. The new value of the relation fieldInfo.relationField
- the relationpublic void invokeTransverseAction(LyAction action, LyClassInfo classInfo)
invokeTransverseAction
in class LyFieldController
action
- Transverse action.classInfo
- Class info on which the action is applied.
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |