com::cosylab::logging::client::DomTree Class Reference

Collaboration diagram for com::cosylab::logging::client::DomTree:
Collaboration graph
[legend]

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

Private Attributes

TheCellRenderer cellRenderer = new TheCellRenderer()

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 (  )  [inline]

DomTree constructor comment.

References cellRenderer.

Referenced by main().

com::cosylab::logging::client::DomTree::DomTree ( java.util.Hashtable  value  )  [inline]

DomTree constructor comment.

Parameters:
value java.util.Hashtable

References cellRenderer.


Member Function Documentation

Node com::cosylab::logging::client::DomTree::getRootNode (  )  [inline]

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  )  [inline, static]

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

Parameters:
args java.lang.String[]

References DomTree().

void com::cosylab::logging::client::DomTree::setRootNode ( Node  newDocument  )  [inline]

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

References cellRenderer.


Member Data Documentation

Referenced by DomTree(), and setRootNode().

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",
                        }

Referenced by com::cosylab::logging::client::DomTree::AdapterNode::toString().

final int com::cosylab::logging::client::DomTree::windowHeight = 460 [static, package]

The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2