public abstract class AbstractListIntelliHints<T> extends AbstractIntelliHints<T>
AbstractListIntelliHints extends AbstractIntelliHints and further implement most of the methods in
interface IntelliHints. In this class, it assumes the hints can be represented as
a ListView, so it used ListView in the hints popup.autoPopupProperty, showHintsDelayPropertyPROPERTY_INTELLI_HINTS| Constructor and Description |
|---|
AbstractListIntelliHints(javafx.scene.control.TextInputControl textInputControl)
Creates a Completion for a TextInputControl
|
| Modifier and Type | Method and Description |
|---|---|
javafx.scene.Node |
createHintsNode()
Creates the node which contains hints.
|
protected javafx.scene.control.ListView<T> |
createListView()
Creates the list to display the hints.
|
javafx.scene.input.KeyCombination[] |
getDelegateKeyCombination()
Gets the delegate keystrokes.
|
javafx.scene.Node |
getDelegateNode()
Gets the delegate node in the hint popup.
|
protected javafx.scene.control.ListView<T> |
getListView()
Gets the list.
|
T |
getSelectedHint()
Gets the selected hint.
|
protected void |
setAvailableHints(javafx.collections.ObservableList<T> hints)
Sets the available hints.
|
acceptHint, addShowHintsKeyCombination, autoPopupProperty, createPopup, getAllShowHintsKeyStrokes, getContext, getIntelliHints, getShowHintsDelay, getShowHintsKeyCombination, getTextInputControl, hideHintsPopup, isAutoPopup, isHintsPopupVisible, isMultiline, removeShowHintKeyCombination, setAutoPopup, setHintsEnabled, setShowHintsDelay, showHints, showHintsDelayProperty, showHintsPopupclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitupdateHintspublic AbstractListIntelliHints(javafx.scene.control.TextInputControl textInputControl)
textInputControl - the control where the intelliHints will be installed to.public javafx.scene.Node createHintsNode()
IntelliHintsIntelliHints.updateHints(Object) will update the content.protected javafx.scene.control.ListView<T> createListView()
protected javafx.scene.control.ListView<T> getListView()
protected void setAvailableHints(javafx.collections.ObservableList<T> hints)
hints - the list of hintspublic T getSelectedHint()
IntelliHintsIntelliHints.acceptHint(Object).public javafx.scene.Node getDelegateNode()
AbstractIntelliHintsgetDelegateNode in class AbstractIntelliHints<T>public javafx.scene.input.KeyCombination[] getDelegateKeyCombination()
getDelegateKeyCombination in class AbstractIntelliHints<T>