|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
com.vaadin.event.SelectionEvent
public class SelectionEvent
An event that specifies what in a selection has changed, and where the selection took place.
| Nested Class Summary | |
|---|---|
static interface |
SelectionEvent.SelectionListener
The listener interface for receiving SelectionEvents. |
static interface |
SelectionEvent.SelectionNotifier
The interface for adding and removing listeners for SelectionEvents. |
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
SelectionEvent(java.lang.Object source,
java.util.Collection<java.lang.Object> oldSelection,
java.util.Collection<java.lang.Object> newSelection)
|
|
| Method Summary | |
|---|---|
java.util.Set<java.lang.Object> |
getAdded()
A Collection of all the itemIds that became selected. |
java.util.Set<java.lang.Object> |
getRemoved()
A Collection of all the itemIds that became deselected. |
java.util.Set<java.lang.Object> |
getSelected()
A Collection of all the itemIds that are currently selected. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SelectionEvent(java.lang.Object source,
java.util.Collection<java.lang.Object> oldSelection,
java.util.Collection<java.lang.Object> newSelection)
| Method Detail |
|---|
public java.util.Set<java.lang.Object> getAdded()
Collection of all the itemIds that became selected.
Note: this excludes all itemIds that might have been previously selected.
public java.util.Set<java.lang.Object> getRemoved()
Collection of all the itemIds that became deselected.
Note: this excludes all itemIds that might have been previously deselected.
public java.util.Set<java.lang.Object> getSelected()
Collection of all the itemIds that are currently selected.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||