|
SPT RWT Application API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectechopointng.tree.DefaultMutableTreeNode
com.sptci.epng.TreeNode<S>
com.sptci.rwt.webui.tree.AbstractNode<S>
public abstract class AbstractNode<S extends MetaData>
An abstract TreeNode that represents MetaData objects.
© Copyright 2007 Sans Pareil Technologies, Inc.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class echopointng.tree.DefaultMutableTreeNode |
|---|
DefaultMutableTreeNode.BreadthFirstEnumeration, DefaultMutableTreeNode.PathBetweenNodesEnumeration, DefaultMutableTreeNode.PostorderEnumeration, DefaultMutableTreeNode.PreorderEnumeration |
| Field Summary |
|---|
| 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 | |
|---|---|
protected |
AbstractNode()
Create a new tree node with no userObject specified. |
|
AbstractNode(S userObject)
Create a new tree node using the specified metadata object. |
| Method Summary | |
|---|---|
protected abstract void |
createChildren()
Create the child nodes for this node. |
int |
getChildCount()
Return the number of child nodes under this node. |
boolean |
isLeaf()
Determine whether this node holds children or not. |
protected void |
processFatalException(String name,
Throwable throwable)
Display an error message if fetching meta data fails. |
protected void |
processFatalException(Throwable throwable)
Display an error message if fetching meta data fails. |
| Methods inherited from class com.sptci.epng.TreeNode |
|---|
getUserObject, setUserObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractNode()
userObject specified.
public AbstractNode(S userObject)
userObject - The model object for this node.| Method Detail |
|---|
public int getChildCount()
getChildCount in interface TreeNodegetChildCount in class DefaultMutableTreeNodecreateChildren()public boolean isLeaf()
isLeaf in interface TreeNodeisLeaf in class DefaultMutableTreeNodetrue if the receiver is a leaf. Always
returns false.protected abstract void createChildren()
protected void processFatalException(Throwable throwable)
throwable - The exception that was raised.
protected void processFatalException(String name,
Throwable throwable)
$object$ place holder with the specified
name.
name - The name of the database object that was being analysed.throwable - The exception that was raised.
|
SPT RWT Application API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||