LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.data.datainterface
Interface LyFieldInfoControl

All Superinterfaces:
LyControlInterface
All Known Implementing Classes:
LyFormula, LyMvelFormula, LyWSFormula

public interface LyFieldInfoControl
extends LyControlInterface

Generic interface for all fieldInfo controls.


Field Summary
static java.lang.String __VERSION
          File version
 
Fields inherited from interface leon.data.datainterface.LyControlInterface
STATUS_ERROR, STATUS_OK, STATUS_WARNING
 
Method Summary
 short checkNewValue(LyControl control, LyObject object, LyFieldInfoValue newValue, LyArgument[] args)
          Dynamic check the value for the given field.
 

Field Detail

__VERSION

static final java.lang.String __VERSION
File version

See Also:
Constant Field Values
Method Detail

checkNewValue

short checkNewValue(LyControl control,
                    LyObject object,
                    LyFieldInfoValue newValue,
                    LyArgument[] args)
Dynamic check the value for the given field. This method is called when there is a modification of the field in the user interface (Value changed, focus lost...).

Parameters:
control - the description of the control.
object - the modified object.
newValue - field info value to check. This parameter cannot be null.
args - the list of arguments specified in the XML description of the control
Returns:
STATUS_ERROR if the control raises an error STATUS_WARNING if the control raises a warning STATUS_OK if the control is correct All other positive short values for user specific warning level.

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com