com.googlecode.wickedcharts.highcharts.jackson
Class ColorReferenceSerializer<T>

java.lang.Object
  extended by com.fasterxml.jackson.databind.JsonSerializer<Nullable>
      extended by com.googlecode.wickedcharts.highcharts.jackson.NullableSerializer<T>
          extended by com.googlecode.wickedcharts.highcharts.jackson.ColorReferenceSerializer<T>
Direct Known Subclasses:
HexColorReferenceSerializer, HighchartsColorReferenceSerializer, NullColorReferenceSerializer, RgbaColorReferenceSerializer, SimpleColorReferenceSerializer

public abstract class ColorReferenceSerializer<T>
extends NullableSerializer<T>


Nested Class Summary
 
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.JsonSerializer
com.fasterxml.jackson.databind.JsonSerializer.None
 
Constructor Summary
ColorReferenceSerializer()
           
 
Method Summary
protected  String brighten(String colorString, float brightness)
           
protected  String toHexString(Color color)
           
 
Methods inherited from class com.googlecode.wickedcharts.highcharts.jackson.NullableSerializer
serialize, serializeIfNotNull
 
Methods inherited from class com.fasterxml.jackson.databind.JsonSerializer
handledType, isEmpty, isUnwrappingSerializer, serializeWithType, unwrappingSerializer, usesObjectId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorReferenceSerializer

public ColorReferenceSerializer()
Method Detail

brighten

protected String brighten(String colorString,
                          float brightness)

toHexString

protected String toHexString(Color color)


Copyright © 2013. All Rights Reserved.