public abstract class UpdateTileCustomizer
extends java.lang.Object
Constructor and Description |
---|
UpdateTileCustomizer() |
Modifier and Type | Method and Description |
---|---|
TileGrid |
getGrid()
Returns the TileGrid associated with this customizer.
|
protected void |
setGrid(TileGrid grid) |
abstract void |
updateTile(Record record,
java.lang.Integer tileIndex,
Canvas reclaimedTile)
If both this method and
TileGrid.createTile are
defined and
recycleTiles is true,
this method will be called when the framework needs to recycle a tile to be used with a
new record. |
protected void setGrid(TileGrid grid)
public TileGrid getGrid()
public abstract void updateTile(Record record, java.lang.Integer tileIndex, Canvas reclaimedTile)
TileGrid.createTile
are
defined and
recycleTiles
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.record
- record that will be associated with the recycled tiletileIndex
- index of the record in the tileGridreclaimedTile
- the tile to be recycled