com.extjs.gxt.ui.client.widget.treegrid
Class WidgetTreeGridCellRenderer<M extends ModelData>
java.lang.Object
com.extjs.gxt.ui.client.widget.treegrid.TreeGridCellRenderer<M>
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.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WidgetTreeGridCellRenderer
public WidgetTreeGridCellRenderer()
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 modelproperty
- the model propertyconfig
- the column configrowIndex
- the row indexcolIndex
- the cell indexstore
- the data storegrid
- 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)