TextField.
Note that this class is experimental and the API may change in future
releases. Note also that this class makes use of the CustomTextField
class.
CustomTextField
| Modifier and Type | Field and Description |
|---|---|
| private static final Duration |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static <T> AutoCompletionBinding | bindAutoCompletion(TextField
The textField, Callback<AutoCompletionBinding.TextField to which auto-completion shall be addedA suggestion-provider strategy to use suggestionProvider,The converter to be used to convert suggestions to strings converter)Create a new auto-completion binding between the given textField and the given suggestion provider. |
| public static <T> AutoCompletionBinding | Returns: The AutoCompletionBindingThe textField, Callback<AutoCompletionBinding.TextField to which auto-completion shall be addedA suggestion-provider strategy to use suggestionProviderCreate a new auto-completion binding between the given textField and the given suggestion provider. |
| public static <T> AutoCompletionBinding | Returns: The AutoCompletionBindingThe textField, T... TextField to which auto-completion shall be addedPossible auto-complete suggestions possibleSuggestions)Create a new auto-completion binding between the given |
| public static <T> AutoCompletionBinding | |
| public static PasswordField | createClearablePasswordField()
Creates a PasswordField that shows a clear button inside the PasswordField (on the right hand side of it) when text is entered by the user. |
| public static TextField | createClearableTextField()
Creates a TextField that shows a clear button inside the TextField (on the right hand side of it) when text is entered by the user. |
| private static void |
| FADE_DURATION | back to summary |
|---|---|
| private static final Duration FADE_DURATION | |
| TextFields | back to summary |
|---|---|
| private TextFields() | |
| bindAutoCompletion | back to summary |
|---|---|
| public static <T> AutoCompletionBinding Create a new auto-completion binding between the given textField and the
given suggestion provider.
The
| |
| bindAutoCompletion | back to summary |
|---|---|
| public static <T> AutoCompletionBinding Create a new auto-completion binding between the given textField and the
given suggestion provider.
The
| |
| bindAutoCompletion | back to summary |
|---|---|
| public static <T> AutoCompletionBinding Create a new auto-completion binding between the given
| |
| bindAutoCompletion | back to summary |
|---|---|
| public static <T> AutoCompletionBinding | |
| createClearablePasswordField | back to summary |
|---|---|
| public static PasswordField createClearablePasswordField() Creates a PasswordField that shows a clear button inside the PasswordField (on the right hand side of it) when text is entered by the user. | |
| createClearableTextField | back to summary |
|---|---|
| public static TextField createClearableTextField() Creates a TextField that shows a clear button inside the TextField (on the right hand side of it) when text is entered by the user. | |
| setupClearButtonField | back to summary |
|---|---|
| private static void setupClearButtonField(TextField inputField, ObjectProperty<Node> rightProperty) | |