Interface MutableSelectedState<T>

    • Method Detail

      • select

        boolean select​(T element)
        select one element.
        Parameters:
        element - the element to select
        Returns:
        true if the collection of selected elements was changed
      • select

        boolean select​(T element,
                       boolean fireEvents)
      • deselect

        boolean deselect​(T element)
        deselect one element
        Parameters:
        element - the element to deselect
        Returns:
        true is the collection of selected elements was changed
      • deselect

        boolean deselect​(T element,
                         boolean fireEvents)
      • select

        boolean select​(Collection<T> elements)
        select a collection of elements to be the only selected elements
        Parameters:
        elements -
        Returns:
        true if the collection of selected elements was changed
      • select

        boolean select​(Collection<T> elements,
                       boolean fireEvents)
      • deselect

        boolean deselect​(Collection<T> elements)
        deselect a collection of elements
        Parameters:
        elements - the elements to deselect
        Returns:
        true if the collection of selected elements was changed
      • deselect

        boolean deselect​(Collection<T> elements,
                         boolean fireEvents)
      • clear

        void clear()
        Clears the "selected" state from all elements.
      • clear

        void clear​(boolean fireEvents)