public class SelectionEvent extends EventObject
source| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getPrimarySelection()
Return the primary selection object.
|
Iterator |
getSelectionAdditions()
Return an iterator over the objects
added to the selection model.
|
Iterator |
getSelectionRemovals()
Return an iterator over the objects
removed from the selection model.
|
getSource, toStringpublic Iterator getSelectionAdditions()
public Iterator getSelectionRemovals()
public Object getPrimarySelection()
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.