public class HasValueFieldBinding extends java.lang.Object implements ObjectChangedEventHandler
Constructor and Description |
---|
HasValueFieldBinding(HasValueChangeHandlers field) |
HasValueFieldBinding(HasValueChangeHandlers field,
java.lang.Object model,
ValueProvider vp) |
HasValueFieldBinding(HasValueChangeHandlers field,
java.lang.Object model,
ValueProvider vp,
Converter converter) |
Modifier and Type | Method and Description |
---|---|
void |
bind(java.lang.Object model,
ValueProvider vp) |
HasValueChangeHandlers |
getField() |
void |
onObjectChangedEvent(ObjectChangedEvent event) |
void |
onValueChange(ValueChangeEvent event) |
void |
unbind() |
void |
updateField() |
void |
updateModel()
Updates the model's value with the field value.
|
public HasValueFieldBinding(HasValueChangeHandlers field)
public HasValueFieldBinding(HasValueChangeHandlers field, java.lang.Object model, ValueProvider vp)
public HasValueFieldBinding(HasValueChangeHandlers field, java.lang.Object model, ValueProvider vp, Converter converter)
public void bind(java.lang.Object model, ValueProvider vp)
public void unbind()
public void updateModel()
public HasValueChangeHandlers getField()
public void onObjectChangedEvent(ObjectChangedEvent event)
onObjectChangedEvent
in interface ObjectChangedEventHandler
public void updateField()
public void onValueChange(ValueChangeEvent event)