|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.ucla.stat.SOCR.chart.data.DataConvertor
public class DataConvertor
Convert various JFreeChart Dataset to JTable
Field Summary | |
---|---|
protected java.lang.String |
DELIMITERS
|
Constructor Summary | |
---|---|
DataConvertor()
|
Method Summary | |
---|---|
void |
data2Table(java.lang.String[] raw_y,
double[] transformed,
java.lang.String colname1,
java.lang.String colname2,
int row_count)
for QQPower, use data from one array to fill a JTable |
void |
dataset2Table_vertical(CategoryDataset dataset)
Use the data from a CategoryDataset to fill a JTable |
void |
dataset2Table(AbstractDataset dataset,
int type)
|
void |
dataset2Table(CategoryDataset dataset)
Use the data from a CategoryDataset to fill a JTable |
void |
dataset2Table(DefaultPieDataset dataset)
use the data from a DefaultPieDataset to fill a JTable |
void |
dataset2Table(DefaultPieDataset dataset,
java.lang.String[] pulloutFlag)
|
void |
dataset2Table(DefaultStatisticalCategoryDataset dataset)
Use the data from a DefaultStatisticalCategoryDataset to fill a JTable |
void |
dataset2Table(IntervalXYDataset dataset)
use data from a IntervalXYDataset to fill a JTable |
void |
dataset2Table(TimeSeriesCollection dataset)
use data from a TimeSeriesCollection dataset to fill a JTable |
void |
dataset2Table(ValueDataset dataset)
use data from a ValueDataset to fill a JTable |
void |
dataset2Table(XYDataset dataset)
use data from a XYDataset to fill a JTable |
void |
dataset2Table(XYZDataset dataset)
use data from a XYZDataset to fill a JTable |
void |
dataset2TableA(DefaultStatisticalCategoryDataset dataset)
Use the data from a DefaultStatisticalCategoryDataset to fill a JTable separate the (mean, std) into 2 columns |
AbstractDataset |
getDataset()
|
javax.swing.JTable |
getTable()
returns a JTable object containing the Example Data |
void |
multiY2Table(java.lang.String[][] raw_y,
int row_count,
int col_count,
java.lang.String[] colName)
|
void |
normalDataset2Table(double mean,
double stdDev)
|
void |
Power2Table(XYDataset ds)
for PowerTrnsformedchart, use data from 2 array to fill a JTable |
void |
valueList2Table_vertical(java.lang.String[][] values_storage,
int serieCount,
int catCount)
|
void |
valueList2Table(java.lang.String[][] values_storage,
int serieCount,
int catCount)
Use the data in the given 2 dimension array to form a JTable |
void |
XY2Table(java.lang.String[] raw_x,
java.lang.String[] raw_y,
int row_count)
For QQ, use data from 2 arrays to fill a JTable |
void |
Y2Table(java.lang.String[] raw_y,
int row_count)
for QQ, use data from one array to fill a JTable |
void |
Y2Table(java.lang.String[] raw_x,
java.lang.String[] raw_y,
double[] transformed_x,
double[] transformed_y,
int row_count)
for ScatterPower, use data from XY array to fill a JTable |
void |
YIntervalDataset2Table(IntervalXYDataset dataset)
use data from a IntervalXYDataset to fill a JTable |
void |
YIntervalDataset2TableA(IntervalXYDataset dataset)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final java.lang.String DELIMITERS
Constructor Detail |
---|
public DataConvertor()
Method Detail |
---|
public void dataset2Table(AbstractDataset dataset, int type)
public void dataset2Table(DefaultPieDataset dataset)
dataset
- public void dataset2Table(DefaultPieDataset dataset, java.lang.String[] pulloutFlag)
public void dataset2Table(DefaultStatisticalCategoryDataset dataset)
dataset
- public void dataset2TableA(DefaultStatisticalCategoryDataset dataset)
dataset
- public void dataset2Table(CategoryDataset dataset)
dataset
- public void dataset2Table_vertical(CategoryDataset dataset)
dataset
- public void valueList2Table(java.lang.String[][] values_storage, int serieCount, int catCount)
values_storage
- serieCount
- catCount
- public void valueList2Table_vertical(java.lang.String[][] values_storage, int serieCount, int catCount)
public void XY2Table(java.lang.String[] raw_x, java.lang.String[] raw_y, int row_count)
raw_x
- raw_y
- row_count
- public void Power2Table(XYDataset ds)
raw_y
- row_count
- public void Y2Table(java.lang.String[] raw_y, int row_count)
raw_y
- row_count
- public void multiY2Table(java.lang.String[][] raw_y, int row_count, int col_count, java.lang.String[] colName)
public void data2Table(java.lang.String[] raw_y, double[] transformed, java.lang.String colname1, java.lang.String colname2, int row_count)
raw_y
- row_count
- public void Y2Table(java.lang.String[] raw_x, java.lang.String[] raw_y, double[] transformed_x, double[] transformed_y, int row_count)
raw_y
- row_count
- public void dataset2Table(TimeSeriesCollection dataset)
dataset
- public void YIntervalDataset2Table(IntervalXYDataset dataset)
dataset
- public void YIntervalDataset2TableA(IntervalXYDataset dataset)
public void dataset2Table(IntervalXYDataset dataset)
dataset
- public void dataset2Table(XYDataset dataset)
dataset
- public void dataset2Table(XYZDataset dataset)
dataset
- public void dataset2Table(ValueDataset dataset)
dataset
- public void normalDataset2Table(double mean, double stdDev)
mean
- stdDev
- public javax.swing.JTable getTable()
public AbstractDataset getDataset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |