|
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.LyDateFieldSetController
public class LyDateFieldSetController
Default field controller for a modification.
LySetController
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File version |
static java.lang.String |
DATE_TOOL
Name of the tranverse date tool. |
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 | |
---|---|
LyDateFieldSetController(LySetController parent,
LyFieldInfo fieldInfo)
Constructor. |
Method Summary | |
---|---|
void |
actionDemand(LyActionDemand demand)
Invoked when an action occurs. |
LyValue |
getFieldValue()
Extract current value for the specified fieldInfo in the form. |
LyValue |
getFieldValue(java.lang.String timeZone)
|
void |
setEditable(boolean editable)
Changes current field status to (non-)editable. |
void |
unitChanged(java.lang.String newTimeZone,
java.lang.String oldTimeZone)
Internal method for propagating a unit change. |
Methods inherited from class leon.control.form.LyFieldSetController |
---|
addTempFilePath, cancel, checkIfModified, clear, commit, completeValue, control, endValidate, getControllerContext, getDefaultBuilder, getFieldValue, getFinalValue, getLastValue, getModel, getParentFieldController, getSetController, getTransverseActions, getUnit, getValue, isCreation, isEditable, isEnabled, isOptional, reset, resetFromValue, restore, save, setEnabled, setFieldValue, setHidden, setInternal, setOptional, startValidate, update, updateFieldItem, updateViewContent, updateViewFromValues |
Methods inherited from class leon.control.form.LyFieldConsultController |
---|
isHidden, propagate, setLabel |
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, 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
public static final java.lang.String DATE_TOOL
Constructor Detail |
---|
public LyDateFieldSetController(LySetController parent, LyFieldInfo fieldInfo)
parent
- parent set controllerfieldInfo
- date 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 void setEditable(boolean editable)
LyFieldSetController
setEditable
in class LyFieldSetController
editable
- new fieldInfo status. (default is true or obtained from the view
description)LyFieldSetController.setEditable(boolean)
public void unitChanged(java.lang.String newTimeZone, java.lang.String oldTimeZone)
The LySetController additionaly impact the view using the setValid method.
unitChanged
in class LyFieldSetController
newTimeZone
- The new fieldinfo unit.oldTimeZone
- The old fieldinfo unit.public LyValue getFieldValue(java.lang.String timeZone)
public LyValue getFieldValue()
getFieldValue
in class LyFieldSetController
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |