Interface SelectionModel<T>

    • Method Detail

      • isSelected

        boolean isSelected​(T object)
        Check if an object is selected.
        Parameters:
        object - the object
        Returns:
        true if selected, false if not
      • setSelected

        void setSelected​(T object,
                         boolean selected)
        Set the selected state of an object and fire a SelectionChangeEvent if the selection has changed. Subclasses should not fire an event in the case where selected is true and the object was already selected, or selected is false and the object was not previously selected.
        Parameters:
        object - the object to select or deselect
        selected - true to select, false to deselect