|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DfcTreeNode
The node type used in node-based DFC tree models. Amongst other things, it works around Sun's brilliant idea of not providing a getUserObject () method on the MutableTreeNode interface.
Method Summary | |
---|---|
DfcTreeNode |
findChild(Object userObject)
Find the first child with a matching user object. |
Object |
getUserObject()
Get the user object associated with this node. |
boolean |
isMutable()
Test if the node can be changed. |
void |
setUserObject(Object userObject)
Set the user object associated with this node. |
Methods inherited from interface javax.swing.tree.MutableTreeNode |
---|
insert, remove, remove, removeFromParent, setParent |
Methods inherited from interface javax.swing.tree.TreeNode |
---|
children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf |
Method Detail |
---|
boolean isMutable()
Object getUserObject()
void setUserObject(Object userObject)
setUserObject
in interface MutableTreeNode
DfcTreeNode findChild(Object userObject)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |