JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart.data
Class JCAppletDataSource

java.lang.Object
  |
  +--com.klg.jclass.chart.ChartDataSupport
        |
        +--com.klg.jclass.chart.data.BaseDataSource
              |
              +--com.klg.jclass.chart.data.JCInputStreamDataSource
                    |
                    +--com.klg.jclass.chart.data.JCAppletDataSource
All Implemented Interfaces:
ChartDataManageable, ChartDataManager, ChartDataModel, HoleValueChartDataModel, com.klg.jclass.chart.ImageMapChartDataModel, LabelledChartDataModel, Serializable

public class JCAppletDataSource
extends JCInputStreamDataSource

Data source for reading data from the DATA param tag in an applet.

For details on the acceptable data formats, please refer to JCDefaultDataInterpreter and JCXMLDataInterpreter.

Note: In Netscape, newlines are stripped. Make sure that if you spread the data across multiple line, that you also put a space at the beginning of each line.

See Also:
JCDefaultDataInterpreter, JCXMLDataInterpreter, Serialized Form

Field Summary
 
Fields inherited from class com.klg.jclass.chart.data.JCInputStreamDataSource
charsetName, interpreter
 
Fields inherited from class com.klg.jclass.chart.data.BaseDataSource
cloneArrays, clusterImageMapInfo, holeValue, legendImageMapInfo, name, pointImageMapInfo, pointLabels, seriesImageMapInfo, seriesLabels, xvalues, yvalues
 
Fields inherited from class com.klg.jclass.chart.ChartDataSupport
source
 
Fields inherited from interface com.klg.jclass.chart.ChartDataModel
ALL
 
Constructor Summary
JCAppletDataSource(Applet applet)
          Pulls the data from the DATA param tag associated with the specified applet, and interprets it via the default interpreter class.
JCAppletDataSource(Applet applet, com.klg.jclass.chart.data.JCDataInterpreter ipr)
          Pulls the data from the DATA param tag associated with the specified applet, and interprets it via the specified interpreter class.
JCAppletDataSource(Applet applet, String param)
          Pulls the data from the <param> tag associated with the specified applet and interprets it via the default interpreter class.
JCAppletDataSource(Applet applet, String param, com.klg.jclass.chart.data.JCDataInterpreter ipr)
          Pulls the data from the <param> param tag associated with the specified applet and interprets it via the specified interpreter class.
 
Methods inherited from class com.klg.jclass.chart.data.JCInputStreamDataSource
ctor, ctor, getCharsetName, getInterpreter, setCharsetName, setInterpreter
 
Methods inherited from class com.klg.jclass.chart.data.BaseDataSource
cloneCheck, cloneCheck, cloneCheck, getChartDataManager, getCloneArrays, getClusterImageMapInfo, getDataSourceName, getHoleValue, getLegendImageMapInfo, getNumSeries, getPointImageMapInfo, getPointLabels, getSeriesImageMapInfo, getSeriesLabels, getXSeries, getYSeries, setCloneArrays
 
Methods inherited from class com.klg.jclass.chart.ChartDataSupport
addChartDataListener, fireChartDataEvent, fireChartDataEvent, removeChartDataListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCAppletDataSource

public JCAppletDataSource(Applet applet)
                   throws IOException
Pulls the data from the DATA param tag associated with the specified applet, and interprets it via the default interpreter class.

Parameters:
applet - Applet class to retrieve data from
Throws:
IOException - An IOException will be thrown if there's a problem reading the data or if there is no DATA parameter.

JCAppletDataSource

public JCAppletDataSource(Applet applet,
                          com.klg.jclass.chart.data.JCDataInterpreter ipr)
                   throws IOException
Pulls the data from the DATA param tag associated with the specified applet, and interprets it via the specified interpreter class.

Parameters:
applet - Applet class to retrieve data from
ipr - interpreter that will interpret data stream
Throws:
IOException - An IOException will be thrown if there's a problem reading the data or if there is no DATA parameter.

JCAppletDataSource

public JCAppletDataSource(Applet applet,
                          String param)
                   throws IOException
Pulls the data from the <param> tag associated with the specified applet and interprets it via the default interpreter class.

Parameters:
applet - Applet class to retrieve data from
param - parameter name in Applet class that holds data
Throws:
IOException - An IOException will be thrown if there's a problem reading the data, or if there is no <param> parameter.

JCAppletDataSource

public JCAppletDataSource(Applet applet,
                          String param,
                          com.klg.jclass.chart.data.JCDataInterpreter ipr)
                   throws IOException
Pulls the data from the <param> param tag associated with the specified applet and interprets it via the specified interpreter class.

Parameters:
applet - Applet class to retrieve data from
param - Parameter name in Applet class that holds data
ipr - Interpreter that will interpret data stream
Throws:
IOException - An IOException will be thrown if there's a problem reading the data, or if there is no <param> parameter.

Copyright © 2004 Quest Software Inc..
All rights reserved.