|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.mewt.tree.Node
public class Node
The Class Node.
Constructor Summary | |
---|---|
Node(Node parent,
java.lang.Object o)
Instantiates a new node. |
Method Summary | |
---|---|
void |
addChild(Node child)
Adds the child. |
Node |
getChildAt(int i)
Gets the child at. |
int |
getChildCount()
Gets the child count. |
java.lang.Object |
getUserObject()
Gets the user object. |
boolean |
isExpanded()
Checks if is expanded. |
boolean |
isLeaf()
Checks if is leaf. |
void |
removeAll()
Removes the all. |
void |
removeChild(Node child)
Removes the child. |
void |
setExpanded(boolean exp)
Sets the expanded. |
void |
setLeaf(boolean l)
Sets the leaf. |
void |
setUserObject(java.lang.Object o)
Sets the user object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Node(Node parent, java.lang.Object o)
parent
- the parento
- the oMethod Detail |
---|
public void addChild(Node child)
child
- the childpublic void removeChild(Node child)
child
- the childpublic void removeAll()
public boolean isLeaf()
public void setLeaf(boolean l)
l
- the new leafpublic int getChildCount()
public java.lang.Object getUserObject()
public void setUserObject(java.lang.Object o)
o
- the new user objectpublic Node getChildAt(int i)
i
- the i
public boolean isExpanded()
public void setExpanded(boolean exp)
exp
- the new expanded
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |