de.tuebingen.uni.sfs.germanet.relatedness.gui
Class PrefuseTreeStructure

java.lang.Object
  extended by de.tuebingen.uni.sfs.germanet.relatedness.gui.PrefuseTreeStructure

public class PrefuseTreeStructure
extends java.lang.Object

Class for buildung up the graph structure in prefuse


Field Summary
static java.lang.String TYPE
           
 
Constructor Summary
PrefuseTreeStructure()
          initialising a tree, represented by a table of nodes
 
Method Summary
 void addNode(de.tuebingen.uni.sfs.germanet.api.Synset s)
           
 void addtoRoot(de.tuebingen.uni.sfs.germanet.api.Synset s)
           
 prefuse.data.Tree getTree()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE

public static final java.lang.String TYPE
See Also:
Constant Field Values
Constructor Detail

PrefuseTreeStructure

public PrefuseTreeStructure()
initialising a tree, represented by a table of nodes

Method Detail

addNode

public void addNode(de.tuebingen.uni.sfs.germanet.api.Synset s)
Parameters:
s - will be added as a child to the previous node

addtoRoot

public void addtoRoot(de.tuebingen.uni.sfs.germanet.api.Synset s)
Parameters:
s - will be added to the rootnode

getTree

public prefuse.data.Tree getTree()
Returns:
the tree