prolog.treeview
Class RootNode

java.lang.Object
  |
  +--prolog.treeview.Node
        |
        +--prolog.treeview.RootNode

public class RootNode
extends Node

implementation of a root node. a root node is the only node knowing the tree where all nodes are contained in.


Field Summary
protected  Tree tree
          reference to the containing tree
 
Fields inherited from class prolog.treeview.Node
childs, content, defaultRenderer, gvNodeRendererMap, parent, rect
 
Constructor Summary
RootNode()
          default constructor
 
Method Summary
 Tree getTree()
          returns a reference to the containing tree
 void setTree(Tree tree)
          sets the containing tree
 
Methods inherited from class prolog.treeview.Node
addChild, fireTreeChanged, genXml, getCenter, getCenterBottom, getCenterTop, getChild, getChildCount, getChilds, getContent, getDefaultRenderer, getDimension, getMaximalHeight, getMaximalWidth, getParent, getRect, getRenderer, getRoot, hasChild, paint, paintLine, recursiveDimensionUpdate, registerRenderer, removeChild, setContent, setParent, toString
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

tree

protected Tree tree
reference to the containing tree
Constructor Detail

RootNode

public RootNode()
default constructor
Method Detail

getTree

public Tree getTree()
returns a reference to the containing tree
Overrides:
getTree in class Node

setTree

public void setTree(Tree tree)
sets the containing tree