portal.comp.tree
Class TreeNodeModel
java.lang.Object
portal.comp.tree.TreeNodeModel
- All Implemented Interfaces:
- Model, java.io.Serializable
- Direct Known Subclasses:
- TreeModel
- public class TreeNodeModel
- extends java.lang.Object
- implements Model
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeNodeModel
public TreeNodeModel()
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
isOpened
public boolean isOpened()
setOpened
public void setOpened(boolean opened)
getChildren
public java.util.Collection getChildren()
hasChildNodes
public boolean hasChildNodes()
addChildNode
public void addChildNode(TreeNodeModel childNode)
removeAllChildNodes
public void removeAllChildNodes()
addTreeNodeEventListener
public void addTreeNodeEventListener(TreeNodeEventListener listener)