
public abstract class GridBaseAppearance extends Object implements GridView.GridAppearance
| Modifier and Type | Class and Description |
|---|---|
static interface |
GridBaseAppearance.GridResources |
static interface |
GridBaseAppearance.GridStyle |
static interface |
GridBaseAppearance.GridTemplates |
| Constructor and Description |
|---|
GridBaseAppearance(GridBaseAppearance.GridResources resources) |
| Modifier and Type | Method and Description |
|---|---|
Element |
findCell(Element elem) |
Element |
findRow(Element elem) |
Element |
getRowBody(Element row) |
NodeList<Element> |
getRows(XElement parent) |
void |
onCellSelect(Element cell,
boolean select) |
void |
onRowHighlight(Element row,
boolean highlight) |
void |
onRowOver(Element row,
boolean over) |
void |
onRowSelect(Element row,
boolean select) |
void |
render(SafeHtmlBuilder sb)
Renders the HTML markup for the widget.
|
SafeHtml |
renderEmptyContent(String emptyText) |
GridView.GridStyles |
styles() |
public GridBaseAppearance(GridBaseAppearance.GridResources resources)
public void render(SafeHtmlBuilder sb)
GridView.GridAppearancerender in interface GridView.GridAppearancesb - the safe html builderpublic GridView.GridStyles styles()
styles in interface GridView.GridAppearancepublic Element findRow(Element elem)
findRow in interface GridView.GridAppearancepublic NodeList<Element> getRows(XElement parent)
getRows in interface GridView.GridAppearancepublic Element findCell(Element elem)
findCell in interface GridView.GridAppearancepublic void onRowOver(Element row, boolean over)
onRowOver in interface GridView.GridAppearancepublic void onRowHighlight(Element row, boolean highlight)
onRowHighlight in interface GridView.GridAppearancepublic void onRowSelect(Element row, boolean select)
onRowSelect in interface GridView.GridAppearancepublic void onCellSelect(Element cell, boolean select)
onCellSelect in interface GridView.GridAppearancepublic Element getRowBody(Element row)
getRowBody in interface GridView.GridAppearancepublic SafeHtml renderEmptyContent(String emptyText)
renderEmptyContent in interface GridView.GridAppearanceCopyright © 2015. All rights reserved.