|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.IlvLayerVisibilityFilter
ilog.views.sdm.renderer.maps.IlvImageTileLoader
public class IlvImageTileLoader
This class implements a "load-on-demand" tile loader that can be used to define maps made of very large high-resolution images.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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.
IlvReadFileException
IOException| Method Detail |
|---|
public 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 IlvLayerVisibilityFilter
public void write(IlvOutputStream stream)
throws IOException
write in interface IlvPersistentObjectwrite in interface IlvTileLoaderwrite in class IlvLayerVisibilityFilterstream - The output stream.
IOException - standard IO error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||