Interface MutableSingleSelection<E>

All Superinterfaces:
Iterable<E>, MutableSelection<E>, Selection<E>, SingleSelection<E>
All Known Implementing Classes:
AbstractMutableSingleSelection, BeanSingleSelection, NullSingleSelection, PropertySingleSelection, SimpleSingleSelection

@JsType public interface MutableSingleSelection<E> extends SingleSelection<E>, MutableSelection<E>
Defines the requirements for a single selection that can change.
  • Method Details

    • setSelected

      void setSelected(E element)
      Change the selection to the given element.
      Specified by:
      setSelected in interface MutableSelection<E>
      Parameters:
      element - the element to replace the current selection.