com.googlecode.wickedcharts.highcharts.options.color
Class HexColor
java.lang.Object
com.googlecode.wickedcharts.highcharts.options.color.ColorReference
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HexColor
public HexColor(String hexColor)
- Constructs a color reference by defining a hex color string.
- Parameters:
hexColor - the hex color string (e.g. "#ffffff").
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.