JIDE 3.5.15

com.jidesoft.converter
Class ColorConverter

java.lang.Object
  extended by com.jidesoft.converter.ColorConverter
All Implemented Interfaces:
ObjectConverter
Direct Known Subclasses:
HexColorConverter, RgbColorConverter

public abstract class ColorConverter
extends Object
implements ObjectConverter

Converter which converts Color to String and converts it back.


Field Summary
static ConverterContext CONTEXT_HEX
          ConverterContext for color to convert to HEX string.
static ConverterContext CONTEXT_HEX_WITH_ALPHA
          ConverterContext for color to convert to HEX string.
static ConverterContext CONTEXT_RGB
          ConverterContext for color to convert to RGB string.
static ConverterContext CONTEXT_RGBA
          ConverterContext for color to convert to RGB and alpha string.
 
Constructor Summary
ColorConverter()
          Create a default color converter.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.jidesoft.converter.ObjectConverter
fromString, supportFromString, supportToString, toString
 

Field Detail

CONTEXT_RGB

public static ConverterContext CONTEXT_RGB
ConverterContext for color to convert to RGB string.


CONTEXT_HEX

public static ConverterContext CONTEXT_HEX
ConverterContext for color to convert to HEX string.


CONTEXT_RGBA

public static ConverterContext CONTEXT_RGBA
ConverterContext for color to convert to RGB and alpha string.


CONTEXT_HEX_WITH_ALPHA

public static ConverterContext CONTEXT_HEX_WITH_ALPHA
ConverterContext for color to convert to HEX string.

Constructor Detail

ColorConverter

public ColorConverter()
Create a default color converter.


JIDE 3.5.15