Class VirtualGridControl

    • Constructor Detail

      • VirtualGridControl

        public VirtualGridControl()
        Constructs a new virtual grid control.
        Since:
        1.0
    • Method Detail

      • noGridTextProperty

        public final StringProperty noGridTextProperty()
        Returns the property used for managing the text shown by the "no grid" button.
        Returns:
        the "no grid" text
        Since:
        1.3
      • setNoGridText

        public final void setNoGridText​(String text)
        Sets the value of noGridTextProperty().
        Parameters:
        text - the text shown by the "no grid" option.
        Since:
        1.3
      • getNoGridText

        public final String getNoGridText()
        Returns the value of noGridTextProperty().
        Returns:
        the text shown by the "no grid" option
        Since:
        1.3
      • showNoGridOptionProperty

        public final BooleanProperty showNoGridOptionProperty()
        Controls whether the control should present an option to the user to disable the grid completely.
        Returns:
        a property used for controlling the visibility of the "no grid" option.
        Since:
        1.3
      • isShowNoGridOption

        public final boolean isShowNoGridOption()
        Returns the value of showNoGridOptionProperty().
        Returns:
        true if the "no grid" option will be shown
      • setShowNoGridOption

        public final void setShowNoGridOption​(boolean show)
        Sets the value of showNoGridOptionProperty().
        Parameters:
        show - if true the option will be shown
      • valueProperty

        public final ObjectProperty<VirtualGrid<?>> valueProperty()
        The property used to store the currently selected VirtualGrid.
        Returns:
        the property for the selected grid
        Since:
        1.0
      • getValue

        public final VirtualGrid<?> getValue()
        Returns the value of valueProperty().
        Returns:
        the selected virtual grid
        Since:
        1.0
      • setValue

        public final void setValue​(VirtualGrid<?> grid)
        Sets the value of valueProperty().
        Parameters:
        grid - the grid to select
        Since:
        1.0
      • getGrids

        public final ObservableList<VirtualGrid<?>> getGrids()
        Returns the list of possible virtual grid values.
        Returns:
        the possible virtual grids
        Since:
        1.0