edu.upenn.crimson.gui
Class TreeUtils

java.lang.Object
  extended by edu.upenn.crimson.gui.TreeUtils

public class TreeUtils
extends java.lang.Object

Static methods used throughout the GUI for Tree objects.

Version:
$Id: TreeUtils.java,v 1.16 2007/10/09 20:14:16 fisher Exp $

Nested Class Summary
(package private) static class TreeUtils.NewickViewer
           
 
Constructor Summary
TreeUtils()
           
 
Method Summary
static void appendTree(java.lang.String treeID)
          This will process the NEXUS file selected and then append the file into the specified database table.
static void deleteTree(java.lang.String id)
          This will delete the tree specified by TreeSelector().
static void exportTree(java.lang.String id)
          This will export the tree specified by TreeSelector().
static boolean isTreeBuilt(Tree tree)
           
static void loadTree()
          This will process the NEXUS file selected and then load the file into the specified database table.
static void loadTree(java.io.File file, java.lang.String treeID, java.lang.String partitionID)
           
static void newickTree(java.lang.String id)
          This will display the tree's newick string.
static void statsTree(java.lang.String id)
          This will display the tree statistics.
static java.lang.String treeSelector()
          Present a dialog box for selecting a particular Tree.
static void view3DTree(java.lang.String id)
          This will view the tree specified by TreeSelector().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeUtils

public TreeUtils()
Method Detail

treeSelector

public static java.lang.String treeSelector()
Present a dialog box for selecting a particular Tree.


loadTree

public static void loadTree()
This will process the NEXUS file selected and then load the file into the specified database table.


loadTree

public static void loadTree(java.io.File file,
                            java.lang.String treeID,
                            java.lang.String partitionID)

appendTree

public static void appendTree(java.lang.String treeID)
This will process the NEXUS file selected and then append the file into the specified database table.


exportTree

public static void exportTree(java.lang.String id)
This will export the tree specified by TreeSelector().


deleteTree

public static void deleteTree(java.lang.String id)
This will delete the tree specified by TreeSelector().


isTreeBuilt

public static boolean isTreeBuilt(Tree tree)

view3DTree

public static void view3DTree(java.lang.String id)
This will view the tree specified by TreeSelector().


statsTree

public static void statsTree(java.lang.String id)
This will display the tree statistics.


newickTree

public static void newickTree(java.lang.String id)
This will display the tree's newick string.




Copyright 2006 Stephen Fisher, Susan Davidson, and Junhyong Kim, University of Pennsylvania.