|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgistoolkit.display.renderer.SimpleRenderer
gistoolkit.display.renderer.FeatureRenderer
General calss for rendering all types of features in the GIS toolkit.
Constructor Summary | |
FeatureRenderer()
MonoShader constructor comment. |
Method Summary | |
void |
beginDraw()
Called before the layer is initially drawn to allow the renderer to prepare for rendering. |
boolean |
drawShape(Record inRecord,
java.awt.Graphics inGraphics,
Converter inConverter,
Shader inShader)
Draws the line by drawing lines between the points. |
boolean |
drawShapeHighlight(Record inRecord,
java.awt.Graphics inGraphics,
Converter inConverter,
Shader inShader)
Draws the Line in the highlight color. |
boolean |
drawShapePoints(Record inRecord,
java.awt.Graphics inGraphics,
Converter inConverter,
Shader inShader)
Draws the Shapes |
void |
endDraw()
Called after the layer has completed rendering. |
Node |
getNode()
Get the configuration information for this renderer |
java.lang.String |
getRendererName()
The name for this renderer, always returns "Feature Renderer" |
void |
load(java.util.Properties inProperties)
Read the properties for the initialization of the rendere from the properties sent in. |
void |
setNode(Node inNode)
Set the configuration information for this renderer |
java.lang.String |
toString()
For display in lists and such. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FeatureRenderer()
Method Detail |
public java.lang.String getRendererName()
getRendererName
in interface Renderer
getRendererName
in class SimpleRenderer
public boolean drawShape(Record inRecord, java.awt.Graphics inGraphics, Converter inConverter, Shader inShader)
drawShape
in interface Renderer
drawShape
in class SimpleRenderer
public boolean drawShapeHighlight(Record inRecord, java.awt.Graphics inGraphics, Converter inConverter, Shader inShader)
drawShapeHighlight
in interface Renderer
drawShapeHighlight
in class SimpleRenderer
public boolean drawShapePoints(Record inRecord, java.awt.Graphics inGraphics, Converter inConverter, Shader inShader)
public void load(java.util.Properties inProperties) throws java.lang.Exception
java.lang.Exception
public Node getNode()
getNode
in interface Renderer
getNode
in class SimpleRenderer
public void setNode(Node inNode) throws java.lang.Exception
setNode
in interface Renderer
setNode
in class SimpleRenderer
java.lang.Exception
public java.lang.String toString()
public void beginDraw()
beginDraw
in interface Renderer
beginDraw
in class SimpleRenderer
public void endDraw()
endDraw
in interface Renderer
endDraw
in class SimpleRenderer
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |