public interface FormFieldProviderHook extends Hook
Modifier and Type | Method and Description |
---|---|
void |
addFieldBindings(java.lang.Object model,
ValueProvider vp,
Widget field) |
boolean |
consumes(java.lang.Class<?> type,
SimpleFormFieldConfiguration... configs) |
boolean |
consumes(java.lang.String type,
SimpleFormFieldJson config)
Used to construct fields from a text based (e.g., json) config.
|
Widget |
createFormField() |
java.lang.String |
getStringValue(Widget field) |
java.lang.Object |
getValue(Widget field) |
void |
init(java.lang.String name,
SimpleForm form) |
void |
installBlankValidation(Widget field) |
boolean |
isDecorateable() |
Widget |
reload(Widget field) |
void |
removeFieldBindings(java.lang.Object model,
Widget field) |
void |
setValue(Widget field,
java.lang.Object value) |
boolean consumes(java.lang.Class<?> type, SimpleFormFieldConfiguration... configs)
boolean consumes(java.lang.String type, SimpleFormFieldJson config)
void init(java.lang.String name, SimpleForm form)
Widget createFormField()
void addFieldBindings(java.lang.Object model, ValueProvider vp, Widget field)
void removeFieldBindings(java.lang.Object model, Widget field)
java.lang.Object getValue(Widget field)
java.lang.String getStringValue(Widget field)
Widget reload(Widget field)
void setValue(Widget field, java.lang.Object value)
boolean isDecorateable()
void installBlankValidation(Widget field)