fbench.tree
Class Device

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

public class Device
extends Resource

A DOM tree node for a Device instance.

Version:
20051027/JHC - Changed to default getIcon()., 20051008/JHC
Author:
JHC

Constructor Summary
Device()
           
 
Method Summary
 boolean getAllowsChildren()
          Returns true if the receiver allows children.
 
Methods inherited from class fbench.tree.DOMTreeNode
add, children, forElement, getChildAt, getChildCount, getChildren, getIcon, getIndex, getParent, getText, 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

Device

public Device()
Method Detail

getAllowsChildren

public boolean getAllowsChildren()
Description copied from class: DOMTreeNode
Returns true if the receiver allows children. Default return value is false . Extending classes may choose to return true

Specified by:
getAllowsChildren in interface javax.swing.tree.TreeNode
Overrides:
getAllowsChildren in class DOMTreeNode