org.objectweb.jonas.webapp.taglib
Class TreeControlRenderTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.objectweb.jonas.webapp.taglib.TreeControlTag
          extended by org.objectweb.jonas.webapp.taglib.TreeControlRenderTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class TreeControlRenderTag
extends TreeControlTag

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.jonas.webapp.taglib.TreeControlTag
action, images, scope, style, styleSelected, styleUnselected, tree
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
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
 
Constructor Summary
TreeControlRenderTag()
           
 
Method Summary
 int doEndTag()
          Render this tree control.
protected  void render(javax.servlet.jsp.JspWriter out, TreeControlNode node, int level, int width, boolean last)
          Render the specified node, as controlled by the specified parameters.
 
Methods inherited from class org.objectweb.jonas.webapp.taglib.TreeControlTag
getAction, getImages, getScope, getStyle, getStyleSelected, getStyleUnselected, getTree, getTreeControl, release, replace, setAction, setImages, setScope, setStyle, setStyleSelected, setStyleUnselected, setTree
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doStartTag, 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
 

Constructor Detail

TreeControlRenderTag

public TreeControlRenderTag()
Method Detail

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Render this tree control.

Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class TreeControlTag
Throws:
javax.servlet.jsp.JspException - if a processing error occurs

render

protected void render(javax.servlet.jsp.JspWriter out,
                      TreeControlNode node,
                      int level,
                      int width,
                      boolean last)
               throws java.io.IOException
Render the specified node, as controlled by the specified parameters.

Overrides:
render in class TreeControlTag
Parameters:
out - The JspWriter to which we are writing
node - The TreeControlNode we are currently rendering
level - The indentation level of this node in the tree
width - Total displayable width of the tree
last - Is this the last node in a list?
Throws:
java.io.IOException - if an input/output error occurs