hep.aida.web.taglib
Interface DisplayTreeTag

All Known Implementing Classes:
DisplayTreeTagImpl, DisplayTreeTagSupport

public interface DisplayTreeTag

A top level tag to graphically display an AIDA ITree.

Author:
The AIDA Team @ SLAC

Method Summary
 void setFolderHref(java.lang.String folderHref)
          Set the href link to which the folder nodes should point to.
 void setLeafHref(java.lang.String leafHref)
          Set the href link to which the leaf nodes should point to.
 void setRootLabel(java.lang.String rootLabel)
          Set the label to display for the root node, default is "/".
 void setRootVisible(boolean isRootVisible)
          Flag to control the visibility of the root node.
 void setShowFolderHrefForNodesWithLeavesOnly(boolean showFolderHrefForNodesWithLeavesOnly)
          If set to true folderHref is added only to the folders with that have direct leaf nodes (not recursive!)
 void setShowItemCount(boolean showItemCount)
          If set to true next to each folder the number of children will be written.
 void setStoreName(java.lang.String storeName)
          Set name of the AIDA store to be displayed.
 

Method Detail

setStoreName

void setStoreName(java.lang.String storeName)
Set name of the AIDA store to be displayed.

Parameters:
storeName - The name of the AIDA store.

setLeafHref

void setLeafHref(java.lang.String leafHref)
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.

Parameters:
leafHref - The leaf href.

setFolderHref

void setFolderHref(java.lang.String folderHref)
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.

Parameters:
folderHref - The folder href.

setRootVisible

void setRootVisible(boolean isRootVisible)
Flag to control the visibility of the root node.

Parameters:
isRootVisible - If true the root node appears in the tree.

setRootLabel

void setRootLabel(java.lang.String rootLabel)
Set the label to display for the root node, default is "/".

Parameters:
rootLabel - Label to display for the root node (it it is visible)

setShowItemCount

void setShowItemCount(boolean showItemCount)
If set to true next to each folder the number of children will be written.

Parameters:
showItemCount - Set to true to view the number of children in a folder.

setShowFolderHrefForNodesWithLeavesOnly

void setShowFolderHrefForNodesWithLeavesOnly(boolean showFolderHrefForNodesWithLeavesOnly)
If set to true folderHref is added only to the folders with that have direct leaf nodes (not recursive!)

Parameters:
showFolderHrefForNodesWithLeavesOnly - Set to true


Copyright 2000-2007 FreeHEP. All Rights Reserved.