public class FindTextFieldSupport extends Object
Constructor and Description |
---|
FindTextFieldSupport() |
FindTextFieldSupport(boolean pSortSuggestionList) |
Modifier and Type | Method and Description |
---|---|
void |
addSuggestion(String pSuggestion)
If the suggestion already exists, it is moved to the beginning of the list.
|
javafx.beans.property.ObjectProperty<javafx.collections.ObservableList<String>> |
findSuggestionsProperty() |
javafx.collections.ObservableList<String> |
getFindSuggestions() |
javafx.scene.control.TextField |
getFindTextField() |
boolean |
isSuggestionAdditionEnabled() |
void |
setFindSuggestions(javafx.collections.ObservableList<String> pFindSuggestions) |
void |
setSuggestionAdditionEnabled(boolean pEnabled) |
javafx.beans.property.BooleanProperty |
suggestionAdditionEnabledProperty() |
public FindTextFieldSupport()
public FindTextFieldSupport(boolean pSortSuggestionList)
pSortSuggestionList
- determines whether the suggestion list should be sortedpublic javafx.scene.control.TextField getFindTextField()
public javafx.beans.property.ObjectProperty<javafx.collections.ObservableList<String>> findSuggestionsProperty()
public javafx.collections.ObservableList<String> getFindSuggestions()
public void setFindSuggestions(javafx.collections.ObservableList<String> pFindSuggestions)
public javafx.beans.property.BooleanProperty suggestionAdditionEnabledProperty()
public boolean isSuggestionAdditionEnabled()
public void setSuggestionAdditionEnabled(boolean pEnabled)
public void addSuggestion(String pSuggestion)
pSuggestion
- the suggestion to addCopyright © 2023. All rights reserved.