com.extjs.gxt.ui.client.widget.treegrid
Class WidgetTreeGridCellRenderer<M extends ModelData>

java.lang.Object
  extended by com.extjs.gxt.ui.client.widget.treegrid.TreeGridCellRenderer<M>
      extended by com.extjs.gxt.ui.client.widget.treegrid.WidgetTreeGridCellRenderer<M>
Type Parameters:
M - the model type
All Implemented Interfaces:
GridCellRenderer<M>

public abstract class WidgetTreeGridCellRenderer<M extends ModelData>
extends TreeGridCellRenderer<M>

A TreeGridCellRenderer that adds widget support.


Constructor Summary
WidgetTreeGridCellRenderer()
           
 
Method Summary
abstract  com.google.gwt.user.client.ui.Widget getWidget(M model, java.lang.String property, ColumnData config, int rowIndex, int colIndex, ListStore<M> store, Grid<M> grid)
           
 java.lang.Object render(M model, java.lang.String property, ColumnData config, int rowIndex, int colIndex, ListStore<M> store, Grid<M> grid)
          Returns the HTML to be used in a grid cell.
 
Methods inherited from class com.extjs.gxt.ui.client.widget.treegrid.TreeGridCellRenderer
calcualteJoint, calculateIconStyle, getId, getText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WidgetTreeGridCellRenderer

public WidgetTreeGridCellRenderer()
Method Detail

render

public java.lang.Object render(M model,
                               java.lang.String property,
                               ColumnData config,
                               int rowIndex,
                               int colIndex,
                               ListStore<M> store,
                               Grid<M> grid)
Description copied from interface: GridCellRenderer
Returns the HTML to be used in a grid cell.

Specified by:
render in interface GridCellRenderer<M extends ModelData>
Overrides:
render in class TreeGridCellRenderer<M extends ModelData>
Parameters:
model - the model
property - the model property
config - the column config
rowIndex - the row index
colIndex - the cell index
store - the data store
grid - the grid
Returns:
the cell HTML or Component instance

getWidget

public abstract com.google.gwt.user.client.ui.Widget getWidget(M model,
                                                               java.lang.String property,
                                                               ColumnData config,
                                                               int rowIndex,
                                                               int colIndex,
                                                               ListStore<M> store,
                                                               Grid<M> grid)