public abstract class FormFieldProviderHookImpl extends java.lang.Object implements FormFieldProviderHook
Constructor and Description |
---|
FormFieldProviderHookImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addFieldBindings(java.lang.Object model,
ValueProvider vp,
Widget field) |
HandlerRegistration |
addValueChangeHandler(ValueChangeHandler handler) |
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.
|
abstract Widget |
createFormField() |
abstract boolean |
doConsumes(java.lang.Class<?> type,
SimpleFormFieldConfiguration... configs) |
boolean |
doConsumes(java.lang.String type,
SimpleFormFieldJson config) |
void |
fireEvent(<any> event) |
SimpleFormFieldConfiguration[] |
getConfigs() |
SimpleForm |
getForm() |
java.lang.String |
getName() |
java.lang.String |
getStringValue(Widget field) |
java.lang.Class<?> |
getType() |
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 object) |
public java.lang.String getName()
public java.lang.Class<?> getType()
public SimpleForm getForm()
public SimpleFormFieldConfiguration[] getConfigs()
public boolean consumes(java.lang.Class<?> type, SimpleFormFieldConfiguration... configs)
consumes
in interface FormFieldProviderHook
public final boolean consumes(java.lang.String type, SimpleFormFieldJson config)
FormFieldProviderHook
consumes
in interface FormFieldProviderHook
public boolean doConsumes(java.lang.String type, SimpleFormFieldJson config)
public abstract boolean doConsumes(java.lang.Class<?> type, SimpleFormFieldConfiguration... configs)
public void init(java.lang.String name, SimpleForm form)
init
in interface FormFieldProviderHook
public abstract Widget createFormField()
createFormField
in interface FormFieldProviderHook
public java.lang.Object getValue(Widget field)
getValue
in interface FormFieldProviderHook
public java.lang.String getStringValue(Widget field)
getStringValue
in interface FormFieldProviderHook
public void setValue(Widget field, java.lang.Object object)
setValue
in interface FormFieldProviderHook
public void addFieldBindings(java.lang.Object model, ValueProvider vp, Widget field)
addFieldBindings
in interface FormFieldProviderHook
public void removeFieldBindings(java.lang.Object model, Widget field)
removeFieldBindings
in interface FormFieldProviderHook
public Widget reload(Widget field)
reload
in interface FormFieldProviderHook
public HandlerRegistration addValueChangeHandler(ValueChangeHandler handler)
public void fireEvent(<any> event)
public boolean isDecorateable()
isDecorateable
in interface FormFieldProviderHook
public void installBlankValidation(Widget field)
installBlankValidation
in interface FormFieldProviderHook