| |
|
| java.lang.Object com.opensymphony.webwork.components.Component com.opensymphony.webwork.components.UIBean com.opensymphony.webwork.components.ClosingUIBean com.opensymphony.webwork.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 -->
<ww:tree id="..." label="...">
<ww:treenode id="..." label="..." />
<ww:treenode id="..." label="...">
<ww:treenode id="..." label="..." />
<ww:treenode id="..." label="..." />
&;lt;/ww:treenode>
<ww:treenode id="..." label="..." />
</ww:tree>
<-- dynamically -->
<ww:tree
id="..."
rootNode="..."
nodeIdProperty="..."
nodeTitleProperty="..."
childCollectionProperty="..." />
Created : Oct 27, 2005 3:56:23 PM
author: Jason Carreira author: tm_jee |
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) | | Blank icon image source.
|
setChildCollectionProperty | public void setChildCollectionProperty(String childCollectionProperty)(Code) | | The childCollectionProperty property.
|
setExpandIconSrcMinus | public void setExpandIconSrcMinus(String expandIconSrcMinus)(Code) | | Expand icon (-) image source.
|
setExpandIconSrcPlus | public void setExpandIconSrcPlus(String expandIconSrcPlus)(Code) | | Expand Icon (+) image source.
|
setGridIconSrcC | public void setGridIconSrcC(String gridIconSrcC)(Code) | | Image source for under child item child icons.
|
setGridIconSrcL | public void setGridIconSrcL(String gridIconSrcL)(Code) | | Image source for last child grid.
|
setGridIconSrcP | public void setGridIconSrcP(String gridIconSrcP)(Code) | | Image source for under parent item child icons.
|
setGridIconSrcV | public void setGridIconSrcV(String gridIconSrcV)(Code) | | Image source for vertical line.
|
setGridIconSrcX | public void setGridIconSrcX(String gridIconSrcX)(Code) | | Image source for grid for sole root item.
|
setGridIconSrcY | public void setGridIconSrcY(String gridIconSrcY)(Code) | | Image source for grid for last root item.
|
setIconHeight | public void setIconHeight(String iconHeight)(Code) | | Icon height (default 18 pixels).
|
setIconWidth | public void setIconWidth(String iconWidth)(Code) | | Icon width (default 19 pixels).
|
setNodeIdProperty | public void setNodeIdProperty(String nodeIdProperty)(Code) | | The nodeIdProperty property.
|
setNodeTitleProperty | public void setNodeTitleProperty(String nodeTitleProperty)(Code) | | The nodeTitleProperty property.
|
setRootNode | public void setRootNode(String rootNode)(Code) | | The rootNode property.
|
setShowGrid | public void setShowGrid(String showGrid)(Code) | | Show grid (default true).
|
setShowRootGrid | public void setShowRootGrid(String showRootGrid)(Code) | | The showRootGrid property (default true).
|
setTemplateCssPath | public void setTemplateCssPath(String templateCssPath)(Code) | | Template css path (default {contextPath}/struts/tree.css.
|
setToggle | public void setToggle(String toggle)(Code) | | The toggle property.
|
setToggleDuration | public void setToggleDuration(String toggleDuration)(Code) | | Toggle duration (default 150 ms)
|
setTreeCollapsedTopic | public void setTreeCollapsedTopic(String treeCollapsedTopic)(Code) | | The treeCollapsedTopic property.
|
setTreeExpandedTopic | public void setTreeExpandedTopic(String treeExpandedTopic)(Code) | | The treeExpandedTopic property.
|
setTreeSelectedTopic | public void setTreeSelectedTopic(String treeSelectedTopic)(Code) | | The treeSelectedTopic property.
|
Methods inherited from com.opensymphony.webwork.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, boolean escapeXml)(Code)(Java Doc) protected String determineNamespace(String namespace, OgnlValueStack 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 WebWorkException 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 OgnlValueStack getStack()(Code)(Java Doc) protected void popComponentStack()(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)
|
|
|
|