Class PNodeSelector
- java.lang.Object
-
- repast.simphony.visualization.editor.PNodeSelector
-
public class PNodeSelector extends Object
Deprecated.2D piccolo based code is being removedSelects PNodes representing agent etc., given a PStack.- Author:
- Nick Collier
-
-
Constructor Summary
Constructors Constructor Description PNodeSelector()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<org.piccolo2d.PNode>
getNodes(org.piccolo2d.util.PStack stack, boolean includeEdges)
Deprecated.Gets the non-camera, layer, etc.List<org.piccolo2d.PNode>
getSelectedNodes()
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
unselectNodes()
Deprecated.Unselects any selected nodes.
-
-
-
Method Detail
-
getSelectedNodes
public List<org.piccolo2d.PNode> 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
public List<org.piccolo2d.PNode> getNodes(org.piccolo2d.util.PStack stack, boolean includeEdges)
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.
-
-