JIDE 3.5.15

com.jidesoft.pivot
Interface PivotCellStyleProvider

All Known Subinterfaces:
PivotCornerCellStyleProvider

public interface PivotCellStyleProvider

PivotCellStyleProvider is an interface to allow user to customize the CellStyle for the data table, the row header table and the column header table in the pivot table.


Method Summary
 CellStyle getColumnHeaderCellStyleAt(HeaderTableModel model, int rowIndex, int columnIndex)
          Gets the CellStyle for the column header table cells.
 CellStyle getDataTableCellStyleAt(DataTableModel model, HeaderTableModel rowHeaderModel, HeaderTableModel columnHeaderModel, int rowIndex, int columnIndex)
          Gets the CellStyle for the data table in the pivot table.
 CellStyle getRowHeaderCellStyleAt(HeaderTableModel model, int rowIndex, int columnIndex)
          Gets the CellStyle for the row header table cells.
 

Method Detail

getRowHeaderCellStyleAt

CellStyle getRowHeaderCellStyleAt(HeaderTableModel model,
                                  int rowIndex,
                                  int columnIndex)
Gets the CellStyle for the row header table cells.

Parameters:
model - the HeaderTableModel which is used by the row header table.
rowIndex - the row index
columnIndex - the column index.
Returns:
the CellStyle for the row header table cells.

getColumnHeaderCellStyleAt

CellStyle getColumnHeaderCellStyleAt(HeaderTableModel model,
                                     int rowIndex,
                                     int columnIndex)
Gets the CellStyle for the column header table cells.

Parameters:
model - the HeaderTableModel which is used by the column header table.
rowIndex - the row index
columnIndex - the column index.
Returns:
the CellStyle for the column header table cells.

getDataTableCellStyleAt

CellStyle getDataTableCellStyleAt(DataTableModel model,
                                  HeaderTableModel rowHeaderModel,
                                  HeaderTableModel columnHeaderModel,
                                  int rowIndex,
                                  int columnIndex)
Gets the CellStyle for the data table in the pivot table.

Parameters:
model - the DataTableModel which is used by the data table.
rowHeaderModel - the HeaderTableModel which is used by the row header table.
columnHeaderModel - the HeaderTableModel which is used by the column header table.
rowIndex - the row index
columnIndex - the column index.
Returns:
the CellStyle for the data table in the pivot table.

JIDE 3.5.15