org.ala.layers.legend
Class LegendEqualArea

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

public class LegendEqualArea
extends Legend

generates legend using equal size of unique values in each catagory.

Author:
Adam

Field Summary
 
Fields inherited from class org.ala.layers.legend.Legend
colours
 
Constructor Summary
LegendEqualArea()
           
 
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

LegendEqualArea

public LegendEqualArea()
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.