| |
|
| java.lang.Object javax.swing.tree.DefaultMutableTreeNode abbot.editor.ComponentNode
ComponentNode | public class ComponentNode extends DefaultMutableTreeNode (Code) | | Provides a JTree-compatible node model for displaying a given hierarchy.
|
ComponentNode | public ComponentNode(Hierarchy hierarchy)(Code) | | Constructor for the root node of a hierarchy.
|
equals | public boolean equals(Object other)(Code) | | Return true if the represented components are the same.
|
getChildCount | public int getChildCount()(Code) | | |
getComponent | public Component getComponent()(Code) | | Returns the Component represented, or null if this is either the root
or a java.awt.MenuComponent.
|
getNode | public ComponentNode getNode(Component comp)(Code) | | Return the nearest node corresponding to the given component.
Behavior is undefined if the node is not reachable from the root
node. If the component is elided in the underlying hierarchy, returns
the nearest parent node that is not elided.
|
getParent | Component getParent(Component c)(Code) | | Return the component that appears as a parent in the ComponentNode
hierarchy.
|
getPath | public TreePath getPath(Component comp)(Code) | | Return the TreePath for the given Component, assuming it is in the
same hierarchy as this node. Returns as much of the ancestor path as
is available in the hierarchy.
|
hashCode | public int hashCode()(Code) | | |
reload | public void reload()(Code) | | |
|
|
|