org.ala.layers.legend
Class LegendEvenInterval

java.lang.Object
  extended by org.ala.layers.legend.Legend
      extended by org.ala.layers.legend.LegendEvenInterval

public class LegendEvenInterval
extends Legend

generates legend with even interval cutoff's.

Author:
Adam

Field Summary
 
Fields inherited from class org.ala.layers.legend.Legend
colours
 
Constructor Summary
LegendEvenInterval()
           
 
Method Summary
 void generate(float[] d, int divisions)
          generate the legend cutoff points.
 java.lang.String getTypeName()
          return nice name for the method that this class uses to generate the cutoff points
 
Methods inherited from class org.ala.layers.legend.Legend
determineGroupSizes, evaluateStdDev, evaluateStdDevArea, exportImage, exportSLD, generate, generateLegend, getColour, getColour, getCutoffFloats, getCutoffs, getLinearColour, getMinMax
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LegendEvenInterval

public LegendEvenInterval()
Method Detail

generate

public void generate(float[] d,
                     int divisions)
Description copied from class: Legend
generate the legend cutoff points.

Specified by:
generate in class Legend
Parameters:
d - asc sorted float []
divisions - number of cut points

getTypeName

public java.lang.String getTypeName()
Description copied from class: Legend
return nice name for the method that this class uses to generate the cutoff points

Specified by:
getTypeName in class Legend
Returns:
name as String


Copyright © 2014. All Rights Reserved.