- java.lang.Object
-
- impl.org.controlsfx.skin.AutoCompletePopupSkin<T>
-
- All Implemented Interfaces:
javafx.scene.control.Skin<AutoCompletePopup<T>>
public class AutoCompletePopupSkin<T> extends Object implements javafx.scene.control.Skin<AutoCompletePopup<T>>
-
-
Constructor Summary
Constructors Constructor Description AutoCompletePopupSkin(AutoCompletePopup<T> control)
AutoCompletePopupSkin(AutoCompletePopup<T> control, javafx.util.Callback<javafx.scene.control.ListView<T>,javafx.scene.control.ListCell<T>> cellFactory)
AutoCompletePopupSkin(AutoCompletePopup<T> control, javafx.util.StringConverter<T> displayConverter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
javafx.scene.Node
getNode()
AutoCompletePopup<T>
getSkinnable()
-
-
-
Constructor Detail
-
AutoCompletePopupSkin
public AutoCompletePopupSkin(AutoCompletePopup<T> control)
-
AutoCompletePopupSkin
public AutoCompletePopupSkin(AutoCompletePopup<T> control, javafx.util.StringConverter<T> displayConverter)
- Parameters:
control
- The popup to be skinneddisplayConverter
- An alternateStringConverter
to use. This way, you can show autocomplete suggestions that when applied will fill in a different text than displayed. For example, you may previewFiles.newBufferedReader(Path: path) - Bufferedreader
but only fill inFiles.newBufferedReader(
-
AutoCompletePopupSkin
public AutoCompletePopupSkin(AutoCompletePopup<T> control, javafx.util.Callback<javafx.scene.control.ListView<T>,javafx.scene.control.ListCell<T>> cellFactory)
- Parameters:
control
- The popup to be skinnedcellFactory
- Set a custom cell factory for the suggestions.
-
-
Method Detail
-
getNode
public javafx.scene.Node getNode()
- Specified by:
getNode
in interfacejavafx.scene.control.Skin<T>
-
getSkinnable
public AutoCompletePopup<T> getSkinnable()
- Specified by:
getSkinnable
in interfacejavafx.scene.control.Skin<T>
-
dispose
public void dispose()
- Specified by:
dispose
in interfacejavafx.scene.control.Skin<T>
-
-