|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthep.aida.web.taglib.DisplayTreeTagSupport
public class DisplayTreeTagSupport
The implementation class for all TreeDisplayTag classes.
Constructor Summary | |
---|---|
DisplayTreeTagSupport()
|
Method Summary | |
---|---|
void |
doEndTag(javax.servlet.jsp.PageContext pageContext)
|
void |
doStartTag()
|
String |
getFolderHref()
|
String |
getLeafHref()
|
String |
getRootLabel()
|
boolean |
getRootVisible()
|
boolean |
getShowFolderHrefForNodesWithLeavesOnly()
|
boolean |
getShowItemCount()
|
String |
getStoreName()
|
boolean |
isShowFolderHrefForNodesWithLeavesOnly()
|
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 rootVisible)
Flag to control the visibility of the root node. |
void |
setShowFolderHrefForNodesWithLeavesOnly(boolean visible)
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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DisplayTreeTagSupport()
Method Detail |
---|
public void doStartTag() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
public void doEndTag(javax.servlet.jsp.PageContext pageContext) throws javax.servlet.jsp.JspException, IOException
javax.servlet.jsp.JspException
IOException
public void setStoreName(String storeName)
DisplayTreeTag
setStoreName
in interface DisplayTreeTag
storeName
- The name of the AIDA store.public String getStoreName()
public void setLeafHref(String leafHref)
DisplayTreeTag
setLeafHref
in interface DisplayTreeTag
leafHref
- The leaf href.public String getLeafHref()
public void setFolderHref(String folderHref)
DisplayTreeTag
setFolderHref
in interface DisplayTreeTag
folderHref
- The folder href.public String getFolderHref()
public void setRootVisible(boolean rootVisible)
DisplayTreeTag
setRootVisible
in interface DisplayTreeTag
rootVisible
- If true
the root node appears in the tree.public boolean getRootVisible()
public void setRootLabel(String rootLabel)
DisplayTreeTag
setRootLabel
in interface DisplayTreeTag
rootLabel
- Label to display for the root node (it it is visible)public String getRootLabel()
public boolean isShowFolderHrefForNodesWithLeavesOnly()
public boolean getShowFolderHrefForNodesWithLeavesOnly()
public void setShowFolderHrefForNodesWithLeavesOnly(boolean visible)
DisplayTreeTag
true
folderHref is added only to the folders with
that have direct leaf nodes (not recursive!)
setShowFolderHrefForNodesWithLeavesOnly
in interface DisplayTreeTag
visible
- Set to true
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 boolean getShowItemCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |