org.mmbase.bridge.jsp.taglib.tree
Class GrowTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.mmbase.bridge.jsp.taglib.ContextReferrerTag
org.mmbase.bridge.jsp.taglib.CloudReferrerTag
org.mmbase.bridge.jsp.taglib.NodeReferrerTag
org.mmbase.bridge.jsp.taglib.tree.TreeReferrerTag
org.mmbase.bridge.jsp.taglib.tree.AbstractTreeReferrerListTag
org.mmbase.bridge.jsp.taglib.tree.GrowTag
- All Implemented Interfaces:
- BodyTag, ContextProvider, DepthProvider, IterationTag, ListProvider, LoopTag, Serializable, Tag, TagIdentifier
- public class GrowTag
- extends org.mmbase.bridge.jsp.taglib.tree.AbstractTreeReferrerListTag
- Since:
- MMBase-1.7
- Version:
- $Id: GrowTag.java,v 1.1 2003/12/24 00:31:38 michiel Exp $
- Author:
- Michiel Meeuwissen
- See Also:
- Serialized Form
| Methods inherited from class org.mmbase.bridge.jsp.taglib.ContextReferrerTag |
findLoopOrQuery, findParentTag, findParentTag, findParentTag, findParentTag, findWriter, findWriter, getAttribute, getAttributeBoolean, getAttributeInteger, getAttributeInteger, getAttributeValue, getContentTag, getContextProvider, getContextTag, getDefaultLocale, getEscapedValue, getId, getObject, getObjectConditional, getPageContext, getPageContextTag, getReferid, getString, getTaglibVersion, getTimeZone, getWriterValue, haveBody, release, setContext, setEscape, setId, setJspvar, setListdelimiter, setPageContext, setReferid, setVartype, setWrite, setWriter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
startDepth
protected int startDepth
endDepth
protected int endDepth
depth
protected int depth
index
protected int index
tree
protected TreeProvider tree
collector
protected ContextCollector collector
GrowTag
public GrowTag()
size
public int size()
- Returns:
- the size of the list
doStartTag
public int doStartTag()
throws JspException
- Throws:
JspException
doAfterBodyHelper
protected final int doAfterBodyHelper()
throws JspTagException
- Throws:
JspTagException
doAfterBody
public int doAfterBody()
throws JspException
- Throws:
JspException
getIndex
public int getIndex()
- Specified by:
getIndex in interface ListProvider
- Returns:
- the index of the current item in a list
getIndexOffset
public int getIndexOffset()
- Specified by:
getIndexOffset in interface ListProvider
- Returns:
- The offset of the index (normally this will return 1)
isChanged
public boolean isChanged()
- Specified by:
isChanged in interface ListProvider
- Returns:
- a boolean indicating wether the field on which was
sorted is changed.
getCurrent
public Object getCurrent()
- Specified by:
getCurrent in interface ListProvider
- Returns:
- the current item in a list
remove
public void remove()
- Description copied from interface:
ListProvider
- Removes the current item from the list.
- Specified by:
remove in interface ListProvider
getDepth
public int getDepth()
- Description copied from interface:
DepthProvider
- Returns the 'size' of the current cluster node (the number of steps (minus the relation steps))
- Specified by:
getDepth in interface DepthProvider
getContextContainer
public ContextContainer getContextContainer()
throws JspTagException
- Specified by:
getContextContainer in interface ContextProvider
- Throws:
JspTagException
doStartTagHelper
protected final void doStartTagHelper()
throws JspTagException
- Throws:
JspTagException
doEndTag
public int doEndTag()
throws JspTagException
- Specified by:
doEndTag in interface Tag- Overrides:
doEndTag in class ContextReferrerTag
- Throws:
JspTagException
getLoopStatus
public LoopTagStatus getLoopStatus()
- Specified by:
getLoopStatus in interface LoopTag
MMBase build 1.8.1.20060716