lt.monarch.chart.themes
Class ParametricDesaturationTheme

java.lang.Object
  extended by lt.monarch.chart.themes.AbstractColorThemes
      extended by lt.monarch.chart.themes.ParametricTheme
          extended by lt.monarch.chart.themes.ParametricDesaturationTheme
All Implemented Interfaces:
java.io.Serializable

public class ParametricDesaturationTheme
extends ParametricTheme

Color theme based on one single main color.

See Also:
Serialized Form

Field Summary
Modifier and Type Field and Description
 
Fields inherited from class lt.monarch.chart.themes.AbstractColorThemes
palette_size
 
Constructor Summary
Constructor and Description
ParametricDesaturationTheme(java.awt.Color mainColor, java.lang.String name)
           
 
Method Summary
Modifier and Type Method and Description
 java.awt.Color getColor(int index, int max)
           
 
Methods inherited from class lt.monarch.chart.themes.ParametricTheme
getAxesColors, getBackgroundColor, getForgroundColor, getGridColors, getLegendColors, getMarkerColors, getMarkerLineColors, getName, getPalette
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParametricDesaturationTheme

public ParametricDesaturationTheme(java.awt.Color mainColor,
                                   java.lang.String name)
Method Detail

getColor

public java.awt.Color getColor(int index,
                               int max)
Specified by:
getColor in class ParametricTheme