|
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.LyArrayTableFieldSetController
public class LyArrayTableFieldSetController
Field controller for modification of LyArrayFieldInfo in edit table mode.
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 | |
---|---|
LyArrayTableFieldSetController(LySetController parent,
LyArrayFieldInfo fieldInfo)
Constructor. |
Method Summary | |
---|---|
void |
actionDemand(LyActionDemand demand)
Invoked when an action occurs. |
void |
cancel()
Method called when editions is cancelled. |
void |
commit()
Method called when all modifications are committed. |
short |
control()
Method called for controlling current edition. |
short |
endValidate()
Method called at the end of the parent form validation to complete the edition. |
void |
free()
Free this field controller. |
LyFieldController |
getFieldController(int index)
Get the field controller at the given index. |
LyValue |
getFieldValue(LyUnit unit)
Extract current value for the specified fieldInfo in the form. |
void |
setEditable(boolean editable)
Changes current field status to (non-)editable. |
void |
setEnabled(boolean enabled)
Changes current field status to (non-)enabled. |
short |
startValidate()
Method called at the begining of the parent form validation to check if everything is ok before completing the edition. |
Methods inherited from class leon.control.form.LyFieldSetController |
---|
addTempFilePath, checkIfModified, clear, completeValue, getControllerContext, getDefaultBuilder, getFieldValue, getFinalValue, getLastValue, getModel, getParentFieldController, getSetController, getTransverseActions, getUnit, getValue, isCreation, isEditable, isEnabled, isOptional, reset, resetFromValue, restore, save, 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 |
---|
clearViewCache, getAction, getAreaController, getBehavior, getClassInfo, getComponent, getDefaultFieldUnit, getDefaultFieldUnit, getEnvironment, getFieldInfo, getFormController, getFormField, getFormField, getImage, getInfoLabel, getInfoLabel, getLabel, getObject, getState, getViewController, hasMark, invokeTransverseAction, 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 LyArrayTableFieldSetController(LySetController parent, LyArrayFieldInfo fieldInfo)
parent
- parent set controllerfieldInfo
- array field handled by this controllerMethod Detail |
---|
public LyFieldController getFieldController(int index)
getFieldController
in class LyFieldController
index
- the index
public void free()
free
in class LyFieldController
public void actionDemand(LyActionDemand demand)
actionDemand
in class LyFieldSetController
demand
- the action demandLyController.demandPerformed(leon.view.event.LyDemand)
public LyValue getFieldValue(LyUnit unit)
getFieldValue
in class LyFieldSetController
unit
- Unit of the value.
public void setEditable(boolean editable)
setEditable
in class LyFieldSetController
editable
- new fieldInfo status.public void setEnabled(boolean enabled)
setEnabled
in class LyFieldSetController
enabled
- new fieldInfo status.public short startValidate()
startValidate
in class LyFieldSetController
LyFormInterface
public short endValidate()
endValidate
in class LyFieldSetController
LyFormInterface
public void commit()
commit
in class LyFieldSetController
public void cancel()
cancel
in class LyFieldSetController
public short control()
control
in class LyFieldSetController
LyFormInterface
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |