VdexReload 1.1.3 API

uk.ac.reload.editor.schemaviewer
Class SchemaTreeNode

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended byuk.ac.reload.dweezil.gui.tree.ReloadTreeNode
          extended byuk.ac.reload.editor.schemaviewer.SchemaTreeNode
All Implemented Interfaces:
java.lang.Cloneable, javax.swing.tree.MutableTreeNode, java.io.Serializable, javax.swing.tree.TreeNode

public class SchemaTreeNode
extends ReloadTreeNode

A Viewer Tree Node that will display the hierarchical contents of an XML Schema. The TestTreeModel class takes care of taking the Schema and creating tree nodes. A NodeViewer TextPane will display the information for a node when it is selected. This is for testing purposes only.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class uk.ac.reload.dweezil.gui.tree.ReloadTreeNode
isExpanded, isHiLited
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
SchemaTreeNode(ReloadSchemaElement element)
          Constructor
 
Method Summary
 java.lang.String getName()
          Get the name of the ReloadSchemaElement
 java.lang.String toString()
          Get the name of this SchemaTreeNode
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SchemaTreeNode

public SchemaTreeNode(ReloadSchemaElement element)
Constructor

Parameters:
element - this will be a ReloadSchemaElement
Method Detail

getName

public java.lang.String getName()
Get the name of the ReloadSchemaElement

Returns:
the name of the ReloadSchemaElement

toString

public java.lang.String toString()
Get the name of this SchemaTreeNode

Returns:
the name of this SchemaTreeNode

VdexReload 1.1.3 API