Class AutoCompletePopup<T>

  • All Implemented Interfaces:
    Styleable, EventTarget, Skinnable

    public class AutoCompletePopup<T>
    extends PopupControl
    The auto-complete-popup provides an list of available suggestions in order to complete current user input.
    • Constructor Detail

      • AutoCompletePopup

        public AutoCompletePopup()
        Creates a new AutoCompletePopup
    • Method Detail

      • getSuggestions

        public ObservableList<T> getSuggestions()
        Get the suggestions presented by this AutoCompletePopup
        Returns:
      • show

        public void show​(Node node)
        Show this popup right below the given Node
        Parameters:
        node -
      • setConverter

        public void setConverter​(StringConverter<T> converter)
        Set the string converter used to turn a generic suggestion into a string
      • getConverter

        public StringConverter<T> getConverter()
        Get the string converter used to turn a generic suggestion into a string
      • setVisibleRowCount

        public final void setVisibleRowCount​(int value)
        Sets the value of the property visibleRowCount.
        Property description:
        The maximum number of rows to be visible in the popup when it is showing. By default this value is 10, but this can be changed to increase or decrease the height of the popup.
      • getVisibleRowCount

        public final int getVisibleRowCount()
        Gets the value of the property visibleRowCount.
        Property description:
        The maximum number of rows to be visible in the popup when it is showing. By default this value is 10, but this can be changed to increase or decrease the height of the popup.
      • visibleRowCountProperty

        public final IntegerProperty visibleRowCountProperty()
        The maximum number of rows to be visible in the popup when it is showing. By default this value is 10, but this can be changed to increase or decrease the height of the popup.
        See Also:
        getVisibleRowCount(), setVisibleRowCount(int)