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.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 NodeList<Element> 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 © 2015. All rights reserved.