portal.comp.tree
Class TreeNodeModel

java.lang.Object
  extended byportal.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

Constructor Summary
TreeNodeModel()
           
 
Method Summary
 void addChildNode(TreeNodeModel childNode)
           
 void addTreeNodeEventListener(TreeNodeEventListener listener)
           
 java.util.Collection getChildren()
           
 java.lang.String getName()
           
 boolean hasChildNodes()
           
 boolean isOpened()
           
 void removeAllChildNodes()
           
 void setName(java.lang.String name)
           
 void setOpened(boolean opened)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeNodeModel

public TreeNodeModel()
Method Detail

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)