public interface GridRenderer
DefaultGridRenderer
or HierarchicalGridRenderer.| Modifier and Type | Method and Description |
|---|---|
void |
drawCell(Object data,
int row,
int column,
boolean active)
This method draws a particular cell.
|
void |
drawColumn(Object[] data,
int column,
boolean overwrite)
This method draws a column.
|
void |
drawContent(GridDataModel model)
This method renders grid content.
|
void |
drawHeaders(Object[] headers)
This method renders column headers.
|
void |
drawRow(Object[] data,
int row)
This method renders a particular row.
|
int |
getModelRow(int row)
This method converts grid row number to model row number.
|
int |
getRowByModelRow(int modelRow)
Gets a grid row number on the displayed page by a model row number.
|
void drawHeaders(Object[] headers)
headers - is a list of header values to be rendered.void drawContent(GridDataModel model)
model - is a model to be applied.void drawRow(Object[] data, int row)
data - is a row data array.row - is a row number.void drawCell(Object data, int row, int column, boolean active)
data - is a cell data.row - is a row number.column - is a column number.active - is a falg that indicates that the cell must be active.int getModelRow(int row)
row - is a row number.int getRowByModelRow(int modelRow)
modelRow - is a model row number.void drawColumn(Object[] data, int column, boolean overwrite)
data - is a column data to draw.column - is a column numberoverwrite - is a flag that means whether it's required to overwrite the column cells.Copyright © 2008–2013. All rights reserved.