JIDE 3.5.15

com.jidesoft.grid
Interface HeaderStyleModel


public interface HeaderStyleModel

This is the style model for headers. You could let your table model to implement this interface to shape the way you want to paint the header.

Since:
3.2.0

Method Summary
 CellStyle getHeaderStyleAt(int rowIndex, int columnIndex)
          Gets the header's cell style at the specified row and column.
 boolean isHeaderStyleOn()
          Checks if the style is on.
 

Method Detail

getHeaderStyleAt

CellStyle getHeaderStyleAt(int rowIndex,
                           int columnIndex)
Gets the header's cell style at the specified row and column.

Parameters:
rowIndex - the row index
columnIndex - the column index
Returns:
CellStyle object.

isHeaderStyleOn

boolean isHeaderStyleOn()
Checks if the style is on. The CellStyleTableHeader will ignore all the CellStyles defined in this model if this method returns false.

Returns:
true if style is on. Otherwise false.

JIDE 3.5.15