public class StaticLabelProvider extends java.lang.Object implements FormFieldProviderHook
Constructor and Description |
---|
StaticLabelProvider() |
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.
|
Widget |
createFormField() |
void |
fireEvent(<any> event) |
java.lang.String |
getLabel() |
java.lang.String |
getStringValue(Widget field) |
java.lang.String |
getValue() |
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) |
public boolean consumes(java.lang.Class<?> type, SimpleFormFieldConfiguration... configs)
consumes
in interface FormFieldProviderHook
public boolean consumes(java.lang.String type, SimpleFormFieldJson config)
FormFieldProviderHook
consumes
in interface FormFieldProviderHook
public void init(java.lang.String name, SimpleForm form)
init
in interface FormFieldProviderHook
public Widget createFormField()
createFormField
in interface FormFieldProviderHook
public java.lang.String getLabel()
public java.lang.String getValue()
public void setValue(Widget field, java.lang.Object value)
setValue
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 Widget reload(Widget field)
reload
in interface FormFieldProviderHook
public HandlerRegistration addValueChangeHandler(ValueChangeHandler handler)
public void fireEvent(<any> event)
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 boolean isDecorateable()
isDecorateable
in interface FormFieldProviderHook
public void installBlankValidation(Widget field)
installBlankValidation
in interface FormFieldProviderHook