You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



All Packages  This Package  Class Hierarchy  Class Search  Index

Class grendel.widgets.TreeTable.TreeNode

java.lang.Object
   |
   +----grendel.widgets.TreeTable.TreeNode

class  TreeTable.TreeNode
     extends java.lang.Object
{
          // Fields 11
     boolean fBuilt;
     int fChildrenHeight;
     Object fData;
     int fDepth;
     TreeNode fFirstChild;
     boolean fFreeOnCollapse;
     boolean fInvalid;
     boolean fIsLeaf;
     TreeNode fNextSibling;
     int fNodeHeight;
     TreeNode fParent;

          // Constructors 1
     public TreeNode(TreeTableDataModel, TreeNode, Object);

          // Methods 26
     final void addChild(TreeNode);
     final void addChildAfter(TreeNode, TreeNode);
     final void addSiblingAfter(TreeNode);
     final void build();
     public final int collapse();
     final void detachChildren();
     final void detachSelf();
     public final int expand();
     public final int getChildrenHeight();
     public final Object getData();
     public final int getDepth();
     public final TreeNode getFirstChild();
     public final TreeNode getLastChild();
     public final TreeNode getNextSibling();
     public final int getNodeHeight();
     public final TreeNode getParent();
     public final TreeNode getPrevSibling();
     public final int getTotalHeight();
     public final int getVisibleDepth();
     void invalidateBranch();
     public final boolean isChildOf(TreeNode);
     public final boolean isCollapsed();
     public final boolean isLeaf();
     public final int reload();
     final int remove();
     final int removeChild(TreeNode);
}



Fields


fData

   Object fData


fParent

   TreeNode fParent


fFirstChild

   TreeNode fFirstChild


fNextSibling

   TreeNode fNextSibling


fBuilt

   boolean fBuilt


fFreeOnCollapse

   boolean fFreeOnCollapse


fInvalid

   boolean fInvalid


fIsLeaf

   boolean fIsLeaf


fChildrenHeight

   int fChildrenHeight


fDepth

   int fDepth


fNodeHeight

   int fNodeHeight



Constructors


TreeNode

   public TreeNode(TreeTableDataModel aDataModel, 
                   TreeNode aParent, 
                   Object aData) 



Methods


addChild

   final void addChild(TreeNode aNode) 


addChildAfter

   final void addChildAfter(TreeNode aPrev, 
                            TreeNode aNode) 


addSiblingAfter

   final void addSiblingAfter(TreeNode aNode) 


remove

   final int remove() 


removeChild

   final int removeChild(TreeNode aNode) 


detachChildren

   final void detachChildren() 

Make garbage collection possible



detachSelf

   final void detachSelf() 


invalidateBranch

   void invalidateBranch() 


collapse

   public final int collapse() 


expand

   public final int expand() 


reload

   public final int reload() 


build

   final void build() 


isCollapsed

   public final boolean isCollapsed() 


isLeaf

   public final boolean isLeaf() 


getVisibleDepth

   public final int getVisibleDepth() 


getDepth

   public final int getDepth() 


getParent

   public final TreeNode getParent() 


getPrevSibling

   public final TreeNode getPrevSibling() 


getNextSibling

   public final TreeNode getNextSibling() 


getFirstChild

   public final TreeNode getFirstChild() 


getLastChild

   public final TreeNode getLastChild() 


isChildOf

   public final boolean isChildOf(TreeNode aNode) 


getData

   public final Object getData() 


getNodeHeight

   public final int getNodeHeight() 


getChildrenHeight

   public final int getChildrenHeight() 


getTotalHeight

   public final int getTotalHeight() 


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4