public class BaseRenderer<T> extends Object implements Renderer<T>
AbstractDataView.
| Modifier and Type | Field and Description |
|---|---|
protected gwt.material.design.client.constants.IconSize |
sortIconSize |
| Constructor and Description |
|---|
BaseRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
calculateRowHeight(RowComponent<T> row) |
void |
copy(Renderer<T> renderer) |
TableSubHeader |
drawCategory(CategoryComponent category) |
TableData |
drawColumn(TableRow row,
com.google.gwt.cell.client.Cell.Context context,
T rowValue,
Column<T,?> column,
int beforeIndex,
boolean visible) |
TableHeader |
drawColumnHeader(Column<T,?> column,
String header,
int index) |
TableRow |
drawCustom(Component<?> component) |
TableRow |
drawRow(DataView<T> dataView,
RowComponent<T> rowComponent,
Object valueKey,
List<Column<T,?>> columns,
boolean redraw) |
TableData |
drawSelectionCell() |
void |
drawSortIcon(TableHeader th,
SortContext<T> sortContext) |
int |
getCalculatedRowHeight() |
int |
getExpectedRowHeight() |
gwt.material.design.client.constants.IconType |
getSortAscIcon() |
gwt.material.design.client.constants.IconType |
getSortDescIcon() |
gwt.material.design.client.constants.IconSize |
getSortIconSize() |
void |
setExpectedRowHeight(int expectedRowHeight) |
void |
setSortAscIcon(gwt.material.design.client.constants.IconType sortAscIcon) |
void |
setSortDescIcon(gwt.material.design.client.constants.IconType sortDescIcon) |
void |
setSortIconSize(gwt.material.design.client.constants.IconSize sortIconSize) |
protected gwt.material.design.client.constants.IconSize sortIconSize
public BaseRenderer()
public TableRow drawRow(DataView<T> dataView, RowComponent<T> rowComponent, Object valueKey, List<Column<T,?>> columns, boolean redraw)
public TableSubHeader drawCategory(CategoryComponent category)
drawCategory in interface Renderer<T>public TableRow drawCustom(Component<?> component)
drawCustom in interface Renderer<T>public TableData drawSelectionCell()
drawSelectionCell in interface Renderer<T>public TableData drawColumn(TableRow row, com.google.gwt.cell.client.Cell.Context context, T rowValue, Column<T,?> column, int beforeIndex, boolean visible)
drawColumn in interface Renderer<T>public TableHeader drawColumnHeader(Column<T,?> column, String header, int index)
drawColumnHeader in interface Renderer<T>public void drawSortIcon(TableHeader th, SortContext<T> sortContext)
drawSortIcon in interface Renderer<T>public int getExpectedRowHeight()
getExpectedRowHeight in interface Renderer<T>public void setExpectedRowHeight(int expectedRowHeight)
setExpectedRowHeight in interface Renderer<T>public void calculateRowHeight(RowComponent<T> row)
calculateRowHeight in interface Renderer<T>public int getCalculatedRowHeight()
getCalculatedRowHeight in interface Renderer<T>public gwt.material.design.client.constants.IconType getSortAscIcon()
getSortAscIcon in interface Renderer<T>public void setSortAscIcon(gwt.material.design.client.constants.IconType sortAscIcon)
setSortAscIcon in interface Renderer<T>public gwt.material.design.client.constants.IconType getSortDescIcon()
getSortDescIcon in interface Renderer<T>public void setSortDescIcon(gwt.material.design.client.constants.IconType sortDescIcon)
setSortDescIcon in interface Renderer<T>public gwt.material.design.client.constants.IconSize getSortIconSize()
getSortIconSize in interface Renderer<T>public void setSortIconSize(gwt.material.design.client.constants.IconSize sortIconSize)
setSortIconSize in interface Renderer<T>Copyright © 2018. All rights reserved.