com.google.gwt.widgetideas.table.client
Class GridBulkRenderer

java.lang.Object
  extended by com.google.gwt.widgetideas.table.client.TableBulkRenderer
      extended by com.google.gwt.widgetideas.table.client.GridBulkRenderer
Direct Known Subclasses:
FixedWidthGridBulkRenderer

public class GridBulkRenderer
extends TableBulkRenderer

Allows bulk rendering of Grids.

Must use the Grid in the overrides package.


Nested Class Summary
protected  class GridBulkRenderer.ChainingCallback
          Grids need repair code after the table is constructed.
 
Nested classes/interfaces inherited from class com.google.gwt.widgetideas.table.client.TableBulkRenderer
TableBulkRenderer.CellRenderer, TableBulkRenderer.RenderingOptions, TableBulkRenderer.StringCellRenderer
 
Field Summary
 
Fields inherited from class com.google.gwt.widgetideas.table.client.TableBulkRenderer
MAX_TIME, ROWS_PER_TIME_CHECK, TIME_SLICE
 
Constructor Summary
GridBulkRenderer(Grid grid)
          Constructor.
 
Method Summary
protected  void addChainingCallback(TableBulkRenderer.RenderingOptions options)
          Adds the chaining callback to the given options.
protected  void renderRows(java.util.Iterator<java.util.Iterator<java.lang.Object>> iterator, TableBulkRenderer.RenderingOptions options)
          Work horse protected rendering method.
 
Methods inherited from class com.google.gwt.widgetideas.table.client.TableBulkRenderer
getCellRenderer, getTable, renderRows, renderRows, renderRows, renderRows, renderRows, setCellRenderer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridBulkRenderer

public GridBulkRenderer(Grid grid)
Constructor.

Parameters:
grid - Grid to be be bulk rendered
Method Detail

addChainingCallback

protected void addChainingCallback(TableBulkRenderer.RenderingOptions options)
Adds the chaining callback to the given options. Pulled out to allow subclasses to override.

Parameters:
options - options to add the chaining callback to

renderRows

protected void renderRows(java.util.Iterator<java.util.Iterator<java.lang.Object>> iterator,
                          TableBulkRenderer.RenderingOptions options)
Description copied from class: TableBulkRenderer
Work horse protected rendering method.

Overrides:
renderRows in class TableBulkRenderer
Parameters:
iterator - Iterator of row iterators
options - rendering options for this table