public interface IlvFeatureRenderer extends IlvPersistentObject
IlvMapFeature
into a graphic object.Modifier and Type | Method and Description |
---|---|
boolean |
isPersistent()
Returns
true if the renderer must be saved. |
IlvGraphic |
makeGraphic(IlvMapFeature feature,
IlvCoordinateTransformation t)
Translates an
IlvMapFeature into a graphic object, using
the specified IlvCoordinateTransformation to transform the
coordinates. |
void |
write(IlvOutputStream stream)
Writes the renderer to an
IlvOutputStream . |
IlvGraphic makeGraphic(IlvMapFeature feature, IlvCoordinateTransformation t) throws IlvMapRenderException, IlvCoordinateTransformationException
IlvMapFeature
into a graphic object, using
the specified IlvCoordinateTransformation
to transform the
coordinates.
draw(IlvMapFeature, IlvProjection)
. In case you
have overridden the old draw
method, you have to rewrite
your method in order to migrate to JViews 5.0.feature
- The map feature to translate.t
- The transformation used to convert coordinates of the map
feature.IlvMapRenderException
- if the renderer cannot process
the map feature (most of the time, because
the renderer does not support the feature geometry).IlvCoordinateTransformationException
- if an error occurs while
transforming coordinates.IlvMapRenderException
void write(IlvOutputStream stream) throws IOException
IlvOutputStream
.write
in interface IlvPersistentObject
stream
- the output streamIOException
- thrown when an exception occurs during
the write operation for this object.boolean isPersistent()
true
if the renderer must be saved.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.