Package org.phylowidget.tree

Examples of org.phylowidget.tree.RootedTree


    if (r != null && r != curNodeRange)
    {
      Tool t = EventManager.instance.getToolManager().getCurrentTool();
      if (t.respondToOtherEvents())
      {
        RootedTree tree = r.render.getTree();
        PhyloWidget.ui.updateNodeInfo(tree, r.node);
      }
    }
    /*
     * Logic for the glow resetting and whatnot.
View Full Code Here


    r.render.layoutTrigger();
  }

  public void nodeAddSister() {
    NodeRange r = curRange();
    RootedTree tree = r.render.getTree();
    PhyloNode sis = (PhyloNode) tree.createAndAddVertex("");
    tree.addSisterNode(curNode(), sis);
  }
View Full Code Here

    tree.addSisterNode(curNode(), sis);
  }

  public void nodeAddChild() {
    NodeRange r = curRange();
    RootedTree tree = r.render.getTree();
    tree.addChildNode(curNode());
  }
View Full Code Here

    clipboard.clearClipboard();
  }

  public void nodeDelete() {
    NodeRange r = curRange();
    RootedTree g = r.render.getTree();
    synchronized (g) {
      g.deleteNode(curNode());
    }
  }
View Full Code Here

    }
  }

  public void nodeDeleteSubtree() {
    NodeRange r = curRange();
    RootedTree g = r.render.getTree();
    synchronized (g) {
      g.deleteSubtree(curNode());
    }
  }
View Full Code Here

    t.modPlus();
    layout();
  }

  public void treeAutoSort() {
    RootedTree tree = getCurTree();
    tree.ladderizeSubtree(tree.getRoot());
    layout();
  }
View Full Code Here

    tree.ladderizeSubtree(tree.getRoot());
    layout();
  }

  public void treeRemoveElbows() {
    RootedTree tree = getCurTree();
    synchronized (tree) {
      tree.cullElbowsBelow(tree.getRoot());
    }
    layout();
  }
View Full Code Here

TOP

Related Classes of org.phylowidget.tree.RootedTree

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.