|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.objectplanet.chart.ChartDataLoader
com.objectplanet.chart.ext.ChartDataLoaderExt
public class ChartDataLoaderExt
This is the class that reads and sets parameters for all extension charts in ChartApplet and ChartServlet.
| Field Summary | |
|---|---|
protected GaugeChart |
gaugeChart
The gauge charts used. |
protected PlotterChart |
plotterChart
The plotter charts used. |
| Fields inherited from class com.objectplanet.chart.ChartDataLoader |
|---|
barChart, chartType, labelDelimiter, labels, labelURLs, labelURLTargets, lineChart, pieChart, targets, theChart |
| Constructor Summary | |
|---|---|
ChartDataLoaderExt()
|
|
| Method Summary | |
|---|---|
void |
addChartItemListener(ChartApplet chartApplet)
Adds and item listener to the specified chart. |
protected GenericChart |
createExtChart(java.lang.String type)
|
java.awt.Component |
setChart(java.awt.Component chart)
Sets the actual chart displayed. |
protected void |
setImage(java.lang.String name,
java.awt.Image image)
Adds an image to the chart and sets it to be used in a right way |
void |
setParameter(java.lang.String name,
java.lang.String value)
Sets a parameter in the chart. |
void |
setParameters(java.util.Hashtable parameters)
Sets the applet parameters. |
| Methods inherited from class com.objectplanet.chart.ChartDataLoader |
|---|
convertLineBreaks, createArrayString, createColor, createFont, getBooleanValues, getChart, getChartType, getColorValues, getDoubleValues, getOverlayDataLoader, getStringValues, getStyleValues, init, reset, setChartType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected GaugeChart gaugeChart
protected PlotterChart plotterChart
| Constructor Detail |
|---|
public ChartDataLoaderExt()
| Method Detail |
|---|
public void addChartItemListener(ChartApplet chartApplet)
addChartItemListener in class ChartDataLoaderprotected GenericChart createExtChart(java.lang.String type)
createExtChart in class ChartDataLoaderpublic java.awt.Component setChart(java.awt.Component chart)
setChart in class ChartDataLoader
protected void setImage(java.lang.String name,
java.awt.Image image)
setImage in class ChartDataLoadername - The name of the imageimage - The image object itself
public void setParameter(java.lang.String name,
java.lang.String value)
setParameter in class ChartDataLoadername - The name of the parameter.value - The value of the parameter as a string.public void setParameters(java.util.Hashtable parameters)
setParameters in class ChartDataLoaderparameters - The parameters to be set.
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||