public class IlvSDOLayer extends IlvTiledLayer
Constructor and Description |
---|
IlvSDOLayer(IlvInputStream stream)
Reads the layer from an
IlvInputStream . |
IlvSDOLayer(IlvSDOConnection connection,
IlvSDOTileLoader sdoTileLoader,
IlvTileCache cache)
Initializes an instance of
IlvSDOLayer that loads
the data with the specified tile loader. |
IlvSDOLayer(IlvSDOConnection connection,
IlvSDOTileLoader sdoTileLoader,
IlvTileCache cache,
int mode)
Initializes an instance of
IlvSDOLayer that loads
the data with the specified tile loader. |
IlvSDOLayer(IlvSDOConnection connection,
String layerName)
Initializes an instance of
IlvSDOLayer that will load
the data from the specified layer name. |
IlvSDOLayer(IlvSDOConnection connection,
String layerName,
IlvTileCache cache)
Initializes an instance of
IlvSDOLayer that will load
the data from the specified layer name. |
Modifier and Type | Method and Description |
---|---|
IlvSDOConnection |
getConnection()
Returns the
IlvSDOConnection of this layer. |
IlvFeatureRenderer |
getFeatureRenderer()
Returns the feature renderer used to create graphic objects representing
the SDO geometries.
|
void |
setFeatureRenderer(IlvFeatureRenderer renderer)
Sets the feature renderer used to create graphic objects representing
the SDO geometries.
|
void |
write(IlvOutputStream stream)
Writes the object to an
IlvOutputStream . |
computeBBox, disconnect, draw, fitTransformerToTile, fitTransformerToTile, getDebugView, getSize, getTileController, getTileLoader, ignoreView, initTileOrigin, isIgnoringView, isVisible, setDebugView, setDebugView, setManager, setSize, setTileLoader
addVisibilityFilter, drawImpl, getAlpha, getIndex, getManager, getName, getNamedProperty, getProperty, getVisibilityFilters, isSelectable, isTemporarilyHidden, isVisible, print, removeNamedProperty, removeVisibilityFilter, setAlpha, setName, setNamedProperty, setProperty, writeIt
addObject, afterUpdate, beforeUpdate, collectObjects, collectSelectableObjects, deleteAll, getCardinal, getElements, getIndex, getManagers, getManagersCount, getObject, getObject, getSelectableObject, getSubsequentRemoveThreshold, isQuadtreeEnabled, isZOrdering, map, mapInside, mapInside, mapIntersects, mapIntersects, removeObject, setIndex, SetInitialNumberOfNonZoomablesCapacity, SetInitialNumberOfObjectsCapacity, setQuadtreeEnabled, setSubsequentRemoveThreshold, setZOrdering
public IlvSDOLayer(IlvSDOConnection connection, String layerName) throws SQLException
IlvSDOLayer
that will load
the data from the specified layer name. The tiles are equivalent to
the SDO tiles.connection
- An open connection to the SDO databaselayerName
- The name of the SDO layer, in the following form:
layerName
or user.layerName
SQLException
- if an error occurs during the layer initialization.public IlvSDOLayer(IlvSDOConnection connection, String layerName, IlvTileCache cache) throws SQLException
IlvSDOLayer
that will load
the data from the specified layer name. The tiles are equivalent to
the SDO tiles.connection
- An open connection to the SDO databaselayerName
- The name of the SDO layer, in the following form:
layerName
or user.layerName
.cache
- The object that manages the release of invisible tiles.SQLException
- if an error occurs during the layer initialization.public IlvSDOLayer(IlvSDOConnection connection, IlvSDOTileLoader sdoTileLoader, IlvTileCache cache) throws SQLException
IlvSDOLayer
that loads
the data with the specified tile loader.connection
- An open connection to the SDO databasesdoTileLoader
- The tile loader that generates the SQL queries
and defines the size of the tiling gridcache
- The object that manages the release of invisible tilesSQLException
- if an error occurs during the layer initialization.public IlvSDOLayer(IlvSDOConnection connection, IlvSDOTileLoader sdoTileLoader, IlvTileCache cache, int mode) throws SQLException
IlvSDOLayer
that loads
the data with the specified tile loader.connection
- An open connection to the SDO databasesdoTileLoader
- The tile loader that generates the SQL queriescache
- The object that manages the release of invisible tilesmode
- to specify whether to use an indexed tile grid (INDEXED_MODE, the behavior of previous
versions) to a list of user-specified IlvFreeTile
instances (FREE_MODE).SQLException
public IlvSDOLayer(IlvInputStream stream) throws IlvReadFileException
IlvInputStream
.stream
- The input stream.IlvReadFileException
- if an error occurs while reading.public void write(IlvOutputStream stream) throws IOException
IlvOutputStream
.
This method also writes its IlvSDOTileLoader
,
which must be persistent.write
in interface IlvPersistentObject
write
in class IlvTiledLayer
stream
- the output streamIOException
- if an errors occurs while writing.public void setFeatureRenderer(IlvFeatureRenderer renderer)
public IlvFeatureRenderer getFeatureRenderer()
IlvDefaultFeatureRenderer
.public IlvSDOConnection getConnection()
IlvSDOConnection
of this layer.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.