diva.canvas.interactor
Class SelectionEvent
java.lang.Object
java.util.EventObject
diva.canvas.interactor.SelectionEvent
- All Implemented Interfaces:
- Serializable
public class SelectionEvent
- extends EventObject
An event representing a change in the graph selection
model. The event contains all the information to mirror
the selection model.
- Version:
- $Revision: 1.5 $
- Author:
- Michael Shilman (michaels@eecs.berkeley.edu)
- See Also:
- Serialized Form
Constructor Summary |
SelectionEvent(Object source,
Object[] added,
Object[] removed,
Object primary)
Construct a new Selection event from the
given source, representing the given selection
additions, removals, and primary selection. |
SelectionEvent
public SelectionEvent(Object source,
Object[] added,
Object[] removed,
Object primary)
- Construct a new Selection event from the
given source, representing the given selection
additions, removals, and primary selection.
getSelectionAdditions
public Iterator getSelectionAdditions()
- Return an iterator over the objects
added to the selection model.
getSelectionRemovals
public Iterator getSelectionRemovals()
- Return an iterator over the objects
removed from the selection model.
getPrimarySelection
public Object getPrimarySelection()
- Return the primary selection object.
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.