Class SelectionEvent

java.lang.Object
java.util.EventObject
com.vaadin.featurepack.event.SelectionEvent
All Implemented Interfaces:
Serializable

public class SelectionEvent extends EventObject
An event that specifies what in a selection has changed, and where the selection took place.
Since:
7.4
Author:
Vaadin Ltd
See Also:
  • Constructor Details

  • Method Details

    • getAdded

      public Set<Object> getAdded()
      A Collection of all the itemIds that became selected.

      Note: this excludes all itemIds that might have been previously selected.

      Returns:
      a Collection of the itemIds that became selected
    • getRemoved

      public Set<Object> getRemoved()
      A Collection of all the itemIds that became deselected.

      Note: this excludes all itemIds that might have been previously deselected.

      Returns:
      a Collection of the itemIds that became deselected
    • getSelected

      public Set<Object> getSelected()
      A Collection of all the itemIds that are currently selected.
      Returns:
      a Collection of the itemIds that are currently selected