VdexReload 1.1.3 API

uk.ac.reload.editor.metadata.vdexBrowser
Class VdexTreeNode

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

public class VdexTreeNode
extends ReloadTreeNode

A node of the VdexTree. It is used for wrapping a Vdex Term element.

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
VdexTreeNode(java.lang.String nodeName, org.jdom.Element element)
          Constructor
 
Method Summary
 org.jdom.Element getElement()
          Get the term element
 java.lang.String getNodeName()
          Get the node name
 void setElement(org.jdom.Element element)
          Set the term element
 void setNodeName(java.lang.String nodeName)
          Set the name of the node
 
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, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VdexTreeNode

public VdexTreeNode(java.lang.String nodeName,
                    org.jdom.Element element)
Constructor

Parameters:
nodeName - the name of node (term_id:term_caption) element the term element
Method Detail

setElement

public void setElement(org.jdom.Element element)
Set the term element


getElement

public org.jdom.Element getElement()
Get the term element

Returns:
the term element

setNodeName

public void setNodeName(java.lang.String nodeName)
Set the name of the node


getNodeName

public java.lang.String getNodeName()
Get the node name

Returns:
the node name

VdexReload 1.1.3 API