|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Base interface for renderer. This is very much work in progress. Note: this interface will changes in future versions.
Field Summary | |
static boolean |
interactive
Deprecated. This flag should not be there. |
Method Summary | |
boolean |
isInteractive()
Getter for property interactive. |
com.vividsolutions.jts.geom.Coordinate |
pixelToWorld(int x,
int y,
com.vividsolutions.jts.geom.Envelope map)
|
void |
render(FeatureCollection fc,
com.vividsolutions.jts.geom.Envelope viewport,
Style style)
Renders the provided features using the specified style. |
void |
setInteractive(boolean interactive)
Setter for property interactive. |
void |
setOutput(java.awt.Graphics g,
java.awt.Rectangle r)
sets the output graphics for the renderer and the size of the graphic. |
Field Detail |
public static final boolean interactive
Method Detail |
public void render(FeatureCollection fc, com.vividsolutions.jts.geom.Envelope viewport, Style style)
fc
- The feature collection to renderviewport
- The visible extent to be renderedstyle
- The style definition to apply to each featurepublic boolean isInteractive()
public void setInteractive(boolean interactive)
interactive
- New value of property interactive.public void setOutput(java.awt.Graphics g, java.awt.Rectangle r)
public com.vividsolutions.jts.geom.Coordinate pixelToWorld(int x, int y, com.vividsolutions.jts.geom.Envelope map)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |