Interface MutableSelection<E>

    • Method Detail

      • clearSelection

        boolean clearSelection()
        Change the selection to the empty set. If this represents a change to the current selection then notify each listener.
        Returns:
        true, if the set of selected elements was changed.
      • setSelected

        @JsIgnore
        void setSelected​(E element)
      • setSelected

        @JsIgnore
        void setSelected​(E element,
                         boolean selected)
      • setSelected

        @JsIgnore
        boolean setSelected​(java.lang.Iterable<E> elements,
                            boolean selected)
        Set the selection state.
        Parameters:
        elements - the elements to change
        selected - true to have the elements selected, false otherwise
        Returns:
        true, if the set of selected elements was changed.
      • setSelected

        @JsIgnore
        boolean setSelected​(boolean selected,
                            E... elements)
        Set the selection state.
        Parameters:
        selected - true to have the elements selected, false otherwise
        elements - the elements to change
        Returns:
        true, if the set of selected elements was changed.
      • setSelectedElements

        @JsIgnore
        void setSelectedElements​(E... elements)
      • setSelectedIterable

        @JsIgnore
        void setSelectedIterable​(java.lang.Iterable<E> elements)
      • setEnabled

        @JsIgnore
        void setEnabled​(boolean enabled)