|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.renderer.event.FeatureModifier.Adapter
A base (identity) implementation of the FeatureModifier interface.
Users should typically extend this to obtain the behaviour they want.
| Nested Class Summary |
| Nested classes inherited from class org.geotools.renderer.event.FeatureModifier |
FeatureModifier.Adapter |
| Constructor Summary | |
FeatureModifier.Adapter()
Default constructor. |
|
| Method Summary | |
float |
getOpacity(float opacity,
RenderingContext context)
Returns a modified opacity (for graphic features).. |
java.awt.Paint |
getPaint(java.awt.Paint paint,
RenderingContext context)
Returns a modified paint object for a particular feature.. |
java.awt.image.RenderedImage |
getRenderedImage(java.awt.image.RenderedImage image,
RenderingContext context)
Returns a modified rendered image (for graphic features).. |
float |
getRotation(float rotation,
RenderingContext context)
Returns a modified rotation (for mark, graphic and text features).. |
java.awt.Shape |
getShape(java.awt.Shape shape,
RenderingContext context)
Returns a modified shape object for a particular feature.. |
int |
getSize(int size,
RenderingContext context)
Returns a modified size (for graphic features).. |
java.awt.Stroke |
getStroke(java.awt.Stroke stroke,
RenderingContext context)
Returns a modified awt stroke object for a particular feature.. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FeatureModifier.Adapter()
| Method Detail |
public java.awt.Shape getShape(java.awt.Shape shape,
RenderingContext context)
getShape in interface FeatureModifiershape - The default Shape for the current feature.context - The rendering context, which contains the current map scale.
Shape object to use for the current feature.
public java.awt.Paint getPaint(java.awt.Paint paint,
RenderingContext context)
getPaint in interface FeatureModifierpaint - The default Paint for the current feature.context - The rendering context, which contains the current map scale.
Paint object to use for the current feature.
public java.awt.Stroke getStroke(java.awt.Stroke stroke,
RenderingContext context)
getStroke in interface FeatureModifierstroke - The default Stroke for the current feature.context - The rendering context, which contains the current map scale.
Stroke object to use for the current feature.
public float getRotation(float rotation,
RenderingContext context)
getRotation in interface FeatureModifierrotation - The default rotation for the current feature.context - The rendering context, which contains the current map scale.
public float getOpacity(float opacity,
RenderingContext context)
getOpacity in interface FeatureModifieropacity - The default opacity for the current feature.context - The rendering context, which contains the current map scale.
public int getSize(int size,
RenderingContext context)
getSize in interface FeatureModifiersize - The original size of graphic imagescontext - The rendering context, which contains the current map scale.
public java.awt.image.RenderedImage getRenderedImage(java.awt.image.RenderedImage image,
RenderingContext context)
getRenderedImage in interface FeatureModifierimage - The default rendered image for the current feature.context - The rendering context, which contains the current map scale.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||