Class AutoCompletePopupSkin<T>

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 Details

    • AutoCompletePopupSkin

      public AutoCompletePopupSkin(AutoCompletePopup<T> control)
    • 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 Details

    • 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>