Class SearchFieldPopupSkin<T>

java.lang.Object
com.dlsc.gemsfx.skins.SearchFieldPopupSkin<T>
Type Parameters:
T - the suggestion item type
All Implemented Interfaces:
javafx.scene.control.Skin<SearchFieldPopup<T>>

public class SearchFieldPopupSkin<T> extends Object implements javafx.scene.control.Skin<SearchFieldPopup<T>>
Skin for SearchFieldPopup.

The skin displays the search field suggestions in a sorted ListView and commits the selected suggestion on primary mouse clicks.

  • Constructor Details

    • SearchFieldPopupSkin

      public SearchFieldPopupSkin(SearchFieldPopup<T> control)
      Creates a new skin for the given search field popup.
      Parameters:
      control - the popup to skin
  • Method Details

    • getNode

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

      public SearchFieldPopup<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>