Class PNodeSelector

java.lang.Object
repast.simphony.visualization.editor.PNodeSelector

public class PNodeSelector extends Object
Deprecated.
2D piccolo based code is being removed
Selects PNodes representing agent etc., given a PStack.
Author:
Nick Collier
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    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>
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PNodeSelector

      public PNodeSelector()
      Deprecated.
  • Method Details

    • 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 list
      stack - 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 query
      includeEdges - 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.