|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
abbot.editor.ComponentNode
Nested Class Summary |
Nested classes inherited from class javax.swing.tree.DefaultMutableTreeNode |
|
Field Summary |
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
Constructor Summary | |
|
ComponentNode(ComponentNode parent,
Component comp)
|
|
ComponentNode(ComponentNode parent,
MenuComponent comp)
|
|
ComponentNode(ComponentNode parent,
MenuItem comp)
|
protected |
ComponentNode(ComponentNode parent,
Object obj)
|
|
ComponentNode(Hierarchy hierarchy)
Constructor for the root node of a hierarchy. |
|
ComponentNode(Hierarchy hierarchy,
boolean elide)
Constructor for the root node of a hierarchy. |
Method Summary | |
boolean |
equals(Object other)
Return true if the represented components are the same. |
TreeNode |
getChildAt(int index)
|
int |
getChildCount()
|
Component |
getComponent()
Returns the Component represented, or null if this is either the root or a java.awt.MenuComponent. |
ComponentNode |
getNode(Component comp)
Return the node corresponding to the given component. |
(package private) Component |
getParent(Component c)
Return the component that appears as a parent in the ComponentNode hierarchy. |
TreePath |
getPath(Component comp)
Return the TreePath for the given Component, assuming it is in the same hierarchy as this node. |
int |
hashCode()
|
void |
reload()
|
void |
reload(Hierarchy hierarchy)
|
void |
reload(Hierarchy hierarchy,
boolean elide)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ComponentNode(Hierarchy hierarchy)
public ComponentNode(Hierarchy hierarchy, boolean elide)
protected ComponentNode(ComponentNode parent, Object obj)
public ComponentNode(ComponentNode parent, Component comp)
public ComponentNode(ComponentNode parent, MenuComponent comp)
public ComponentNode(ComponentNode parent, MenuItem comp)
Method Detail |
public TreeNode getChildAt(int index)
public int getChildCount()
public void reload()
public void reload(Hierarchy hierarchy)
public void reload(Hierarchy hierarchy, boolean elide)
Component getParent(Component c)
public Component getComponent()
public int hashCode()
public boolean equals(Object other)
public String toString()
public ComponentNode getNode(Component comp)
public TreePath getPath(Component comp)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |