org.extremecomponents.tree.bean
Class TreeNode
java.lang.Object
java.util.AbstractMap
java.util.HashMap
org.extremecomponents.tree.bean.TreeNode
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map, java.io.Serializable
- public class TreeNode
- extends java.util.HashMap
- implements java.util.Map, java.io.Serializable
org.extremecomponents.tree.bean.TreeNode.java -
- Author:
- Paul Horn
- See Also:
- Serialized Form
Nested classes inherited from class java.util.HashMap |
|
Nested classes inherited from class java.util.AbstractMap |
|
Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
Fields inherited from class java.util.HashMap |
|
Fields inherited from class java.util.AbstractMap |
|
Constructor Summary |
TreeNode()
|
TreeNode(java.lang.Object bean,
java.lang.Object identifier,
int depth)
|
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
hashCode, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
TreeNode
public TreeNode()
TreeNode
public TreeNode(java.lang.Object bean,
java.lang.Object identifier,
int depth)
addChild
public void addChild(java.lang.Object child)
- Parameters:
child
-
getBean
public java.lang.Object getBean()
- Returns:
- Returns the bean.
setBean
public void setBean(java.lang.Object bean)
- Parameters:
bean
- The bean to set.
getChildren
public java.util.List getChildren()
- Returns:
- Returns the children.
setChildren
public void setChildren(java.util.List children)
- Parameters:
children
- The children to set.
getParent
public TreeNode getParent()
- Returns:
- Returns the parent.
setParent
public void setParent(TreeNode parent)
- Parameters:
parent
- The parent to set.
getDepth
public int getDepth()
- Returns:
- Returns the depth.
setDepth
public void setDepth(int depth)
- Parameters:
depth
- The depth to set.
isOpen
public boolean isOpen()
- Returns:
- Returns the open.
setOpen
public void setOpen(boolean open)
- Parameters:
open
- The open to set.
getIdentifier
public java.lang.Object getIdentifier()
- Returns:
setIdentifier
public void setIdentifier(java.lang.Object object)
- Parameters:
object
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interface java.util.Map
Copyright © 2004 sourceforge. All Rights Reserved.