|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjaxcent.yui.TreeNode
Objects of class TreeNode correspond to nodes of a YUI Tree.
| Method Summary | |
TreeNode |
addDateNode(java.util.Date date)
Add a non-editable date node as a child of this node. |
TreeNode |
addEditableDateNode(java.util.Date date)
Add an editable date node as a child of this node. |
TreeNode |
addEditableTextNode(java.lang.String text)
Add an editable text node as a child of this node. |
TreeNode |
addTextNode(java.lang.String text)
Add a non-editable text node as a child of this node. |
void |
collapse()
Collapse the node. |
void |
delete()
Remove the node and all its children from the tree. |
void |
expand()
Expand the node. |
java.lang.String |
getNodeLabel()
Return the current lable of this node. |
java.lang.Object |
getUserData()
Return any user data attached to node. |
boolean |
isDateNode()
Is this a date node? |
boolean |
isEditableNode()
Is this an editable node? |
boolean |
isTextNode()
Is this a text node? |
void |
setUserData(java.lang.Object userData)
Attach user data to node. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public TreeNode addTextNode(java.lang.String text)
throws jaxcent.Jaxception
jaxcent.Jaxception
public TreeNode addEditableTextNode(java.lang.String text)
throws jaxcent.Jaxception
jaxcent.Jaxception
public TreeNode addDateNode(java.util.Date date)
throws jaxcent.Jaxception
jaxcent.Jaxception
public TreeNode addEditableDateNode(java.util.Date date)
throws jaxcent.Jaxception
jaxcent.Jaxception
public java.lang.String getNodeLabel()
throws jaxcent.Jaxception
jaxcent.Jaxception
public void delete()
throws jaxcent.Jaxception
jaxcent.Jaxception
public void expand()
throws jaxcent.Jaxception
jaxcent.Jaxception
public void collapse()
throws jaxcent.Jaxception
jaxcent.Jaxceptionpublic boolean isEditableNode()
public boolean isTextNode()
public boolean isDateNode()
public void setUserData(java.lang.Object userData)
public java.lang.Object getUserData()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||