| Modifier and Type | Field and Description |
|---|---|
| private final AutoCompletePopup | |
| pack-priv final int | |
| private final ListView |
| Access | Constructor and Description |
|---|---|
| public | |
| public | AutoCompletePopupSkin(AutoCompletePopup<T>
The popup to be skinned control, StringConverter<T> An alternate displayConverter)StringConverter to use. This way, you can show autocomplete suggestions
that when applied will fill in a different text than displayed. For example, you may preview
Files.newBufferedReader(Path: path) - Bufferedreader but only fill in
Files.newBufferedReader(
|
| public | AutoCompletePopupSkin(AutoCompletePopup<T>
The popup to be skinned control, Callback<ListView<T>, ListCell<T>> Set a custom cell factory for the suggestions. cellFactory)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | dispose()
Implements javafx. Called when a previously installed skin is about to be removed from its associated control. |
| public Node | |
| public AutoCompletePopup | getSkinnable()
Implements javafx. Gets the Skinnable to which this Skin is assigned. |
| private void | |
| private void |
| control | back to summary |
|---|---|
| private final AutoCompletePopup<T> control | |
| LIST_CELL_HEIGHT | back to summary |
|---|---|
| pack-priv final int LIST_CELL_HEIGHT | |
| suggestionList | back to summary |
|---|---|
| private final ListView<T> suggestionList | |
| AutoCompletePopupSkin | back to summary |
|---|---|
| public AutoCompletePopupSkin(AutoCompletePopup<T> control) | |
| AutoCompletePopupSkin | back to summary |
|---|---|
public AutoCompletePopupSkin(AutoCompletePopup<T> control, StringConverter<T> displayConverter)
| |
| AutoCompletePopupSkin | back to summary |
|---|---|
public AutoCompletePopupSkin(AutoCompletePopup<T> control, Callback<ListView<T>, ListCell<T>> cellFactory)
| |
| dispose | back to summary |
|---|---|
| public void dispose() Implements javafx. Doc from javafx. Called when a previously installed skin is about to be removed from its associated control.
This allows the skin to do clean up, like removing listeners and bindings, and undo any changes
to the control's properties.
After this method completes,
Calling
| |
| getNode | back to summary |
|---|---|
| public Node getNode() Implements javafx. Doc from javafx. Gets the Node which represents this Skin. This must never be null, except
after a call to
| |
| getSkinnable | back to summary |
|---|---|
| public AutoCompletePopup Implements javafx. Doc from javafx. Gets the Skinnable to which this Skin is assigned. A Skin must be created
for one and only one Skinnable. This value will only ever go from a
non-null to null value when the Skin is removed from the Skinnable, and
only as a consequence of a call to The caller who constructs a Skinnable must also construct a Skin and properly establish the relationship between the Control and its Skin.
| |
| onSuggestionChoosen | back to summary |
|---|---|
| private void onSuggestionChoosen(T suggestion) | |
| registerEventListener | back to summary |
|---|---|
| private void registerEventListener() | |