Class SingleSelectionEvent<E>

  • All Implemented Interfaces:
    SelectionEvent<E>

    public class SingleSelectionEvent<E>
    extends AbstractSelectionEvent<E>
    Default implementation of a SelectionEvent for single selection.
    • Constructor Detail

      • SingleSelectionEvent

        public SingleSelectionEvent​(SingleSelection<E> model,
                                    boolean previousActive,
                                    boolean currentActive,
                                    E previousSelection,
                                    E currentSelection)
    • Method Detail

      • getPreviousSelection

        public E getPreviousSelection()
      • getCurrentSelection

        public E getCurrentSelection()
      • isAffected

        public boolean isAffected​(E element)
      • getAffected

        public java.lang.Iterable<E> getAffected()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object