VdexReload 1.1.3 API

uk.ac.reload.editor.vocabulary.tableview
Class VocabularyTreeNode

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

public class VocabularyTreeNode
extends ReloadElementTreeNode

A Tree Node for VX

See Also:
Serialized Form

Field Summary
 
Fields inherited from class uk.ac.reload.editor.gui.ReloadElementTreeNode
_eb, _reloadDocument, _reloadSchemaElement
 
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
VocabularyTreeNode(org.jdom.Element element)
          Constructor for child Element
VocabularyTreeNode(Vocabulary vx)
          Constructor for Root Element
 
Method Summary
 java.lang.String toString()
          Get Friendly name if possible, or qualified name if not.
 
Methods inherited from class uk.ac.reload.editor.gui.ReloadElementTreeNode
createReloadElementBinding, getClosedIcon, getElement, getLeafIcon, getName, getOpenIcon, getReloadDocument, getSchemaElement
 
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

VocabularyTreeNode

public VocabularyTreeNode(Vocabulary vx)
Constructor for Root Element

Parameters:
vx - the vocabulary document

VocabularyTreeNode

public VocabularyTreeNode(org.jdom.Element element)
Constructor for child Element

Parameters:
element - The JDOM Element
Method Detail

toString

public java.lang.String toString()
Get Friendly name if possible, or qualified name if not. Over-ride this to do special stuff.

Returns:
friendly name if possible, or qualified name if not

VdexReload 1.1.3 API