Class PNodeSelector
java.lang.Object
repast.simphony.visualization.editor.PNodeSelector
Deprecated.
2D piccolo based code is being removed
Selects PNodes representing agent etc., given a PStack.
- Author:
- Nick Collier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionList<org.piccolo2d.PNode>
getNodes
(org.piccolo2d.util.PStack stack, boolean includeEdges) Deprecated.Gets the non-camera, layer, etc.List<org.piccolo2d.PNode>
Deprecated.Gets a list of the currently selected nodes.void
selectNodes
(org.piccolo2d.util.PStack stack, boolean includeEdges) Deprecated.Selects the agent and optionally the edge nodes in the PStack.void
Deprecated.Unselects any selected nodes.
-
Constructor Details
-
PNodeSelector
public PNodeSelector()Deprecated.
-
-
Method Details
-
getSelectedNodes
Deprecated.Gets a list of the currently selected nodes.- Returns:
- a list of the currently selected nodes.
-
selectNodes
public void selectNodes(org.piccolo2d.util.PStack stack, boolean includeEdges) Deprecated.Selects the agent and optionally the edge nodes in the PStack.- Parameters:
includeEdges
- whether or not to include edges in the returned liststack
- the stack containing the nodes to select
-
getNodes
Deprecated.Gets the non-camera, layer, etc. nodes in the stack.- Parameters:
stack
- the stack of nodes to queryincludeEdges
- whether or not to include edge nodes in the returned list- Returns:
- the non-camera, layer, etc. nodes in the stack.
-
unselectNodes
public void unselectNodes()Deprecated.Unselects any selected nodes.
-