Package com.smartgwt.client.widgets.tile
Class UpdateTileCustomizer
java.lang.Object
com.smartgwt.client.widgets.tile.UpdateTileCustomizer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetGrid()
Returns the TileGrid associated with this customizer.protected void
abstract void
updateTile
(Record record, Integer tileIndex, Canvas reclaimedTile) If both this method andTileGrid.createTile
are defined andrecycleTiles
is true, this method will be called when the framework needs to recycle a tile to be used with a new record.
-
Constructor Details
-
UpdateTileCustomizer
public UpdateTileCustomizer()
-
-
Method Details
-
setGrid
-
getGrid
Returns the TileGrid associated with this customizer.- Returns:
- the TileGrid
-
updateTile
If both this method andTileGrid.createTile
are defined andrecycleTiles
is true, this method will be called when the framework needs to recycle a tile to be used with a new record. This notification provides an opportunity to update any widget properties that depend on the specifics of the record.- Parameters:
record
- record that will be associated with the recycled tiletileIndex
- index of the record in the tileGridreclaimedTile
- the tile to be recycled
-