PropertyType - the type of the property genericpublic static class UiBinding.TextAreaAdapter<PropertyType> extends UiBinding.ComponentAdapter<PropertyType,TextArea>
toComponentType, toPropertyType| Constructor and Description |
|---|
TextAreaAdapter()
Constructs a new binding assuming a String property
|
TextAreaAdapter(UiBinding.ObjectConverter toPropertyType)
Constructs a new binding
|
| Modifier and Type | Method and Description |
|---|---|
void |
assignTo(PropertyType value,
TextArea cmp)
Assigns the value from the property into the component
|
void |
bindListener(TextArea cmp,
ActionListener<ActionEvent> l)
Binds an action listener to changes in the component
|
PropertyType |
getFrom(TextArea cmp)
Returns the value for the set method of the property from the given component
|
void |
removeListener(TextArea cmp,
ActionListener<ActionEvent> l)
Removes the action listener from changes in the component
|
public TextAreaAdapter(UiBinding.ObjectConverter toPropertyType)
toPropertyType - the conversion logic to the propertypublic TextAreaAdapter()
public void assignTo(PropertyType value, TextArea cmp)
UiBinding.ComponentAdapterassignTo in class UiBinding.ComponentAdapter<PropertyType,TextArea>value - the value that was returned from the property get methodcmp - the component instancepublic PropertyType getFrom(TextArea cmp)
UiBinding.ComponentAdaptergetFrom in class UiBinding.ComponentAdapter<PropertyType,TextArea>cmp - the componentpublic void bindListener(TextArea cmp, ActionListener<ActionEvent> l)
UiBinding.ComponentAdapterbindListener in class UiBinding.ComponentAdapter<PropertyType,TextArea>cmp - the componentl - listenerpublic void removeListener(TextArea cmp, ActionListener<ActionEvent> l)
UiBinding.ComponentAdapterremoveListener in class UiBinding.ComponentAdapter<PropertyType,TextArea>cmp - the componentl - listener