gistoolkit.display
Interface Shader

All Known Implementing Classes:
MonoShader, SimpleShader

public interface Shader

Determines which color to use when drawing the feature.


Method Summary
 java.awt.Graphics getFillGraphics(java.awt.Graphics inGraphics, java.lang.Object[] inAttributes, java.lang.String[] inNames)
          Set up the graphics context for the drawing of lines.
 java.awt.Graphics getFillHighlightGraphics(java.awt.Graphics inGraphics, java.lang.Object[] inAttributes, java.lang.String[] inNames)
          Set up the graphics context for the drawing of lines.
 java.awt.Graphics getLabelGraphics(java.awt.Graphics inGraphics, java.lang.Object[] inAttributes, java.lang.String[] inNames)
          Set up the graphics context for the drawing of lines.
 java.awt.Graphics getLabelHighlightGraphics(java.awt.Graphics inGraphics, java.lang.Object[] inAttributes, java.lang.String[] inNames)
          Set up the graphics context for the drawing of lines.
 java.awt.image.BufferedImage getLegend()
          Returns the legend for the shader.
 java.awt.Graphics getLineGraphics(java.awt.Graphics inGraphics, java.lang.Object[] inAttributes, java.lang.String[] inNames)
          Set up the graphics context for the drawing of lines.
 java.awt.Graphics getLineHighlightGraphics(java.awt.Graphics inGraphics, java.lang.Object[] inAttributes, java.lang.String[] inNames)
          Set up the graphics context for the highlighting of lines.
 Node getNode()
          Get the configuration information for this shader
 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 shader
 

Method Detail

getLineGraphics

public java.awt.Graphics getLineGraphics(java.awt.Graphics inGraphics,
                                         java.lang.Object[] inAttributes,
                                         java.lang.String[] inNames)
Set up the graphics context for the drawing of lines. Always return the graphics context sent in after modifying it for drawing of lines.


getLineHighlightGraphics

public java.awt.Graphics getLineHighlightGraphics(java.awt.Graphics inGraphics,
                                                  java.lang.Object[] inAttributes,
                                                  java.lang.String[] inNames)
Set up the graphics context for the highlighting of lines. Always return the graphics context sent in after modifying it for highlighting of lines.


getFillGraphics

public java.awt.Graphics getFillGraphics(java.awt.Graphics inGraphics,
                                         java.lang.Object[] inAttributes,
                                         java.lang.String[] inNames)
Set up the graphics context for the drawing of lines. Always return the graphics context sent in after modifying it for filling of polygons.


getFillHighlightGraphics

public java.awt.Graphics getFillHighlightGraphics(java.awt.Graphics inGraphics,
                                                  java.lang.Object[] inAttributes,
                                                  java.lang.String[] inNames)
Set up the graphics context for the drawing of lines. Always return the graphics context sent in after modifying it for highlighting of polygons.


getLabelGraphics

public java.awt.Graphics getLabelGraphics(java.awt.Graphics inGraphics,
                                          java.lang.Object[] inAttributes,
                                          java.lang.String[] inNames)
Set up the graphics context for the drawing of lines. Always return the graphics context sent in after modifying it for labeling of features.


getLabelHighlightGraphics

public java.awt.Graphics getLabelHighlightGraphics(java.awt.Graphics inGraphics,
                                                   java.lang.Object[] inAttributes,
                                                   java.lang.String[] inNames)
Set up the graphics context for the drawing of lines. Always return the graphics context sent in after modifying it for highlighting of features.


load

public void load(java.util.Properties inProperties)
          throws java.lang.Exception
Read the properties for the initialization of the rendere from the properties sent in.

Throws:
java.lang.Exception

getLegend

public java.awt.image.BufferedImage getLegend()
Returns the legend for the shader.


getNode

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


setNode

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

Throws:
java.lang.Exception