public static class Table.SelectionEvent<E extends Entity> extends java.util.EventObject implements HasUserOriginated
Modifier and Type | Field and Description |
---|---|
protected java.util.Set<E> |
selected |
protected boolean |
userOriginated |
Constructor and Description |
---|
SelectionEvent(Table<E> component,
java.util.Set<E> selected,
boolean userOriginated)
Constructor for a selection event.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<E> |
getSelected()
A
Set of all the items that are currently selected. |
Table<E> |
getSource() |
boolean |
isUserOriginated()
Returns whether this event was triggered by user interaction or programmatically.
|
public java.util.Set<E> getSelected()
Set
of all the items that are currently selected.public boolean isUserOriginated()
HasUserOriginated
isUserOriginated
in interface HasUserOriginated
true
if this event originates by user interaction, false
otherwise.