|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.SimpleTagSupport
hep.aida.web.taglib.jsp20.DisplayTreeTagImpl
public class DisplayTreeTagImpl
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 |
setRootLabel(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 show)
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(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 |
---|
public DisplayTreeTagImpl()
Method Detail |
---|
public void doTag() throws javax.servlet.jsp.JspException, IOException
doTag
in interface javax.servlet.jsp.tagext.SimpleTag
doTag
in class javax.servlet.jsp.tagext.SimpleTagSupport
javax.servlet.jsp.JspException
IOException
public void setStoreName(String storeName)
DisplayTreeTag
setStoreName
in interface DisplayTreeTag
storeName
- The name of the AIDA store.public void setLeafHref(String leafHref)
DisplayTreeTag
setLeafHref
in interface DisplayTreeTag
leafHref
- The leaf href.public void setFolderHref(String folderHref)
DisplayTreeTag
setFolderHref
in interface DisplayTreeTag
folderHref
- The folder href.public void setRootVisible(boolean isRootVisible)
DisplayTreeTag
setRootVisible
in interface DisplayTreeTag
isRootVisible
- If true
the root node appears in the tree.public void setRootLabel(String rootLabel)
DisplayTreeTag
setRootLabel
in interface DisplayTreeTag
rootLabel
- Label to display for the root node (it it is visible)public void setShowItemCount(boolean showItemCount)
DisplayTreeTag
true
next to each folder the number of children
will be written.
setShowItemCount
in interface DisplayTreeTag
showItemCount
- Set to true
to view the number of children in a folder.public void setShowFolderHrefForNodesWithLeavesOnly(boolean show)
DisplayTreeTag
true
folderHref is added only to the folders with
that have direct leaf nodes (not recursive!)
setShowFolderHrefForNodesWithLeavesOnly
in interface DisplayTreeTag
show
- Set to true
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |