com.day.cq.graphics.chart
Class Chart
java.lang.Object
com.day.cq.graphics.chart.Chart
- Direct Known Subclasses:
- BarChart, LineChart, PieChart
public abstract class Chart
- extends Object
Implementations extend this
- Author:
- tripod
|
Constructor Summary |
protected |
Chart()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
chartTypes
public static final HashMap<String,Class<?>> chartTypes
Chart
protected Chart()
registerChartType
protected static void registerChartType(Class<?> chartClass)
getName
public static String getName()
- Returns the identification name of the chart
- Returns:
- the identification name of the chart
getInstance
public static Chart getInstance(String typeName)
throws NoSuchElementException
- Throws:
NoSuchElementException
draw
public abstract com.day.image.Layer draw(Graph graph,
boolean doDraw)
Copyright © 2008 Day Management AG. All Rights Reserved.