public final class NetworkSelectionEvent
extends java.util.EventObject
Constructor and Description |
---|
NetworkSelectionEvent(NetworkPanel source,
java.util.Set<org.piccolo2d.PNode> oldSelection,
java.util.Set<org.piccolo2d.PNode> selection)
Create a new network selection event with the specified source.
|
Modifier and Type | Method and Description |
---|---|
NetworkPanel |
getNetworkPanel()
Return the source of this event as a NetworkPanel.
|
java.util.Set<org.piccolo2d.PNode> |
getOldSelection()
Return the old selection.
|
java.util.Set<org.piccolo2d.PNode> |
getSelection()
Return the selection.
|
public NetworkSelectionEvent(NetworkPanel source, java.util.Set<org.piccolo2d.PNode> oldSelection, java.util.Set<org.piccolo2d.PNode> selection)
source
- source of the eventoldSelection
- old selectionselection
- selectionpublic NetworkPanel getNetworkPanel()
public java.util.Set<org.piccolo2d.PNode> getOldSelection()
public java.util.Set<org.piccolo2d.PNode> getSelection()