Package net.simplace.core.ui.jfreechart
Class JFreeChartAsciiReader
java.lang.Object
net.simplace.core.io.AbstractDataReader
net.simplace.core.io.AbstractAsciiReader
net.simplace.core.ui.jfreechart.JFreeChartAsciiReader
Simple I/O and conversion methods for
jFreeChart.
-
Field Summary
Fields inherited from class net.simplace.core.io.AbstractAsciiReader
iDefaultDateFormat, iSeperator, iSourceFile, iTabLen
Fields inherited from class net.simplace.core.io.AbstractDataReader
iColumnsData, iConfigData, iObservable
-
Constructor Summary
ConstructorDescriptionJFreeChartAsciiReader
(File aSourceFile, org.jdom2.Element aConfigData, String aTabLen, String aSeperator, String aDefaultDateFormat, FWObservable aPObservable) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
processLineOfFile
(String aOrientation, String aLine, int aRowIdx) org.jfree.data.category.CategoryDataset
org.jfree.data.general.PieDataset
org.jfree.data.xy.TableXYDataset
Methods inherited from class net.simplace.core.io.AbstractAsciiReader
getStringParameter, getTitle, initColumnHeads, initTitle, readData, setTitle
Methods inherited from class net.simplace.core.io.AbstractDataReader
getIntegerValue
-
Constructor Details
-
JFreeChartAsciiReader
public JFreeChartAsciiReader(File aSourceFile, org.jdom2.Element aConfigData, String aTabLen, String aSeperator, String aDefaultDateFormat, FWObservable aPObservable) - Parameters:
aSourceFile
-aConfigData
-aTabLen
-aSeperator
-aDefaultDateFormat
-aPObservable
-
-
-
Method Details
-
readCategoryDatasetFromAsciiFile
- Parameters:
aSourceFile
-aTabLen
-aColHeads
-aRowHeads
-aData
-- Returns:
- CategoryDataSet
- Throws:
Exception
-
readXYDatasetFromAsciiFile
- Returns:
- XYDataSet
- Throws:
Exception
-
readPieDatasetFromAsciiFile
- Returns:
- PieDataset
- Throws:
Exception
-
processLineOfFile
- Specified by:
processLineOfFile
in classAbstractAsciiReader
- Parameters:
aOrientation
-aLine
-aRowIdx
-- Throws:
Exception
-