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

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

public class HexColor
extends ColorReference

Simple ColorReference defined by a hex string.

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

Constructor Summary
HexColor(String hexColor)
          Constructs a color reference by defining a hex color string.
 
Method Summary
protected  ColorReference copy()
           
static ColorReference fromString(String color)
           
static List<ColorReference> fromStrings(String color1, String... colors)
           
 String getHexColor()
           
 
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

HexColor

public HexColor(String hexColor)
Constructs a color reference by defining a hex color string.

Parameters:
hexColor - the hex color string (e.g. "#ffffff").
Method Detail

fromString

public static ColorReference fromString(String color)

fromStrings

public static List<ColorReference> fromStrings(String color1,
                                               String... colors)

copy

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

getHexColor

public String getHexColor()


Copyright © 2013. All Rights Reserved.