SPT RWT Application API

com.sptci.rwt.webui.tree
Class ContainerNode<S extends MetaData>

java.lang.Object
  extended by echopointng.tree.DefaultMutableTreeNode
      extended by com.sptci.epng.TreeNode<S>
          extended by com.sptci.rwt.webui.tree.AbstractNode<S>
              extended by com.sptci.rwt.webui.tree.ContainerNode<S>
All Implemented Interfaces:
MutableTreeNode, TreeNode, Serializable
Direct Known Subclasses:
ColumnsNode, ConstraintsNode, ForeignKeysNode, IndicesNode, PrimaryKeysNode, ProceduresNode, SchemasNode, SequencesNode, TablesNode, TriggersNode, ViewsNode

public abstract class ContainerNode<S extends MetaData>
extends AbstractNode<S>

An abstract TreeNode that represents MetaData objects.

© Copyright 2007 Sans Pareil Technologies, Inc.

Version:
$Id: ContainerNode.java 4123 2008-05-25 21:49:01Z rakesh $
Author:
Rakesh Vidyadharan 2007-09-28
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class echopointng.tree.DefaultMutableTreeNode
DefaultMutableTreeNode.BreadthFirstEnumeration, DefaultMutableTreeNode.PathBetweenNodesEnumeration, DefaultMutableTreeNode.PostorderEnumeration, DefaultMutableTreeNode.PreorderEnumeration
 
Field Summary
protected  S metadata
          The MetaData object associated with this node.
 
Fields inherited from class com.sptci.epng.TreeNode
initialised
 
Fields inherited from class echopointng.tree.DefaultMutableTreeNode
actionCommand, allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
ContainerNode(S metadata)
          Create a new tree node using the specified metadata object.
 
Method Summary
 String toString()
          Return the display title for this node.
 
Methods inherited from class com.sptci.rwt.webui.tree.AbstractNode
createChildren, getChildCount, isLeaf, processFatalException, processFatalException
 
Methods inherited from class com.sptci.epng.TreeNode
getUserObject, setUserObject
 
Methods inherited from class echopointng.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, depthFirstEnumeration, getActionCommand, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObjectPath, insert, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setActionCommand, setAllowsChildren, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

metadata

protected final S extends MetaData metadata
The MetaData object associated with this node.

Constructor Detail

ContainerNode

public ContainerNode(S metadata)
Create a new tree node using the specified metadata object. The object represents a table in the database.

Parameters:
metadata - The model object for this node.
Method Detail

toString

public String toString()
Return the display title for this node. Over-ridden to return the localised title for this node.

Overrides:
toString in class DefaultMutableTreeNode
Returns:
The display title for this node.

SPT RWT Application API