GridComponent Class

com.bea.wlw.netui.tags.databinding.grid
GridComponent Class

public abstract class GridComponent

    extends StructuredBaseTag

An abstract base class for all tags that can be contained directly inside of a Grid tag. This class provides services to subclasses such as methods to access:

Additionally, the requirement that any subclass be parented by a Grid is enforced here.


Hierarchy
Object
  TagSupport
    BodyTagSupport
      AbstractBaseTag
        StructuredBaseTag
          GridComponent
All Implemented Interfaces

BodyTag, IterationTag, Serializable, Tag
Direct Known Subclasses

Columns, GridColumn, GridStyle, Pager

Field Summary

   
Fields from  com.bea.wlw.netui.tags.databinding.base.StructuredBaseTag
EMPTY_STRING
 
Fields from  com.bea.wlw.netui.tags.AbstractBaseTag
ATTR_GENERAL, ATTR_GENERAL_EXPRESSION, ATTR_JAVASCRIPT, ATTR_STYLE, CLASS, ID, JAVASCRIPT_STATUS, NAME, NETUI_UNIQUE_CNT, ONCLICK, ONDBLCLICK, ONKEYDOWN, ONKEYPRESS, ONKEYUP, ONMOUSEDOWN, ONMOUSEMOVE, ONMOUSEOUT, ONMOUSEOVER, ONMOUSEUP, STYLE, TABINDEX
 
Fields from  javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields from  javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 

Constructor Summary

GridComponent()

 

Method Summary

protected int
getCurrentRenderState()
Get the current render state of the parent Grid tag.
protected final Grid
getGrid()
Get the parent Grid tag.
protected final GridContext
getGridContext()
Get the Grid tag's GridContext.
protected Class
getValidContainerType()
Get the default container tag type for subclasses of this tag.
protected void
localRelease()
Reset all of the fields of this tag.
protected void
prepare()
Prepare data that is provided to subclasses of this tag.
 
Methods from  com.bea.wlw.netui.tags.databinding.base.StructuredBaseTag
addContent, doEndTag, doStartTag, getContent, renderEndTag, renderStartTag, verifyAttributes, verifyStructure
 
Methods from  com.bea.wlw.netui.tags.AbstractBaseTag
addTagIdMapping, evaluateAttributeToString, filter, filter, getJavaScriptUtils, getNearestForm, getScriptReporter, getTagName, getUserLocale, localRelease, registerTagError, release, renderAttribute, rewriteName, write
 
Methods from  javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doEndTag, doInitBody, doStartTag, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods from  javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface javax.servlet.jsp.tagext.BodyTag
doInitBody, setBodyContent
 
Methods from interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
 
Methods from interface javax.servlet.jsp.tagext.Tag
doEndTag, doStartTag, getParent, release, setPageContext, setParent
 

Constructor Detail

GridComponent

public GridComponent()
 

Method Detail

getCurrentRenderState() Method

protected int getCurrentRenderState()
Get the current render state of the parent Grid tag.

Overrides
StructuredBaseTag.getCurrentRenderState()

Returns

the Grid's current render state

Related Topics

Grid.getRenderState()


getGrid() Method

protected final Grid getGrid()
Get the parent Grid tag.

Returns

the Grid tag

getGridContext() Method

protected final GridContext getGridContext()
Get the Grid tag's GridContext.

Returns

the GridContext

getValidContainerType() Method

protected Class getValidContainerType()
Get the default container tag type for subclasses of this tag. Subclasses may further specify the valid container type.

Overrides
StructuredBaseTag.getValidContainerType()

Returns

a class that is a valid container type for this tag

localRelease() Method

protected void localRelease()
Reset all of the fields of this tag.

Overrides
StructuredBaseTag.localRelease()

prepare() Method

protected void prepare()
Prepare data that is provided to subclasses of this tag.

Overrides
StructuredBaseTag.prepare()