# com.bea.wlw.netui.tags.databinding.grid.style
GridStyleContext Class

public class GridStyleContext
extends `AbstractStyleContext`

A JavaBean that contains the style information about a Grid. Because a Grid rendering lifecycle makes several passes through the body and the `GridStyle``` tag is created and destroyed several times during these cycles, a single JavaBean is created that contains the style information for a Grid. This JavaBean is set on the Grid using the `Grid.setGridStyle(GridStyleContext)``` method.

Hierarchy
  `Object`
  `AbstractStyleContext`
  `GridStyleContext`

## Constructor Summary

GridStyleContext()

## Method Summary

`public `String`` | `getStyleClassPrefix`() Get the footer style class
`public `String`` | `renderAlternatingRowStyle`() A method to render an HTML table row tag with the appropriate row style / alternating row style information into the given UnsyncStringBuffer.
`public `String`` | `renderFooterStyle`() A method to render an HTML table row tag with the appropriate footer style information into the given UnsyncStringBuffer.
`public `String`` | `renderHeaderStyle`() A method to render an HTML table row tag with the appropriate header style information into the given UnsyncStringBuffer
`public `String`` | `renderRowStyle`()
`public `String`` | `renderTableStyle`()
`public void` | `setStyleClassPrefix`(`String` styleClassPrefix) Set the footer style class.

Methods from `com.bea.wlw.netui.tags.databinding.base.style.`AbstractStyleContext``
`getRowClass, getTableClass, renderStyle, setRowClass, setTableClass`

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

## Constructor Detail

### GridStyleContext

    public GridStyleContext()

## Method Detail

### getStyleClassPrefix() Method

    public String getStyleClassPrefix()

Get the footer style class

#### Returns

the footer style class or `null` if none is set

### renderAlternatingRowStyle() Method

    public String renderAlternatingRowStyle()

A method to render an HTML table row tag with the appropriate row style / alternating row style information into the given UnsyncStringBuffer. If the alternating row style is `null` and a row style is set, the row style is rendered on this row.

### renderFooterStyle() Method

    public String renderFooterStyle()

A method to render an HTML table row tag with the appropriate footer style information into the given UnsyncStringBuffer.

### renderHeaderStyle() Method

    public String renderHeaderStyle()

A method to render an HTML table row tag with the appropriate header style information into the given UnsyncStringBuffer

### renderRowStyle() Method

    public String renderRowStyle()

Overrides
  AbstractStyleContext.renderRowStyle()

### renderTableStyle() Method

    public String renderTableStyle()

Overrides
  AbstractStyleContext.renderTableStyle()

### setStyleClassPrefix(String) Method

    public void setStyleClassPrefix(String styleClassPrefix)

Set the footer style class.

#### Parameters

styleClassPrefix
  the footer style class