|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgistoolkit.display.shader.SimpleShader
gistoolkit.display.shader.RandomShader
A shader that will always return the same color regardless of what values are sent in.
Constructor Summary | |
RandomShader()
Creates a new Random Shader with a Red Highlight Color, and a black label and line color. |
|
RandomShader(java.awt.Color inColor)
Creates a new Random Shader with this default line color. |
|
RandomShader(java.awt.Color inLineColor,
java.awt.Color inHighlightColor)
Creates a new Random Shader with this default line color, and highlight color. |
Method Summary | |
java.awt.Color[] |
getColors()
|
java.lang.String |
getColumnName()
Get the name of the column to shade by |
ShaderPanel |
getEditPanel()
return the panel needed to edit this shader |
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.image.BufferedImage |
getLegend()
Generate a legend from this shader. |
Node |
getNode()
Get the configuration information for this shader |
java.lang.String[] |
getValues()
|
void |
load(java.util.Properties inProperties)
Read the properties for the initialization of the rendere from the properties sent in. |
void |
setAuxilliaryColors(java.lang.String[] inValues,
java.awt.Color[] inColors)
Set the values and the associated colors, null colors will be assigned a random color. |
void |
setColors(java.lang.String[] inValues,
java.awt.Color[] inColors)
Set the values and the associated colors, null colors will be assigned a random color. |
void |
setColumnName(java.lang.String inColumnName)
Set the name of the column to shade by |
void |
setNode(Node inNode)
Set the configuration information into this shader. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RandomShader()
public RandomShader(java.awt.Color inColor)
public RandomShader(java.awt.Color inLineColor, java.awt.Color inHighlightColor)
Method Detail |
public java.lang.String getColumnName()
getColumnName
in class SimpleShader
public void setColumnName(java.lang.String inColumnName)
setColumnName
in class SimpleShader
public void setColors(java.lang.String[] inValues, java.awt.Color[] inColors)
public void setAuxilliaryColors(java.lang.String[] inValues, java.awt.Color[] inColors)
public java.lang.String[] getValues()
public java.awt.Color[] getColors()
public Node getNode()
SimpleShader
getNode
in interface Shader
getNode
in class SimpleShader
public void setNode(Node inNode) throws java.lang.Exception
setNode
in interface Shader
setNode
in class SimpleShader
java.lang.Exception
public void load(java.util.Properties inProperties) throws java.lang.Exception
load
in interface Shader
load
in class SimpleShader
java.lang.Exception
public java.awt.image.BufferedImage getLegend()
getLegend
in interface Shader
getLegend
in class SimpleShader
public java.awt.Graphics getFillGraphics(java.awt.Graphics inGraphics, java.lang.Object[] inAttributes, java.lang.String[] inNames)
getFillGraphics
in interface Shader
getFillGraphics
in class SimpleShader
public ShaderPanel getEditPanel()
getEditPanel
in interface EditableShader
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |