| |
|
| java.lang.Object org.apache.struts2.components.Component org.apache.struts2.components.UIBean org.apache.struts2.components.ClosingUIBean org.apache.struts2.components.Tree
Tree | public class Tree extends ClosingUIBean (Code) | |
Renders a tree widget with AJAX support.
The id attribute is normally specified, such that it could be looked up using
javascript if necessary.
Examples
<-- statically -->
<s:tree id="..." label="...">
<s:treenode id="..." label="..." />
<s:treenode id="..." label="...">
<s:treenode id="..." label="..." />
<s:treenode id="..." label="..." />
&;lt;/s:treenode>
<s:treenode id="..." label="..." />
</s:tree>
<-- dynamically -->
<s:tree
id="..."
rootNode="..."
nodeIdProperty="..."
nodeTitleProperty="..."
childCollectionProperty="..." />
|
childCollectionProperty | protected String childCollectionProperty(Code) | | |
evaluateExtraParams | protected void evaluateExtraParams()(Code) | | |
getChildCollectionProperty | public String getChildCollectionProperty()(Code) | | |
getDefaultOpenTemplate | public String getDefaultOpenTemplate()(Code) | | |
getDefaultTemplate | protected String getDefaultTemplate()(Code) | | |
getExpandIconSrcMinus | public String getExpandIconSrcMinus()(Code) | | |
getExpandIconSrcPlus | public String getExpandIconSrcPlus()(Code) | | |
getNodeTitleProperty | public String getNodeTitleProperty()(Code) | | |
getTreeCollapsedTopic | public String getTreeCollapsedTopic()(Code) | | |
getTreeExpandedTopic | public String getTreeExpandedTopic()(Code) | | |
getTreeSelectedTopic | public String getTreeSelectedTopic()(Code) | | |
setBlankIconSrc | public void setBlankIconSrc(String blankIconSrc)(Code) | | |
setChildCollectionProperty | public void setChildCollectionProperty(String childCollectionProperty)(Code) | | |
setExpandIconSrcMinus | public void setExpandIconSrcMinus(String expandIconSrcMinus)(Code) | | |
setExpandIconSrcPlus | public void setExpandIconSrcPlus(String expandIconSrcPlus)(Code) | | |
setGridIconSrcC | public void setGridIconSrcC(String gridIconSrcC)(Code) | | |
setGridIconSrcL | public void setGridIconSrcL(String gridIconSrcL)(Code) | | |
setGridIconSrcP | public void setGridIconSrcP(String gridIconSrcP)(Code) | | |
setGridIconSrcV | public void setGridIconSrcV(String gridIconSrcV)(Code) | | |
setGridIconSrcX | public void setGridIconSrcX(String gridIconSrcX)(Code) | | |
setGridIconSrcY | public void setGridIconSrcY(String gridIconSrcY)(Code) | | |
setIconHeight | public void setIconHeight(String iconHeight)(Code) | | |
setIconWidth | public void setIconWidth(String iconWidth)(Code) | | |
setNodeIdProperty | public void setNodeIdProperty(String nodeIdProperty)(Code) | | |
setNodeTitleProperty | public void setNodeTitleProperty(String nodeTitleProperty)(Code) | | |
setShowRootGrid | public void setShowRootGrid(String showRootGrid)(Code) | | |
setTemplateCssPath | public void setTemplateCssPath(String templateCssPath)(Code) | | |
setToggleDuration | public void setToggleDuration(String toggleDuration)(Code) | | |
setTreeCollapsedTopic | public void setTreeCollapsedTopic(String treeCollapsedTopic)(Code) | | |
setTreeExpandedTopic | public void setTreeExpandedTopic(String treeExpandedTopic)(Code) | | |
setTreeSelectedTopic | public void setTreeSelectedTopic(String treeSelectedTopic)(Code) | | |
Methods inherited from org.apache.struts2.components.Component | public void addAllParameters(Map params)(Code)(Java Doc) public void addParameter(String key, Object value)(Code)(Java Doc) public boolean altSyntax()(Code)(Java Doc) public void copyParams(Map params)(Code)(Java Doc) protected String determineActionURL(String action, String namespace, String method, HttpServletRequest req, HttpServletResponse res, Map parameters, String scheme, boolean includeContext, boolean encodeResult)(Code)(Java Doc) protected String determineActionURL(String action, String namespace, String method, HttpServletRequest req, HttpServletResponse res, Map parameters, String scheme, boolean includeContext, boolean encodeResult, boolean forceAddSchemeHostAndPort, boolean escapeAmp)(Code)(Java Doc) protected String determineNamespace(String namespace, ValueStack stack, HttpServletRequest req)(Code)(Java Doc) public boolean end(Writer writer, String body)(Code)(Java Doc) protected boolean end(Writer writer, String body, boolean popComponentStack)(Code)(Java Doc) protected StrutsException fieldError(String field, String errorMsg, Exception e)(Code)(Java Doc) protected Component findAncestor(Class clazz)(Code)(Java Doc) protected String findString(String expr)(Code)(Java Doc) protected String findString(String expr, String field, String errorMsg)(Code)(Java Doc) protected Object findValue(String expr)(Code)(Java Doc) protected Object findValue(String expr, String field, String errorMsg)(Code)(Java Doc) protected Object findValue(String expr, Class toType)(Code)(Java Doc) public Stack getComponentStack()(Code)(Java Doc) public String getId()(Code)(Java Doc) public Map getParameters()(Code)(Java Doc) public ValueStack getStack()(Code)(Java Doc) protected void popComponentStack()(Code)(Java Doc) public void setActionMapper(ActionMapper mapper)(Code)(Java Doc) public void setId(String id)(Code)(Java Doc) public boolean start(Writer writer)(Code)(Java Doc) protected String toString(Throwable t)(Code)(Java Doc) public boolean usesBody()(Code)(Java Doc)
|
|
|
|