@Deprecated public class TLcdDefaultTileProvider extends ALcdTileProvider
ALcdTileProvider
retrieves the names of the
source files for the tiles from a given Properties
.Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_TILE_PROVIDER
Deprecated.
Part of the property names.
|
static String |
FILENAME
Deprecated.
Property name to specify the name of the file.
|
NO_OF_TILE_COLUMNS, NO_OF_TILE_ROWS
Constructor and Description |
---|
TLcdDefaultTileProvider()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected String |
createTileSourceName(int aRow,
int aCol)
Deprecated.
Returns the full tile source name for the specified row and column, or
null if no tile exists for the
specified (row, column) combination. |
void |
loadProperties(String aPrefix,
Properties aProperties)
Deprecated.
Initializes this tile provider with the specified properties.
|
getBasePath, getNoOfCols, getNoOfRows, getTile, isTraceOn, setBasePath, setTileDecoder, setTraceOn
public static final String DEFAULT_TILE_PROVIDER
public static final String FILENAME
public void loadProperties(String aPrefix, Properties aProperties)
ALcdTileProvider
This abstract implementation only gets the properties that specify the number of
rows and the number of columns. Overwrite this method to load properties
that are specific to your ILcdTileProvider
implementation.
First call super.loadProperties
to get the number of rows and
columns.
loadProperties
in interface ILcdTileProvider
loadProperties
in class ALcdTileProvider
aPrefix
- a prefix that is used for the properties of this tile provider.aProperties
- the properties to initialize this tile provider with.protected String createTileSourceName(int aRow, int aCol)
ALcdTileProvider
null
if no tile exists for the
specified (row, column) combination.createTileSourceName
in class ALcdTileProvider
aRow
- the row number of the tile.aCol
- the column number of the tile.null
if no tile exists for the
specified (row, column) combination..