Class AutoCompletePopupSkin<T>

    • Constructor Detail

      • AutoCompletePopupSkin

        public AutoCompletePopupSkin​(AutoCompletePopup<T> control,
                                     javafx.util.StringConverter<T> displayConverter)
        Parameters:
        control - The popup to be skinned
        displayConverter - An alternate 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(
      • 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 skinned
        cellFactory - Set a custom cell factory for the suggestions.
    • Method Detail

      • getNode

        public javafx.scene.Node getNode()
        Specified by:
        getNode in interface javafx.scene.control.Skin<T>
      • getSkinnable

        public AutoCompletePopup<T> getSkinnable()
        Specified by:
        getSkinnable in interface javafx.scene.control.Skin<T>
      • dispose

        public void dispose()
        Specified by:
        dispose in interface javafx.scene.control.Skin<T>