GridStyle Class
- public class GridStyle
extends GridComponent
A tag that allows parameterization of the style components of the HTML
table that a Grid renders. Styles are rendered in several locations in the
table that the Grid renders. See the Grid
tag description for the structure of the table that the Grid renders. The styles defined
here are mapped to these regions as follows:
Grid Region Name | HTML Element | Style Attribute |
Table | table tag | tableClass |
Header | table row tag | headerClass |
Data Row | table row tag | rowClass |
Footer | table row tag | footerClass |
Attribute Descriptions |
Attribute | Required | Runtime Expression Evaluation | Data Bindable |
styleClassPrefix | No | No | No |
The CSS style prefix that will be used to create the style class names
for regions in the Grid. |
Related Topics
<netui-data:grid> Tag Sample
Grid
-
Hierarchy
-
Object
TagSupport
BodyTagSupport
AbstractBaseTag
StructuredBaseTag
GridComponent
GridStyle
-
All Implemented Interfaces
-
BodyTag
, IterationTag
, Serializable
, Tag
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
|
Methods from com.bea.wlw.netui.tags.databinding.base.StructuredBaseTag |
addContent, doEndTag, doStartTag, getContent, getCurrentRenderState, getValidContainerType, localRelease, prepare, verifyAttributes, verifyStructure |
Methods from com.bea.wlw.netui.tags.AbstractBaseTag |
addTagIdMapping , evaluateAttributeToString , filter , filter , getJavaScriptUtils , getNearestForm , getScriptReporter , getUserLocale , localRelease , registerTagError , release , renderAttribute , rewriteName , write
|
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 |
GridStyle
public GridStyle()
getStyleClassPrefix() Method
public String
getStyleClassPrefix()
Get the footer style class
Returns
- the footer style class or
null
if none is set
getTagName() Method
public String
getTagName()
Get the name of this tag. This is used to identify the type of this tag
for reporting tag errors.
-
Overrides
-
AbstractBaseTag.getTagName()
Returns
- a constant String representing the name of this tag.
localRelease() Method
protected void localRelease()
Reset all of the fields of this tag.
-
Overrides
-
GridComponent.localRelease()
renderEndTag(int) Method
protected int renderEndTag(int gridState)
Complete the tag lifecycle. Set the created GridStyleContext
JavaBean on the Grid tag.
-
Overrides
- StructuredBaseTag.renderEndTag(int)
Parameters
-
gridState
- the current rendering state of the grid
Returns
- EVAL_PAGE
renderStartTag(int) Method
protected int renderStartTag(int gridState)
Start the tag lifecycle.
-
Overrides
- StructuredBaseTag.renderStartTag(int)
Returns
- SKIP_BODY
setStyleClassPrefix(String) Method
public void setStyleClassPrefix(String
styleClassPrefix)
Set the footer style class.
Parameters
-
styleClassPrefix
- the footer style class