abbot.editor
Class ComponentNode
java.lang.Object
|
+--javax.swing.tree.DefaultMutableTreeNode
|
+--abbot.editor.ComponentNode
- All Implemented Interfaces:
- Cloneable, MutableTreeNode, Serializable, TreeNode
- public class ComponentNode
- extends DefaultMutableTreeNode
- See Also:
- Serialized Form
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode |
, add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildBefore, 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 |
ComponentNode
public ComponentNode()
ComponentNode
public ComponentNode(ComponentNode parent,
Component comp)
ComponentNode
public ComponentNode(ComponentNode parent,
MenuComponent comp)
ComponentNode
public ComponentNode(ComponentNode parent,
MenuItem comp)
getChildAt
public TreeNode getChildAt(int index)
- Overrides:
getChildAt
in class DefaultMutableTreeNode
getChildCount
public int getChildCount()
- Overrides:
getChildCount
in class DefaultMutableTreeNode
reload
public void reload()
getComponent
public Component getComponent()
- Returns the Component represented, or null if this is either the root
or a java.awt.MenuComponent.
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object other)
- Return true if the represented components are the same.
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class DefaultMutableTreeNode
Copyright © 2002-2003 Timothy Wall. All Rights Reserved.
Abbot is hosted on