public class IlvDefaultMultiPointRenderer extends Object implements IlvFeatureRenderer
IlvMapMultiPointInterface
into an
IlvGraphicSet
of graphic objects. These graphic objects are generated by a renderer
for each point of the geometry.setPointRenderer(ilog.views.maps.IlvFeatureRenderer)
,
IlvGraphicSet
,
IlvMapMultiPointInterface
Constructor and Description |
---|
IlvDefaultMultiPointRenderer()
Creates an instance of the renderer.
|
IlvDefaultMultiPointRenderer(IlvInputStream stream)
Reads the renderer from an
IlvInputStream . |
Modifier and Type | Method and Description |
---|---|
IlvFeatureRenderer |
getPointRenderer()
Returns the point renderer used to translate points into graphic objects.
|
boolean |
isPersistent()
Returns
true . |
IlvGraphic |
makeGraphic(IlvMapFeature feature,
IlvCoordinateTransformation transformation)
Translates the map feature into a graphic object.
|
void |
setPointRenderer(IlvFeatureRenderer pointRenderer)
Sets the feature renderer used to translate points into graphic
objects.
|
void |
write(IlvOutputStream stream)
Writes the renderer to an
IlvOutputStream . |
public IlvDefaultMultiPointRenderer()
public IlvDefaultMultiPointRenderer(IlvInputStream stream) throws IlvReadFileException
IlvInputStream
.IlvReadFileException
public IlvGraphic makeGraphic(IlvMapFeature feature, IlvCoordinateTransformation transformation) throws IlvMapRenderException, IlvCoordinateTransformationException
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.makeGraphic
in interface IlvFeatureRenderer
feature
- The map feature to translate.transformation
- The transformation. This parameter should never
be null
.IlvMapRenderException
- If the renderer cannot process
the map feature.IlvCoordinateTransformationException
- If a transformation
exception occurs.public void setPointRenderer(IlvFeatureRenderer pointRenderer)
IlvDefaultPointRenderer
.pointRenderer
- The point renderer.public IlvFeatureRenderer getPointRenderer()
public void write(IlvOutputStream stream) throws IOException
IlvOutputStream
.write
in interface IlvPersistentObject
write
in interface IlvFeatureRenderer
stream
- the output streamIOException
- thrown when an exception occurs during
the write operation for this object.public boolean isPersistent()
true
.isPersistent
in interface IlvFeatureRenderer
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.