| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final Object | |
| private final BooleanProperty | showAllIfEmptyProperty
Tell the provider to show all suggestions if empty text given |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addPossibleSuggestions(T... newPossible)
Add the given new possible suggestions to this SuggestionProvider |
| public void | addPossibleSuggestions(Collection<T> newPossible)
Add the given new possible suggestions to this SuggestionProvider |
| public Collection | call(final AutoCompletionBinding.
Implements javafx. The |
| public void | |
| public static <T> SuggestionProvider | create(Collection<T>
All possible suggestions possibleSuggestions)Create a default suggestion provider based on the toString() method of the generic objects |
| public static <T> SuggestionProvider | create(Callback<T, String>
A stringConverter which converts generic T into a string stringConverter, Collection<T> All possible suggestions possibleSuggestions)Create a default suggestion provider based on the toString() method of the generic objects using the provided stringConverter |
| protected abstract Comparator | |
| protected abstract boolean | isMatch(T suggestion, AutoCompletionBinding.
Check the given possible suggestion is a match (is a valid suggestion) |
| public final boolean | Returns: the value of the propertyGets the value of the property showAllIfEmptyProperty |
| public final void | setShowAllIfEmpty(boolean
if true, the provider will show all suggestions if
empty text given showAllIfEmpty)Sets the value of the property showAllIfEmptyProperty |
| public final BooleanProperty |
| possibleSuggestions | back to summary |
|---|---|
| private final List<T> possibleSuggestions | |
| possibleSuggestionsLock | back to summary |
|---|---|
| private final Object possibleSuggestionsLock | |
| showAllIfEmptyProperty | back to summary |
|---|---|
| private final BooleanProperty showAllIfEmptyProperty Tell the provider to show all suggestions if empty text given
| |
| SuggestionProvider | back to summary |
|---|---|
| public SuggestionProvider() | |
| addPossibleSuggestions | back to summary |
|---|---|
| public void addPossibleSuggestions(T... newPossible) Add the given new possible suggestions to this SuggestionProvider | |
| addPossibleSuggestions | back to summary |
|---|---|
| public void addPossibleSuggestions(Collection<T> newPossible) Add the given new possible suggestions to this SuggestionProvider | |
| call | back to summary |
|---|---|
| public Collection Implements javafx. Doc from javafx. The
| |
| clearSuggestions | back to summary |
|---|---|
| public void clearSuggestions() Remove all current possible suggestions | |
| create | back to summary |
|---|---|
| public static <T> SuggestionProvider Create a default suggestion provider based on the toString() method of the generic objects
| |
| create | back to summary |
|---|---|
| public static <T> SuggestionProvider Create a default suggestion provider based on the toString() method of the generic objects using the provided stringConverter
| |
| getComparator | back to summary |
|---|---|
| protected abstract Comparator Get the comparator to order the suggestions | |
| isMatch | back to summary |
|---|---|
| protected abstract boolean isMatch(T suggestion, AutoCompletionBinding. Check the given possible suggestion is a match (is a valid suggestion) | |
| isShowAllIfEmpty | back to summary |
|---|---|
| public final boolean isShowAllIfEmpty() Gets the value of the property showAllIfEmptyProperty
| |
| setShowAllIfEmpty | back to summary |
|---|---|
| public final void setShowAllIfEmpty(boolean showAllIfEmpty) Sets the value of the property showAllIfEmptyProperty
| |
| showAllIfEmptyProperty | back to summary |
|---|---|
| public final BooleanProperty showAllIfEmptyProperty() Gets showAllIfEmptyProperty
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Comparator | |
| private Callback |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Comparator | getComparator()
Implements abstract impl. Get the comparator to order the suggestions |
| protected boolean | isMatch(T suggestion, AutoCompletionBinding.
Implements abstract impl. Check the given possible suggestion is a match (is a valid suggestion) |
| stringComparator | back to summary |
|---|---|
| private final Comparator<T> stringComparator | |
| stringConverter | back to summary |
|---|---|
| private Callback<T, String> stringConverter | |
| SuggestionProviderString | back to summary |
|---|---|
| public SuggestionProviderString(Callback<T, String> stringConverter) Create a new SuggestionProviderString | |
| getComparator | back to summary |
|---|---|
| protected Comparator Implements abstract impl. Doc from impl. Get the comparator to order the suggestions
| |
| isMatch | back to summary |
|---|---|
| protected boolean isMatch(T suggestion, AutoCompletionBinding. Implements abstract impl. Doc from impl. Check the given possible suggestion is a match (is a valid suggestion)
| |