com.google.gwt.widgetideas.table.client
Class FixedWidthGridBulkRenderer
java.lang.Object
com.google.gwt.widgetideas.table.client.TableBulkRenderer
com.google.gwt.widgetideas.table.client.GridBulkRenderer
com.google.gwt.widgetideas.table.client.FixedWidthGridBulkRenderer
public class FixedWidthGridBulkRenderer
- extends GridBulkRenderer
Helper class to bulk load FixedWidthGrid
tables.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FixedWidthGridBulkRenderer
public FixedWidthGridBulkRenderer(FixedWidthGrid table,
int numColumns)
- Constructor. Takes in the number of columns in the table to allow efficient
creation of the header row.
- Parameters:
table
- table to be bulk renderednumColumns
- number of columns in table
addChainingCallback
protected void addChainingCallback(TableBulkRenderer.RenderingOptions options)
- Description copied from class:
GridBulkRenderer
- Adds the chaining callback to the given options. Pulled out to allow
subclasses to override.
- Overrides:
addChainingCallback
in class GridBulkRenderer
- Parameters:
options
- options to add the chaining callback to
getBulkLoadedGhostRow
protected com.google.gwt.user.client.Element getBulkLoadedGhostRow(HTMLTable table)
- Gets the new ghost element from the table.
- Parameters:
table
- the table
- Returns:
- the new ghost row
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 GridBulkRenderer
- Parameters:
iterator
- Iterator of row iteratorsoptions
- rendering options for this table