Interface IndexedCheckModel<T>

    • Method Detail

      • getItem

        T getItem​(int index)
        Returns the item in the given index in the control.
        Parameters:
        index - Index for the item in the control.
      • getItemIndex

        int getItemIndex​(T item)
        Returns the index of the given item.
        Parameters:
        item - Item whose index needs to be fetched.
      • getCheckedIndices

        ObservableList<Integer> getCheckedIndices()
        Returns a read-only list of the currently checked indices in the control.
      • checkIndices

        void checkIndices​(int... indices)
        Checks the given indices in the control
        Parameters:
        indices - Indices of item to uncheck.
      • clearCheck

        void clearCheck​(int index)
        Unchecks the given index in the control
        Parameters:
        index - Index of the item to uncheck.
      • isChecked

        boolean isChecked​(int index)
        Returns true if the given index represents an item that is checked in the control.
        Parameters:
        index - Index of the item to be tested.
      • check

        void check​(int index)
        Checks the item in the given index in the control.
        Parameters:
        index - Index of the item to check.
      • toggleCheckState

        void toggleCheckState​(int index)
        Toggles the check state of the item in the given index of the control.
        Parameters:
        index - Index of the item whose check state needs to be toggled.