hep.aida.web.taglib
Class DisplayTreeTagSupport

java.lang.Object
  extended by hep.aida.web.taglib.DisplayTreeTagSupport
All Implemented Interfaces:
DisplayTreeTag

public class DisplayTreeTagSupport
extends Object
implements DisplayTreeTag

The implementation class for all TreeDisplayTag classes.

Author:
The AIDA Team @ SLAC

Constructor Summary
DisplayTreeTagSupport()
           
 
Method Summary
 void doEndTag(javax.servlet.jsp.PageContext pageContext)
           
 void doStartTag()
           
 String getFolderHref()
           
 String getLeafHref()
           
 boolean getRootVisible()
           
 boolean getShowItemCount()
           
 String getStoreName()
           
 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 rootVisible)
          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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisplayTreeTagSupport

public DisplayTreeTagSupport()
Method Detail

doStartTag

public void doStartTag()
                throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

doEndTag

public void doEndTag(javax.servlet.jsp.PageContext pageContext)
              throws javax.servlet.jsp.JspException,
                     IOException
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.

getStoreName

public String getStoreName()

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.

getLeafHref

public String getLeafHref()

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.

getFolderHref

public String getFolderHref()

setRootVisible

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

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

getRootVisible

public boolean getRootVisible()

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.

getShowItemCount

public boolean getShowItemCount()


Copyright © 2000-2006 FreeHEP. All Rights Reserved.