public interface EventSelectionListener
Modifier and Type | Method and Description |
---|---|
void |
eventsSelected(Set<Event> selectedEvents,
Set<Event> deselectedEvents)
Indicates that the set of selected events has changed.
|
void eventsSelected(Set<Event> selectedEvents, Set<Event> deselectedEvents)
Indicates that the set of selected events has changed. Events are selected either programmatically or by the user clicking on the event. A click with no modifier keys selects the event, a click with the CTRL key down adds (or subtracts, if the event is already selected) from the current selection.
The selectedEvents Set contains only newly selected Events (for which an eventsSelected event has not
yet been fired). It does not necessarily contain the full set of selected events. This can be obtained via
EventPlotInfo#getSelectedEvents()
.
selectedEvents
- the newly selected eventsCopyright © 2013 Metron, Inc.. All rights reserved.