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 |
Modifier and Type | Field and Description |
---|---|
protected GridBaseAppearance.GridResources |
resources |
protected GridBaseAppearance.GridStyle |
style |
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) |
<any> |
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() |
protected final GridBaseAppearance.GridResources resources
protected final GridBaseAppearance.GridStyle style
public GridBaseAppearance(GridBaseAppearance.GridResources resources)
public void render(SafeHtmlBuilder sb)
GridView.GridAppearance
render
in interface GridView.GridAppearance
sb
- the safe html builderpublic GridView.GridStyles styles()
styles
in interface GridView.GridAppearance
public Element findRow(Element elem)
findRow
in interface GridView.GridAppearance
public <any> getRows(XElement parent)
getRows
in interface GridView.GridAppearance
public Element findCell(Element elem)
findCell
in interface GridView.GridAppearance
public void onRowOver(Element row, boolean over)
onRowOver
in interface GridView.GridAppearance
public void onRowHighlight(Element row, boolean highlight)
onRowHighlight
in interface GridView.GridAppearance
public void onRowSelect(Element row, boolean select)
onRowSelect
in interface GridView.GridAppearance
public void onCellSelect(Element cell, boolean select)
onCellSelect
in interface GridView.GridAppearance
public Element getRowBody(Element row)
getRowBody
in interface GridView.GridAppearance
public SafeHtml renderEmptyContent(String emptyText)
renderEmptyContent
in interface GridView.GridAppearance
Copyright © 2018. All rights reserved.