Class ComboBoxListViewSkin<T>

All Implemented Interfaces:
Skin<ComboBoxBase<T>>

public class ComboBoxListViewSkin<T>
extends ComboBoxPopupControl<T>
Default skin implementation for the ComboBox control.
Since:
9
See Also:
ComboBox
  • Property Details

    • hideOnClick

      public final BooleanProperty hideOnClickProperty
      By default this skin hides the popup whenever the ListView is clicked in. By setting hideOnClick to false, the popup will not be hidden when the ListView is clicked in. This is beneficial in some scenarios (for example, when the ListView cells have checkboxes).
      See Also:
      isHideOnClick(), setHideOnClick(boolean)
  • Constructor Details

    • ComboBoxListViewSkin

      public ComboBoxListViewSkin​(ComboBox<T> control)
      Creates a new ComboBoxListViewSkin instance, installing the necessary child nodes into the Control children list, as well as the necessary input mappings for handling key, mouse, etc events.
      Parameters:
      control - The control that this skin should be installed onto.
  • Method Details

    • hideOnClickProperty

      public final BooleanProperty hideOnClickProperty()
      By default this skin hides the popup whenever the ListView is clicked in. By setting hideOnClick to false, the popup will not be hidden when the ListView is clicked in. This is beneficial in some scenarios (for example, when the ListView cells have checkboxes).
      See Also:
      isHideOnClick(), setHideOnClick(boolean)
    • isHideOnClick

      public final boolean isHideOnClick()
      Gets the value of the property hideOnClick.
      Property description:
      By default this skin hides the popup whenever the ListView is clicked in. By setting hideOnClick to false, the popup will not be hidden when the ListView is clicked in. This is beneficial in some scenarios (for example, when the ListView cells have checkboxes).
    • setHideOnClick

      public final void setHideOnClick​(boolean value)
      Sets the value of the property hideOnClick.
      Property description:
      By default this skin hides the popup whenever the ListView is clicked in. By setting hideOnClick to false, the popup will not be hidden when the ListView is clicked in. This is beneficial in some scenarios (for example, when the ListView cells have checkboxes).