|
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 |
public interface LyFormInterface
This interface is provided to allow sub form controllers to be called when the form is validated or cancelled.
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File Version |
static short |
STATUS_CANCEL
Return codes for validate: Cancel |
static short |
STATUS_IGNORE
Return codes for validate: Ignore |
static short |
STATUS_KO
Return codes for validate: KO |
static short |
STATUS_OK
Return codes for validate: OK |
Method Summary | |
---|---|
void |
cancel()
Method called when the parent form is cancelled. |
boolean |
checkIfModified()
Checks if changes were done on current edition. |
void |
commit()
Method called when the whole modifications are committed. |
short |
control()
Method for controlling current edition. |
short |
endValidate()
Method called at the end of the parent form validation to complete the edition. |
LyValue |
getFieldValue(LyFieldInfo fieldInfo)
Extract current value for the specified fieldInfo in the form. |
void |
setEditable(boolean editable)
Set boolean indicating if the controlled form is editable or not. |
void |
setEnabled(boolean enabled)
Set boolean indicating if the controlled form is enabled or not. |
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 interface leon.control.LyControllerContextInterface |
---|
getControllerContext |
Field Detail |
---|
static final java.lang.String __VERSION
static final short STATUS_CANCEL
static final short STATUS_IGNORE
static final short STATUS_OK
static final short STATUS_KO
Method Detail |
---|
short startValidate()
short endValidate()
void commit()
void cancel()
short control()
boolean checkIfModified()
LyValue getFieldValue(LyFieldInfo fieldInfo)
fieldInfo
- fieldInfo associated to the requested value
void setEditable(boolean editable)
editable
- editable status.void setEnabled(boolean enabled)
enabled
- enabled status.
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |