gistoolkit.display
Interface Renderer

All Known Implementing Classes:
SimpleRenderer

public interface Renderer


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)
          Draw the shape.
 boolean drawShapeHighlight(Record inRecord, java.awt.Graphics inGraphics, Converter inConverter, Shader inShader)
          Highlight the shape.
 void endDraw()
          Called after the layer has completed rendering.
 Node getNode()
          Get the configuration information for this renderer
 java.lang.String getRendererName()
          Returns a descriptive name for this renderer.
 void setNode(Node inNode)
          Set the configuration information for this renderer
 

Method Detail

getRendererName

public java.lang.String getRendererName()
Returns a descriptive name for this renderer.


beginDraw

public void beginDraw()
Called before the layer is initially drawn to allow the renderer to prepare for rendering.


endDraw

public void endDraw()
Called after the layer has completed rendering.


drawShape

public boolean drawShape(Record inRecord,
                         java.awt.Graphics inGraphics,
                         Converter inConverter,
                         Shader inShader)
Draw the shape. The renderer should return true if it successfully drew the shape, and false if it did not.


drawShapeHighlight

public boolean drawShapeHighlight(Record inRecord,
                                  java.awt.Graphics inGraphics,
                                  Converter inConverter,
                                  Shader inShader)
Highlight the shape. The renderer should return true if it successfully drew the shape, and false if it did not.


getNode

public Node getNode()
Get the configuration information for this renderer


setNode

public void setNode(Node inNode)
             throws java.lang.Exception
Set the configuration information for this renderer

Throws:
java.lang.Exception