| Modifier and Type | Field and Description |
|---|---|
| private StringConverter | converter
String converter to be used to convert suggestions to strings. |
| private final ChangeListener | |
| private final ChangeListener | textChangeListener
* Event Listeners * * |
| Access | Constructor and Description |
|---|---|
| public | AutoCompletionTextFieldBinding(final TextField textField, Callback<AutoCompletionBinding.
Creates a new auto-completion binding between the given textField and the given suggestion provider. |
| public | AutoCompletionTextFieldBinding(final TextField textField, Callback<AutoCompletionBinding.
Creates a new auto-completion binding between the given textField and the given suggestion provider. |
| Modifier and Type | Method and Description |
|---|---|
| protected void | completeUserInput(T completion)
Implements abstract org. Complete the current user-input with the provided completion. |
| private static <T> StringConverter | |
| public void | dispose()
Implements abstract org. Disposes the binding. |
| public TextField | getCompletionTarget()
Overrides org. Gets the target node for auto completion |
| converter | back to summary |
|---|---|
| private StringConverter<T> converter String converter to be used to convert suggestions to strings. | |
| focusChangedListener | back to summary |
|---|---|
| private final ChangeListener<Boolean> focusChangedListener | |
| textChangeListener | back to summary |
|---|---|
| private final ChangeListener<String> textChangeListener * Event Listeners * * | |
| AutoCompletionTextFieldBinding | back to summary |
|---|---|
| public AutoCompletionTextFieldBinding(final TextField textField, Callback<AutoCompletionBinding. Creates a new auto-completion binding between the given textField and the given suggestion provider. | |
| AutoCompletionTextFieldBinding | back to summary |
|---|---|
| public AutoCompletionTextFieldBinding(final TextField textField, Callback<AutoCompletionBinding. Creates a new auto-completion binding between the given textField and the given suggestion provider. | |
| completeUserInput | back to summary |
|---|---|
| protected void completeUserInput(T completion) Implements abstract org. Doc from org. Complete the current user-input with the provided completion. Sub-classes have to provide a concrete implementation.
| |
| defaultStringConverter | back to summary |
|---|---|
| private static <T> StringConverter * Static properties and methods * * | |
| dispose | back to summary |
|---|---|
| public void dispose() Implements abstract org. Doc from org. Disposes the binding.
| |
| getCompletionTarget | back to summary |
|---|---|
| public TextField getCompletionTarget() Overrides org. Doc from org. Gets the target node for auto completion
| |