|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--javax.swing.tree.DefaultMutableTreeNode
|
+--org.objectweb.jac.aspects.gui.AbstractNode
This tree node caches the text and the icon to display so that calls to the wrappee are not needed every time tree is painted
| Field Summary |
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Constructor Summary | |
AbstractNode()
|
|
AbstractNode(TreeView model,
Object object,
boolean showRelations)
|
|
| Method Summary | |
boolean |
areChildrenUptodate()
Returns true if the children of this node are to be updated. |
String |
getIcon()
Gets the icon of this node (null if none). |
String |
getText()
Gets the text of this node (null is none). |
String |
getToolTip()
|
boolean |
isLeaf()
Returns true if this node is a leaf of the tree that holds it. |
void |
setChildrenUptodate(boolean value)
Sets the uptodate state of this node's children. |
void |
setLeaf(boolean isLeaf)
Sets this node to be a leaf or not of the tree. |
void |
setModel(TreeView model)
Sets the model (abstract tree representation) of this node. |
void |
setParent(DefaultMutableTreeNode parent)
Redefines the DefaultMutableTreeNode.setParent in order to unregister the update events. |
abstract void |
unregisterEvents()
Unregister from all update events |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AbstractNode()
public AbstractNode(TreeView model,
Object object,
boolean showRelations)
| Method Detail |
public boolean isLeaf()
isLeaf in interface TreeNodeisLeaf in class DefaultMutableTreeNodepublic void setLeaf(boolean isLeaf)
isLeaf - true => leafisLeaf()public boolean areChildrenUptodate()
public void setChildrenUptodate(boolean value)
value - true => uptodateareChildrenUptodate()public void setModel(TreeView model)
public String getIcon()
public String getText()
public String getToolTip()
public abstract void unregisterEvents()
public void setParent(DefaultMutableTreeNode parent)
parent - the parent nodeunregisterEvents()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||