Classes | Public Member Functions | Static Public Member Functions | Static Package Attributes

com.cosylab.logging.client.DomTree Class Reference

List of all members.

Classes

class  AdapterNode
class  DomToTreeModelAdapter
class  TheCellRenderer

Public Member Functions

 DomTree ()
 DomTree (java.util.Hashtable value)
Node getRootNode ()
void setRootNode (Node newDocument)

Static Public Member Functions

static void main (String[] args)

Static Package Attributes

static final int windowHeight = 460
static final int leftWidth = 300
static final int rightWidth = 340
static final int windowWidth = leftWidth + rightWidth
static final String[] typeName

Detailed Description

This class wraps a DOM node and returns the text we want to display in the tree. It also returns children, index values, and child counts.

Creation date: (1/30/02 9:57:02 AM)

Author:
:

Constructor & Destructor Documentation

com.cosylab.logging.client.DomTree.DomTree (  ) 

DomTree constructor comment.

Referenced by com.cosylab.logging.client.DomTree.main().

com.cosylab.logging.client.DomTree.DomTree ( java.util.Hashtable  value  ) 

DomTree constructor comment.

Parameters:
value java.util.Hashtable

Member Function Documentation

Node com.cosylab.logging.client.DomTree.getRootNode (  ) 

Returns the instance of the document displayed by this tree or null if empty. Creation date: (1/30/02 10:53:29 AM)

Returns:
org.w3c.dom.Document
static void com.cosylab.logging.client.DomTree.main ( String[]  args  )  [static]

Insert the method's description here. Creation date: (1/30/02 10:59:08 AM)

Parameters:
args java.lang.String[]

References com.cosylab.logging.client.DomTree.DomTree().

void com.cosylab.logging.client.DomTree.setRootNode ( Node  newDocument  ) 

Sets the new document to be displayed by this tree. Can be null to display empty tree. Creation date: (1/30/02 10:46:35 AM)

Parameters:
newDocument org.w3c.dom.Document

Member Data Documentation

final int com.cosylab.logging.client.DomTree.leftWidth = 300 [static, package]
final int com.cosylab.logging.client.DomTree.rightWidth = 340 [static, package]
final String [] com.cosylab.logging.client.DomTree.typeName [static, package]
Initial value:
                {
                        "none",
                        "Element",
                        "Attr",
                        "Text",
                        "CDATA",
                        "EntityRef",
                        "Entity",
                        "ProcInstr",
                        "Comment",
                        "Document",
                        "DocType",
                        "DocFragment",
                        "Notation",
                        }
final int com.cosylab.logging.client.DomTree.windowHeight = 460 [static, package]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties