public interface IsField<T> extends IsWidget, LeafValueEditor<T>
Editor.Ignore, Editor.Path| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the value from the field.
|
void |
clearInvalid()
Clear any invalid styles / messages for this field.
|
boolean |
isValid(boolean preventMark)
Returns whether or not the field value is currently valid.
|
void |
reset()
Resets the current field value to the originally loaded value and clears
any validation messages.
|
boolean |
validate(boolean preventMark)
Validates the field value.
|
getValue, setValuevoid clear()
void clearInvalid()
void reset()
boolean isValid(boolean preventMark)
preventMark - true for silent validation (no invalid event and field
is not marked invalid)boolean validate(boolean preventMark)
preventMark - true to not mark the field valid and fire invalid event
when invalidCopyright © 2012. All Rights Reserved.