org.embl.ebi.escience.baclava.factory
Class DataThingTreeFactory
java.lang.Object
org.embl.ebi.escience.baclava.factory.DataThingTreeFactory
public class DataThingTreeFactory
- extends java.lang.Object
Presents a tree view of a DataThing, walking over the nested collections if
any within the DataThing and generating DataThingTreeNode instances
appropriately. In addition, there is a standard renderer available to draw
these nodes.
- Author:
- Tom Oinn
|
Method Summary |
static javax.swing.tree.TreeCellRenderer |
getRenderer()
Return the renderer for data thing tree nodes. |
static DataThingTreeNode |
getTree(DataThing theDataThing)
Get a tree branch starting at the first level of the collection or the
first data object contained within this DataThing |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataThingTreeFactory
public DataThingTreeFactory()
getTree
public static DataThingTreeNode getTree(DataThing theDataThing)
- Get a tree branch starting at the first level of the collection or the
first data object contained within this DataThing
getRenderer
public static javax.swing.tree.TreeCellRenderer getRenderer()
- Return the renderer for data thing tree nodes.
- Returns:
- a TreeCellRenderer for our tree