Class SingleSelectionEvent<E>

java.lang.Object
com.macrofocus.common.selection.AbstractSelectionEvent<E>
com.macrofocus.common.selection.SingleSelectionEvent<E>
All Implemented Interfaces:
SelectionEvent<E>

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

    • SingleSelectionEvent

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

    • getModel

      public SingleSelection<E> getModel()
    • getPreviousSelection

      public E getPreviousSelection()
    • getCurrentSelection

      public E getCurrentSelection()
    • isAffected

      public boolean isAffected(E element)
    • getAffected

      public Iterable<E> getAffected()
    • toString

      public String toString()
      Overrides:
      toString in class Object