Package edu.umd.cs.piccolo.util

Examples of edu.umd.cs.piccolo.util.PStack


   *            The type of node to be picked from the pick tree
   */
  @SuppressWarnings("unchecked")
    public static WorldObject getNodeFromPickPath(PInputEvent event,
      Class<? extends WorldObject> type) {
    PStack nodeStack = event.getPath().getNodeStackReference();
    ListIterator<Object> it = nodeStack.listIterator(nodeStack.size());

    while (it.hasPrevious()) {
      Object node = it.previous();

      if (node instanceof PiccoloNodeInWorld) {
View Full Code Here

TOP

Related Classes of edu.umd.cs.piccolo.util.PStack

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.