fbench.tree
Class VersionList

java.lang.Object
  extended by fbench.dom.ElementModel
      extended by fbench.tree.DOMTreeNode
          extended by fbench.tree.VersionList
All Implemented Interfaces:
javax.swing.tree.TreeNode, org.w3c.dom.events.EventListener

public class VersionList
extends DOMTreeNode

DOMTreeNode which encapsulates all the VersionInfo nodes

Version:
20070530/JP
Author:
JP

Constructor Summary
VersionList()
           
 
Method Summary
 java.util.Vector getChildren()
          Returns a Vector of the receiver's children.
 javax.swing.Icon getIcon()
          Returns the icon to be used for display of this element.
 java.lang.String getText()
          Returns the string to be used to display the tree node.
 void setVersionList(java.util.Vector<DOMTreeNode> versionList)
           
 
Methods inherited from class fbench.tree.DOMTreeNode
add, children, forElement, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, handleEvent, hasInterface, isLeaf, removeAllChildren, setElement, setParent
 
Methods inherited from class fbench.dom.ElementModel
equals, forElement, getComment, getElement, getName, getType, isDigit, isLetter, isName, toString
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VersionList

public VersionList()
Method Detail

getIcon

public javax.swing.Icon getIcon()
Description copied from class: DOMTreeNode
Returns the icon to be used for display of this element. Default is the icon identified by the element's tag name in lower case, or null if no icon is to be used.

Overrides:
getIcon in class DOMTreeNode

getText

public java.lang.String getText()
Description copied from class: DOMTreeNode
Returns the string to be used to display the tree node. Default is the result of the ElementModel getName() method.

Overrides:
getText in class DOMTreeNode

getChildren

public java.util.Vector getChildren()
Description copied from class: DOMTreeNode
Returns a Vector of the receiver's children. Default is a Vector of TreeNodes encapsulating the Elements in the DOM element's list of children.

Overrides:
getChildren in class DOMTreeNode

setVersionList

public void setVersionList(java.util.Vector<DOMTreeNode> versionList)