org.freehep.webutil.tree
Class DefaultTreeNode
java.lang.Object
   org.freehep.webutil.tree.DefaultTreeNode
org.freehep.webutil.tree.DefaultTreeNode
- All Implemented Interfaces: 
- Serializable, TreeNode
- public class DefaultTreeNode 
- extends Object- implements TreeNode, Serializable
- Author:
- The FreeHEP team @ SLAC
- See Also:
- Serialized Form
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
href
protected String href
target
protected String target
DefaultTreeNode
public DefaultTreeNode(String name)
DefaultTreeNode
public DefaultTreeNode(String name,
                       DefaultTreeNode parent)
add
public void add(TreeNode child)
- 
 
- 
 
isLeaf
public boolean isLeaf()
- 
- Specified by:
- isLeafin interface- TreeNode
 
- 
 
getTarget
public String getTarget()
- 
- Specified by:
- getTargetin interface- TreeNode
 
- 
 
setTarget
public void setTarget(String target)
- 
 
- 
 
getTitle
public String getTitle()
- 
- Specified by:
- getTitlein interface- TreeNode
 
- 
 
isExpanded
public boolean isExpanded()
- 
- Specified by:
- isExpandedin interface- TreeNode
 
- 
 
setIsExpanded
public void setIsExpanded(boolean isExpanded)
- 
 
- 
 
getLabel
public String getLabel()
- 
- Specified by:
- getLabelin interface- TreeNode
 
- 
 
setLabel
public void setLabel(String name)
- 
 
- 
 
getIcon
public Icon getIcon()
- 
- Specified by:
- getIconin interface- TreeNode
 
- 
 
getHref
public String getHref()
- 
- Specified by:
- getHrefin interface- TreeNode
 
- 
 
setHref
public void setHref(String href)
- 
 
- 
 
children
public List children()
- 
- Specified by:
- childrenin interface- TreeNode
 
- 
 
parent
public DefaultTreeNode parent()
- 
 
- 
 
getPath
public String getPath()
- 
 
- 
 
getRoot
public DefaultTreeNode getRoot()
- 
 
- 
 
findNode
public DefaultTreeNode findNode(String path,
                                boolean createMissing)
- 
 
- 
 
addNodeAtPath
public void addNodeAtPath(TreeNode node,
                          String path)
- 
 
- 
 
createNodeAtPath
public void createNodeAtPath(String path)
- 
 
- 
 
Copyright © 2000-2009 FreeHEP. All Rights Reserved.