com.sencha.gxt.theme.base.client.grid
Class GridBaseAppearance

java.lang.Object
  extended by com.sencha.gxt.theme.base.client.grid.GridBaseAppearance
All Implemented Interfaces:
GridView.GridAppearance
Direct Known Subclasses:
BlueGridAppearance, GrayGridAppearance

public abstract class GridBaseAppearance
extends java.lang.Object
implements GridView.GridAppearance


Nested Class Summary
static interface GridBaseAppearance.GridResources
           
static interface GridBaseAppearance.GridStyle
           
static interface GridBaseAppearance.GridTemplates
           
 
Constructor Summary
GridBaseAppearance(GridBaseAppearance.GridResources resources)
           
 
Method Summary
 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(java.lang.String emptyText)
           
 GridView.GridStyles styles()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridBaseAppearance

public GridBaseAppearance(GridBaseAppearance.GridResources resources)
Method Detail

render

public void render(SafeHtmlBuilder sb)
Description copied from interface: GridView.GridAppearance
Renders the HTML markup for the widget.

Specified by:
render in interface GridView.GridAppearance
Parameters:
sb - the safe html builder

styles

public GridView.GridStyles styles()
Specified by:
styles in interface GridView.GridAppearance

findRow

public Element findRow(Element elem)
Specified by:
findRow in interface GridView.GridAppearance

getRows

public NodeList<Element> getRows(XElement parent)
Specified by:
getRows in interface GridView.GridAppearance

findCell

public Element findCell(Element elem)
Specified by:
findCell in interface GridView.GridAppearance

onRowOver

public void onRowOver(Element row,
                      boolean over)
Specified by:
onRowOver in interface GridView.GridAppearance

onRowHighlight

public void onRowHighlight(Element row,
                           boolean highlight)
Specified by:
onRowHighlight in interface GridView.GridAppearance

onRowSelect

public void onRowSelect(Element row,
                        boolean select)
Specified by:
onRowSelect in interface GridView.GridAppearance

onCellSelect

public void onCellSelect(Element cell,
                         boolean select)
Specified by:
onCellSelect in interface GridView.GridAppearance

getRowBody

public Element getRowBody(Element row)
Specified by:
getRowBody in interface GridView.GridAppearance

renderEmptyContent

public SafeHtml renderEmptyContent(java.lang.String emptyText)
Specified by:
renderEmptyContent in interface GridView.GridAppearance


Copyright © 2012. All Rights Reserved.