lt.monarch.chart.themes
Class AbstractColorThemes

java.lang.Object
  extended by lt.monarch.chart.themes.AbstractColorThemes
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Abstract2ColorsThemes, BrightPastelInDarkTheme, BrightPastelInLightTheme, BrightPastelTheme, CamouflageInMeadowTheme, CamouflageInSandTheme, CamouflageInSkyTheme, CamouflageTeme, DarkMagicInGloomyTheme, DarkMagicInLilacTheme, DarkMagicInSapphireTheme, DarkMagicInWindTheme, DarkMagicTheme, DeepPastelInCrystalTheme, DeepPastelInStormTheme, DeepPastelOnBodyTheme, DeepPastelTheme, FireInChocolateTheme, FireInPinkTheme, FireInPurpleTheme, FireTheme, GradientBrightPastelRhubarbTheme, GradientBrightPastelSwampTheme, GradientCamouflageDustTheme, GradientCamouflageMaskTheme, GradientDarkMagicCurtainTheme, GradientDarkMagicGlowTheme, GradientDeepPastelMagentaTheme, GradientDeepPastelSmogTheme, GradientFireRedTheme, GradientFireSunriseTheme, GradientNatureAutumnTheme, GradientNatureSnowTheme, GradientOceanBlurTheme, GradientOceanCitricTheme, GradientOceanDepthTheme, GradientSilentNightRadiationTheme, GradientSilentNightSunsetTheme, GradientVividSparkTheme, GradientVividSunshineTheme, NatureInDeepTheme, NatureInDesertTheme, NatureTheme, OceanInPearlsTheme, OceanInRainTheme, OceanInSunsetTheme, OceanInSunTheme, OceanTheme, ParametricTheme, SilentNightInAshesTheme, SilentNightInSpringTheme, SilentNightInWinterTheme, SilentNightTheme, VividInBrightPastelTheme, VividInDarkPastelTheme, VividTheme

public abstract class AbstractColorThemes
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
Modifier and Type Field and Description
 int palette_size
          Series palette size
 
Constructor Summary
Constructor and Description
AbstractColorThemes()
           
 
Method Summary
Modifier and Type Method and Description
abstract  java.awt.Color[] getAxesColors()
           
abstract  java.awt.Color getBackgroundColor()
           
abstract  java.awt.Color[] getGridColors()
           
abstract  java.awt.Color[] getLegendColors()
           
abstract  java.awt.Color[] getMarkerColors()
           
abstract  java.awt.Color[] getMarkerLineColors()
           
 java.lang.String getName()
          Returns theme name.
abstract  java.awt.Color[] getPalette(int seriesQuantity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

palette_size

public int palette_size
Series palette size

Constructor Detail

AbstractColorThemes

public AbstractColorThemes()
Method Detail

getPalette

public abstract java.awt.Color[] getPalette(int seriesQuantity)
Parameters:
seriesQuantity -
Returns:
series palette colors

getBackgroundColor

public abstract java.awt.Color getBackgroundColor()
Returns:
chart background color

getAxesColors

public abstract java.awt.Color[] getAxesColors()
Returns:
axes foreground colors in the following order: 0)ticks, 1)labels, 2)axis, 3)title.

getGridColors

public abstract java.awt.Color[] getGridColors()
Returns:
grid colors in the following order: 0)background color 1)grid-line color. 3)second background color - for gradient paint (null for toFill paint)

getMarkerLineColors

public abstract java.awt.Color[] getMarkerLineColors()
Returns:
marker lines colors: 0)marker line 1)label background 2)label foreground colors.

getMarkerColors

public abstract java.awt.Color[] getMarkerColors()
Returns:
marker colors: 0)background color 1)foreground color.

getLegendColors

public abstract java.awt.Color[] getLegendColors()
Returns:
legend colors: 0)background, 1)foreground 2)border colors. 3)second background color - for gradient paint (null for toFill paint)

getName

public java.lang.String getName()
Returns theme name.