fbench.tree
Class FBType
java.lang.Object
fbench.dom.ElementModel
fbench.tree.DOMTreeNode
fbench.tree.FBType
- All Implemented Interfaces:
- javax.swing.tree.TreeNode, org.w3c.dom.events.EventListener
- Direct Known Subclasses:
- AdapterType
public class FBType
- extends DOMTreeNode
A DOM tree node for a Function Block type.
- Version:
- 20051008/JHC
- Author:
- JHC
Method Summary |
boolean |
getAllowsChildren()
Returns true if the receiver allows children. |
java.util.Vector<DOMTreeNode> |
getChildren()
Returns a Vector of the receiver's children. |
javax.swing.Icon |
getIcon()
Returns the icon to be used for display of this element. |
Methods inherited from class fbench.tree.DOMTreeNode |
add, children, forElement, getChildAt, getChildCount, getIndex, getParent, getText, handleEvent, hasInterface, isLeaf, removeAllChildren, setElement, setParent |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
FBType
public FBType()
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
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
getChildren
public java.util.Vector<DOMTreeNode> 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