Package com.macrofocus.common.selection

# Class SimpleSelectionEvent<E>

java.lang.Object
com.macrofocus.common.selection.AbstractSelectionEvent<E>
com.macrofocus.common.selection.SimpleSelectionEvent<E>

All Implemented Interfaces:
  `SelectionEvent<E>`

public class SimpleSelectionEvent<E> extends AbstractSelectionEvent<E>
Default implementation of a SelectionEvent.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SimpleSelectionEvent(Selection<E> model, Set<E> changes)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Iterable<E>`
  `getAffected()`
  `Selection<E>`
  `getModel()`
  `boolean`
  `isAffected(E element)`
  `String`
  `toString()`

  ### Methods inherited from class com.macrofocus.common.selection.AbstractSelectionEvent

  `getSelected, getUnselected`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### SimpleSelectionEvent

    public SimpleSelectionEvent(Selection<E> model, Set<E> changes)

- ## Method Details

  - ### getModel

    public Selection<E> getModel()

  - ### isAffected

    public boolean isAffected(E element)

  - ### getAffected

    public Iterable<E> getAffected()

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`