public class IlvMultiTileLoader extends Object implements IlvTileLoader, IlvPersistentObject
Constructor and Description |
---|
IlvMultiTileLoader()
Default constructor
|
IlvMultiTileLoader(IlvInputStream stream)
Constructor from stream
|
Modifier and Type | Method and Description |
---|---|
void |
addLoader(IlvRasterTileLoader rasterLoader,
IlvFreeTile currentTile)
Adds a loader to load the tile.
|
IlvRasterTileLoader |
getLoader(IlvTile tile)
Return the tile loader for the tile.
|
boolean |
isPersistent()
Returns true if the object must be saved by a tile controller.
|
void |
load(IlvTile tile)
Function called when a tile has to be loaded.
|
void |
release(IlvTile tile)
Function called when a tile has to be released.
|
void |
write(IlvOutputStream stream)
Writes the tile loader to an
IlvOutputStream |
public IlvMultiTileLoader()
public IlvMultiTileLoader(IlvInputStream stream) throws IlvReadFileException
stream
- The input streamIlvReadFileException
public IlvRasterTileLoader getLoader(IlvTile tile)
tile
- The tile.public void load(IlvTile tile) throws Exception
IlvTile.loadComplete
to notify the
tile listeners.load
in interface IlvTileLoader
Exception
IlvTileLoader.load(ilog.views.tiling.IlvTile)
public void release(IlvTile tile)
release
in interface IlvTileLoader
IlvTileLoader.release(ilog.views.tiling.IlvTile)
public boolean isPersistent()
isPersistent
in interface IlvTileLoader
IlvTileLoader.isPersistent()
public void write(IlvOutputStream stream) throws IOException
IlvOutputStream
write
in interface IlvPersistentObject
write
in interface IlvTileLoader
stream
- the output streamIOException
- thrown when an exception occurs during
the write operation for this object.IlvTileLoader.write(ilog.views.io.IlvOutputStream)
public void addLoader(IlvRasterTileLoader rasterLoader, IlvFreeTile currentTile)
rasterLoader
- The raster loader.currentTile
- The tile.© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.