hep.aida.web.taglib.jsp20
Class DisplayTreeTagImpl

java.lang.Object
  extended by javax.servlet.jsp.tagext.SimpleTagSupport
      extended by hep.aida.web.taglib.jsp20.DisplayTreeTagImpl
All Implemented Interfaces:
DisplayTreeTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag

public class DisplayTreeTagImpl
extends javax.servlet.jsp.tagext.SimpleTagSupport
implements DisplayTreeTag

Author:
The AIDA Team @ SLAC

Constructor Summary
DisplayTreeTagImpl()
           
 
Method Summary
 void doTag()
           
 void setFolderHref(String folderHref)
          Set the href link to which the folder nodes should point to.
 void setLeafHref(String leafHref)
          Set the href link to which the leaf nodes should point to.
 void setRootVisible(boolean isRootVisible)
          Flag to control the visibility of the root node.
 void setShowItemCount(boolean showItemCount)
          If set to true next to each folder the number of children will be written.
 void setStoreName(String storeName)
          Set name of the AIDA store to be displayed.
 
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisplayTreeTagImpl

public DisplayTreeTagImpl()
Method Detail

doTag

public void doTag()
           throws javax.servlet.jsp.JspException,
                  IOException
Specified by:
doTag in interface javax.servlet.jsp.tagext.SimpleTag
Overrides:
doTag in class javax.servlet.jsp.tagext.SimpleTagSupport
Throws:
javax.servlet.jsp.JspException
IOException

setStoreName

public void setStoreName(String storeName)
Description copied from interface: DisplayTreeTag
Set name of the AIDA store to be displayed.

Specified by:
setStoreName in interface DisplayTreeTag
Parameters:
storeName - The name of the AIDA store.

setLeafHref

public void setLeafHref(String leafHref)
Description copied from interface: DisplayTreeTag
Set the href link to which the leaf nodes should point to. The wildcard "%p" will be replaced with the node's path while the wildcard "%l" will be replaced with the node's label.

Specified by:
setLeafHref in interface DisplayTreeTag
Parameters:
leafHref - The leaf href.

setFolderHref

public void setFolderHref(String folderHref)
Description copied from interface: DisplayTreeTag
Set the href link to which the folder nodes should point to. The wildcard "%p" will be replaced with the node's path while the wildcard "%l" will be replaced with the node's label.

Specified by:
setFolderHref in interface DisplayTreeTag
Parameters:
folderHref - The folder href.

setRootVisible

public void setRootVisible(boolean isRootVisible)
Description copied from interface: DisplayTreeTag
Flag to control the visibility of the root node.

Specified by:
setRootVisible in interface DisplayTreeTag
Parameters:
isRootVisible - If true the root node appears in the tree.

setShowItemCount

public void setShowItemCount(boolean showItemCount)
Description copied from interface: DisplayTreeTag
If set to true next to each folder the number of children will be written.

Specified by:
setShowItemCount in interface DisplayTreeTag
Parameters:
showItemCount - Set to true to view the number of children in a folder.


Copyright © 2000-2006 FreeHEP. All Rights Reserved.