org.freehep.webutil.tree
Class Tree
java.lang.Object
   org.freehep.webutil.tree.Tree
org.freehep.webutil.tree.Tree
- public class Tree 
- extends Object
A class for rendering Trees as HTML
- Author:
- The FreeHEP team @ SLAC
 
| Constructor Summary | 
| Tree(IconSet icons)
 | 
| Tree(String path)Creates a Tree renderer using the standard IconSet and with the
 icons located at the given path.
 | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
noHref
public static String noHref
Tree
public Tree(String path)
- Creates a Tree renderer using the standard IconSet and with the
 icons located at the given path.
 
Tree
public Tree(IconSet icons)
isShowFolderHrefForNodesWithLeavesOnly
public boolean isShowFolderHrefForNodesWithLeavesOnly()
- 
 
getShowFolderHrefForNodesWithLeavesOnly
public boolean getShowFolderHrefForNodesWithLeavesOnly()
- 
 
setShowFolderHrefForNodesWithLeavesOnly
public void setShowFolderHrefForNodesWithLeavesOnly(boolean visible)
- 
 
isRootVisible
public boolean isRootVisible()
- 
 
setRootVisible
public void setRootVisible(boolean visible)
- 
 
setShowItemCount
public void setShowItemCount(boolean visible)
- 
 
setLeafHref
public void setLeafHref(String href)
- 
 
getLeafHref
public String getLeafHref()
- 
 
setFolderHrefLimit
public void setFolderHrefLimit(int limit)
- 
 
getFolderHrefLimit
public int getFolderHrefLimit()
- 
 
setFolderHref
public void setFolderHref(String href)
- 
 
getFolderHref
public String getFolderHref()
- 
 
setTarget
public void setTarget(String target)
- 
 
getTarget
public String getTarget()
- 
 
setOnclick
public void setOnclick(String onclick)
- 
 
getOnclick
public String getOnclick()
- 
 
setUseCookies
public void setUseCookies(boolean useCookies)
- 
 
getUseCookies
public boolean getUseCookies()
- 
 
printTree
public void printTree(javax.servlet.jsp.JspWriter out,
                      TreeNode root,
                      String title)
               throws IOException
- 
- Throws:
- IOException
 
printStyle
public void printStyle(javax.servlet.jsp.JspWriter out)
                throws IOException
- 
- Throws:
- IOException
 
printScript
public void printScript(javax.servlet.jsp.JspWriter out)
                 throws IOException
- 
- Throws:
- IOException
 
Copyright © 2000-2009 FreeHEP. All Rights Reserved.