public class IlvImageTileLoader extends IlvLayerVisibilityFilter implements IlvTileLoader
| Constructor and Description |
|---|
IlvImageTileLoader(IlvInputStream stream)
Reads a new image tile loader from an IVL stream.
|
IlvImageTileLoader(String prefix,
String suffix,
double minZoom,
double maxZoom)
Creates a new image tile loader.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isHighQualityRendering()
Returns the rendering quality of the
IlvIcon
objects created by this tile loader. |
boolean |
isPersistent()
Returns
true. |
boolean |
isVisible(IlvManagerLayer layer,
IlvManagerView view)
Returns
true when the zoom level of the view
is between the minimum and maximum zoom of this image tile loader. |
void |
load(IlvTile tile)
Implementation of the
IlvTileLoader interface. |
void |
release(IlvTile tile)
Implementation of the
IlvTileLoader interface. |
void |
setHighQualityRendering(boolean highQuality)
Sets the rendering quality of the
IlvIcon
objects created by this tile loader. |
void |
write(IlvOutputStream stream)
Writes this image tile loader to an IVL stream.
|
public IlvImageTileLoader(String prefix, String suffix, double minZoom, double maxZoom)
prefix - The prefix of the image files.suffix - The suffix of the image files.minZoom - The minimum zoom level below which the tiles
will no longer be visible.maxZoom - The maximum zoom level above which the tiles
will no longer be visible.public IlvImageTileLoader(IlvInputStream stream) throws IlvReadFileException, IOException
stream - The input stream.IlvReadFileExceptionIOExceptionpublic void setHighQualityRendering(boolean highQuality)
IlvIcon
objects created by this tile loader.highQuality - The new rendering quality.
The IlvIcon objects created by this tile loader
will have their rendering quality set to the same value
as this parameter.IlvIcon.setHighQualityRendering(boolean)public boolean isHighQualityRendering()
IlvIcon
objects created by this tile loader.setHighQualityRendering(boolean)public void load(IlvTile tile) throws Exception
IlvTileLoader interface.load in interface IlvTileLoadertile - The tile to load.Exceptionpublic void release(IlvTile tile)
IlvTileLoader interface.release in interface IlvTileLoadertile - The tile to release.public boolean isVisible(IlvManagerLayer layer, IlvManagerView view)
true when the zoom level of the view
is between the minimum and maximum zoom of this image tile loader.isVisible in class IlvLayerVisibilityFilterlayer - The manager layer.view - The manager view.public boolean isPersistent()
true.isPersistent in interface IlvTileLoaderisPersistent in class IlvLayerVisibilityFilterpublic void write(IlvOutputStream stream) throws IOException
write in interface IlvPersistentObjectwrite in interface IlvTileLoaderwrite in class IlvLayerVisibilityFilterstream - The output stream.IOException - standard IO error.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.