public class IlpImageBackground extends IlpAbstractMapDataSourceBackground
Modifier and Type | Field and Description |
---|---|
static String |
TILE_HEIGHT_PROPERTY
The tile height property.
|
static String |
TILE_WIDTH_PROPERTY
The tile width property.
|
managerLayers
LOAD_ON_DEMAND_PROPERTY, THREADED_PROPERTY, URL_PROPERTY, VISIBLE_PROPERTY
Constructor and Description |
---|
IlpImageBackground()
Defines the default values for properties defined in this background type.
|
Modifier and Type | Method and Description |
---|---|
IlvMapDataSource |
createMapDataSource(IlpViewsView view)
Creates an
ilog.views.maps.datasource.IlvMapDataSource that
can handle the supported raster formats. |
protected IlvMapStyle |
createMapStyle()
If no style is already being defined in the
IlvMapDataSource ,
it by default creates an IlvRasterStyle . |
protected IlvFeatureRenderer |
createRenderer(IlpViewsView view,
URL backgroundURL,
IlvMapFeatureIterator featureIterator)
Creates a renderer for the attributes of the map.
|
int |
getTileHeight()
Returns the tile height for this background.
|
int |
getTileWidth()
Returns the tile width for this background.
|
void |
setTileHeight(int tileHeight)
Sets the tile height for this background.
|
void |
setTileWidth(int tileWidth)
Sets the tile width for this background.
|
create, createRenderer, customizeMapStyle, dispose, getMapDataSource, getMapStyle
addLayer, addLayers, addPropertyChangeListener, endBatch, getManagerLayer, getManagerLayers, getManagerLayersCount, getProperties, getProperty, getUrl, isLoadOnDemand, isThreaded, isVisible, removeLayer, removeLayers, removePropertyChangeListener, setLoadOnDemand, setProperty, setThreaded, setUrl, setVisible, startBatch
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, getManagerLayer, getManagerLayers, getManagerLayersCount, getProperty, removePropertyChangeListener, setProperty
public static final String TILE_WIDTH_PROPERTY
Setting this property causes the background to be re-generated.
public static final String TILE_HEIGHT_PROPERTY
Setting this property causes the background to be re-generated.
public IlpImageBackground()
public IlvMapDataSource createMapDataSource(IlpViewsView view) throws IlpBackgroundHandlingException
ilog.views.maps.datasource.IlvMapDataSource
that
can handle the supported raster formats.view
- the IlpViewsView being usedIlpBackgroundHandlingException
- in case that there is problem handling this operation.IlpMapDataSourceBackground.createMapDataSource(ilog.cpl.graphic.views.IlpViewsView)
protected IlvFeatureRenderer createRenderer(IlpViewsView view, URL backgroundURL, IlvMapFeatureIterator featureIterator)
protected IlvMapStyle createMapStyle() throws IlpBackgroundHandlingException
IlvMapDataSource
,
it by default creates an IlvRasterStyle
.createMapStyle
in class IlpAbstractMapDataSourceBackground
ilog.views.maps.graphic.style.IlvMapStyle
to
be used by this background's
ilog.views.maps.datasource.IlvMapDataSource
.IlpBackgroundHandlingException
- if a problem occurs.IlpAbstractMapDataSourceBackground.createMapStyle()
public int getTileHeight()
public int getTileWidth()
public void setTileWidth(int tileWidth)
tileWidth
- the tile width.public void setTileHeight(int tileHeight)
tileHeight
- the tile height.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.