org.openfuxml.addon.chart.util
Class ChartColorFactory

java.lang.Object
  extended by org.openfuxml.addon.chart.util.ChartColorFactory

public class ChartColorFactory
extends Object


Nested Class Summary
static class ChartColorFactory.Area
           
 
Constructor Summary
ChartColorFactory()
           
 
Method Summary
static Color create(Color color)
           
static Color create(int r, int g, int b, int a)
           
static Color create(int r, int g, int b, int a, ChartColorFactory.Area area)
           
static Color createColor(Chart ofxChart, ChartColorFactory.Area area)
           
static Map<String,Color> getColorMap(Chart.Colors colors, String typ)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChartColorFactory

public ChartColorFactory()
Method Detail

createColor

public static Color createColor(Chart ofxChart,
                                ChartColorFactory.Area area)

create

public static Color create(int r,
                           int g,
                           int b,
                           int a,
                           ChartColorFactory.Area area)

create

public static Color create(int r,
                           int g,
                           int b,
                           int a)

create

public static Color create(Color color)

getColorMap

public static Map<String,Color> getColorMap(Chart.Colors colors,
                                            String typ)


Copyright © 2014. All Rights Reserved.