net.sourceforge.ajaxtags.tags
Class AjaxTreeTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
net.sourceforge.ajaxtags.tags.BaseAjaxBodyTag
net.sourceforge.ajaxtags.tags.BaseAjaxTag
net.sourceforge.ajaxtags.tags.AjaxTreeTag
- All Implemented Interfaces:
- Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
public class AjaxTreeTag
- extends BaseAjaxTag
Tag handler for the tree AJAX tag.
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Methods inherited from class net.sourceforge.ajaxtags.tags.BaseAjaxBodyTag |
buildScript, doStartTag, getAttachTo, getBaseUrl, getBody, getErrorFunction, getEventType, getHttpRequestHeader, getHttpServletRequest, getHttpServletResponse, getJSVariable, getOnclickAjax, getOptionsBuilder, getOptionsBuilder, getParameters, getParser, getPostFunction, getPreFunction, getSource, getSourceClass, getStyleClass, getTarget, getVar, isAjaxRequest, isHttpRequestHeader, out, release, setAttachTo, setBaseUrl, setErrorFunction, setEventType, setParameters, setParser, setPostFunction, setPreFunction, setSource, setSourceClass, setStyleClass, setTarget, setVar, skipBody |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
AjaxTreeTag
public AjaxTreeTag()
getTreeClass
public String getTreeClass()
setTreeClass
public void setTreeClass(String treeClass)
getNodeClass
public String getNodeClass()
setNodeClass
public void setNodeClass(String nodeClass)
getCollapsedClass
public String getCollapsedClass()
setCollapsedClass
public void setCollapsedClass(String collapsedClass)
getExpandedClass
public String getExpandedClass()
setExpandedClass
public void setExpandedClass(String expandedClass)
getJsClass
protected String getJsClass()
- Description copied from class:
BaseAjaxBodyTag
- Return JavaScript class for JavaScript class corresponding to this tag (e.g.
"AjaxJspTag.Submit" for AjaxSubmitTag Java tag).
- Overrides:
getJsClass
in class BaseAjaxBodyTag
- Returns:
- String with JavaScript class suffix
getOptions
protected OptionsBuilder getOptions()
- Description copied from class:
BaseAjaxBodyTag
- Options for JavaScript generation.
- Overrides:
getOptions
in class BaseAjaxBodyTag
- Returns:
- default options
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspException
- Specified by:
doEndTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in class javax.servlet.jsp.tagext.BodyTagSupport
- Throws:
javax.servlet.jsp.JspException
releaseTag
protected void releaseTag()
- Description copied from class:
BaseAjaxBodyTag
- Never call release() from releaseTag() -> ends in loop.
- Overrides:
releaseTag
in class BaseAjaxBodyTag
Copyright © 2005-2010 The Ajaxtags Team. All Rights Reserved.