BEA NetUI tags and APIs are included for backward compatibility only. For new applications, use the Beehive tags and APIs.

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

java.lang.Object
  extended by com.bea.wlw.netui.tags.databinding.base.style.AbstractStyleContext
      extended by com.bea.wlw.netui.tags.databinding.grid.style.GridStyleContext

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.


Constructor Summary
GridStyleContext()
           
 
Method Summary
 String getStyleClassPrefix()
          Get the footer style class
 String renderAlternatingRowStyle()
          A method to render an HTML table row tag with the appropriate row style / alternating row style information into the given UnsyncStringBuffer.
 String renderFooterStyle()
          A method to render an HTML table row tag with the appropriate footer style information into the given UnsyncStringBuffer.
 String renderHeaderStyle()
          A method to render an HTML table row tag with the appropriate header style information into the given UnsyncStringBuffer
 String renderRowStyle()
          A method that will render the style class into the UnsyncStringBuffer.
 String renderTableStyle()
          A method that will render the style class into the UnsyncStringBuffer.
 void setStyleClassPrefix(String styleClassPrefix)
          Set the footer style class.
 
Methods inherited from class com.bea.wlw.netui.tags.databinding.base.style.AbstractStyleContext
getRowClass, getTableClass, renderStyle, setRowClass, setTableClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridStyleContext

public GridStyleContext()
Method Detail

setStyleClassPrefix

public void setStyleClassPrefix(String styleClassPrefix)
Set the footer style class.

Parameters:
styleClassPrefix - the footer style class

getStyleClassPrefix

public String getStyleClassPrefix()
Get the footer style class

Returns:
the footer style class or null if none is set

renderHeaderStyle

public String renderHeaderStyle()
A method to render an HTML table row tag with the appropriate header style information into the given UnsyncStringBuffer


renderFooterStyle

public String renderFooterStyle()
A method to render an HTML table row tag with the appropriate footer style information into the given UnsyncStringBuffer.


renderAlternatingRowStyle

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.


renderTableStyle

public String renderTableStyle()
Description copied from class: AbstractStyleContext
A method that will render the style class into the UnsyncStringBuffer.

Overrides:
renderTableStyle in class AbstractStyleContext

renderRowStyle

public String renderRowStyle()
Description copied from class: AbstractStyleContext
A method that will render the style class into the UnsyncStringBuffer.

Overrides:
renderRowStyle in class AbstractStyleContext

BEA NetUI tags and APIs are included for backward compatibility only. For new applications, use the Beehive tags and APIs.