|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.maps.rendering.IlvDefaultPointRenderer
public class IlvDefaultPointRenderer
This renderer translates a map feature whose geometry is an
IlvMapPoint into an IlvMarker.
IlvMapPoint,
IlvMarker| Constructor Summary | |
|---|---|
IlvDefaultPointRenderer()
Creates an instance of the renderer. |
|
IlvDefaultPointRenderer(IlvInputStream stream)
Reads a renderer from an IlvInputStream. |
|
| Method Summary | |
|---|---|
IlvMapPointRenderingStyle |
getPointRenderingStyle()
Retrieves the rendering style associated with the renderer. |
boolean |
isPersistent()
Returns true. |
boolean |
isUsingFontMarker()
Tells if the renderer is producing IlvFontMarker or
IlvMarker. |
IlvGraphic |
makeGraphic(IlvMapFeature feature,
IlvCoordinateTransformation transformation)
Translates the map feature into a graphic object. |
void |
setPointRenderingStyle(IlvMapPointRenderingStyle style)
Sets the rendering style for this renderer. |
void |
setUsingFontMarker(boolean useFontMarker)
Tells if the renderer should produce an IlvFontMarker
or an IlvMarker. |
void |
write(IlvOutputStream stream)
Writes the renderer to an IlvOutputStream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvDefaultPointRenderer()
public IlvDefaultPointRenderer(IlvInputStream stream)
throws IlvReadFileException
IlvInputStream.
IlvReadFileException| Method Detail |
|---|
public IlvMapPointRenderingStyle getPointRenderingStyle()
public void setPointRenderingStyle(IlvMapPointRenderingStyle style)
style - The style.public void setUsingFontMarker(boolean useFontMarker)
IlvFontMarker
or an IlvMarker.
useFontMarker - If true the renderer will produce
an IlvFontMarker. If false, the rendered
graphic will be an IlvMarker.IlvMapPointRenderingStyle.setFont(java.awt.Font),
IlvMapPointRenderingStyle.setChar(char)public boolean isUsingFontMarker()
IlvFontMarker or
IlvMarker.
true if the renderer graphic is an IlvFontMarker,
false otherwise.IlvMapPointRenderingStyle.setFont(java.awt.Font),
IlvMapPointRenderingStyle.setChar(char)
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 IlvFeatureRendererfeature - 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 write(IlvOutputStream stream)
throws IOException
IlvOutputStream.
write in interface IlvPersistentObjectwrite in interface IlvFeatureRendererstream - the output stream
IOException - thrown when an exception occurs during
the write operation for this object.public boolean isPersistent()
true.
isPersistent in interface IlvFeatureRenderer
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||