anl.aida.plot
Class GISTimeStepStyler

java.lang.Object
  extended by anl.aida.plot.GISTimeStepStyler
All Implemented Interfaces:
Styler

public class GISTimeStepStyler
extends java.lang.Object
implements Styler


Field Summary
private  anl.aida.data.DataFrame frame
           
private  ColorMap map
           
private  org.geotools.styling.Style[] styles
           
 
Constructor Summary
GISTimeStepStyler(anl.aida.data.DataFrame frame, ColorMap map)
          Creates a GISTimeStepStyler from the frame and map.
 
Method Summary
private  org.geotools.styling.Style createPolygonStyle(ColorMap map, anl.aida.data.DataFrame frame, int timestep)
           
 org.geotools.styling.Style getStyle(int index)
          Gets the style for the specified index.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

frame

private anl.aida.data.DataFrame frame

map

private ColorMap map

styles

private org.geotools.styling.Style[] styles
Constructor Detail

GISTimeStepStyler

public GISTimeStepStyler(anl.aida.data.DataFrame frame,
                         ColorMap map)
Creates a GISTimeStepStyler from the frame and map.

Parameters:
frame -
map -
Method Detail

getStyle

public org.geotools.styling.Style getStyle(int index)
                                    throws PlotCreationException
Description copied from interface: Styler
Gets the style for the specified index.

Specified by:
getStyle in interface Styler
Parameters:
index - the index to get the style for
Returns:
the style for the specified index.
Throws:
PlotCreationException

createPolygonStyle

private org.geotools.styling.Style createPolygonStyle(ColorMap map,
                                                      anl.aida.data.DataFrame frame,
                                                      int timestep)
                                               throws org.geotools.filter.text.cql2.CQLException
Throws:
org.geotools.filter.text.cql2.CQLException