com.googlecode.wickedcharts.highcharts.options.color
Class HighchartsColor

java.lang.Object
  extended by com.googlecode.wickedcharts.highcharts.options.color.ColorReference
      extended by com.googlecode.wickedcharts.highcharts.options.color.HighchartsColor
All Implemented Interfaces:
Nullable, Serializable

public class HighchartsColor
extends ColorReference

A ColorReference referencing a color managed by Highcharts. Highcharts provides a set colors accessible by an index.

Author:
Tom Hombergs (tom.hombergs@gmail.com)
See Also:
Serialized Form

Constructor Summary
HighchartsColor(Integer highchartsIndex)
          Constructs a ColorReference to a color managed by Highcharts.
 
Method Summary
protected  ColorReference copy()
           
 Integer getHighchartsIndex()
           
 HighchartsColor setHighchartsIndex(Integer highchartsIndex)
           
 
Methods inherited from class com.googlecode.wickedcharts.highcharts.options.color.ColorReference
brighten, getBrightness, isNull, setBrightness
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HighchartsColor

public HighchartsColor(Integer highchartsIndex)
Constructs a ColorReference to a color managed by Highcharts.

Parameters:
highchartsIndex - the index under which Highcharts manages the wanted color.
Method Detail

copy

protected ColorReference copy()
Specified by:
copy in class ColorReference

getHighchartsIndex

public Integer getHighchartsIndex()

setHighchartsIndex

public HighchartsColor setHighchartsIndex(Integer highchartsIndex)


Copyright © 2013. All Rights Reserved.