Package com.smartgwt.client.widgets.tile

# Class UpdateTileCustomizer

java.lang.Object
com.smartgwt.client.widgets.tile.UpdateTileCustomizer

public abstract class UpdateTileCustomizer extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `UpdateTileCustomizer()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `TileGrid`
  `getGrid()`
  Returns the TileGrid associated with this customizer.
  `protected void`
  `setGrid(TileGrid grid)`
  `abstract void`
  `updateTile(Record record, 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.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### UpdateTileCustomizer

    public UpdateTileCustomizer()

- ## Method Details

  - ### setGrid

    protected void setGrid(TileGrid grid)

  - ### getGrid

    public TileGrid getGrid()
    Returns the TileGrid associated with this customizer.
    Returns:
      the TileGrid

  - ### updateTile

    public abstract void updateTile(Record record, 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. 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 tile
      `tileIndex` - index of the record in the tileGrid
      `reclaimedTile` - the tile to be recycled