|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.graph.data.AbstractDataSet
inetsoft.graph.data.DefaultDataSet
public class DefaultDataSet
This class implements dataset interface and provide a in-memory implementation of datasets.
| Constructor Summary | |
|---|---|
DefaultDataSet(Object[][] data0)
Create a dataset. |
|
| Method Summary | |
|---|---|
Object |
clone()
Clone the defualt data set. |
protected int |
getColCount0()
Return the number of columns in the chart lens. |
protected Comparator |
getComparator0(String col)
Get the comparer to sort data at the specified column. |
protected Object |
getData0(int col,
int row)
Return the data at the specified cell. |
protected String |
getHeader0(int col)
Return the column header at the specified column. |
protected int |
getRowCount0()
Return the number of rows in the chart lens. |
protected Class |
getType0(String col)
Get the data type of the column. |
protected int |
indexOfHeader0(String col)
Get the index of the specified header. |
protected boolean |
isMeasure0(String col)
Check if the column is measure. |
void |
setComparator(String col,
Comparator comp)
Set the comparer to sort data at the specified column. |
void |
setOrder(String col,
Object[] list)
Set the order of values in the column. |
| Methods inherited from class inetsoft.graph.data.AbstractDataSet |
|---|
addCalcColumn, addCalcRow, getCalcColumns, getCalcColumns, getCalcRows, getColCount, getComparator, getData, getData, getHeader, getRowCount, getType, indexOfHeader, isMeasure, prepareCalc, prepareGraph, process, removeCalcColumns, removeCalcColValues, removeCalcRows, removeCalcRows, removeCalcRowValues, removeCalcValues |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultDataSet(Object[][] data0)
data0 - data in rows and columns. The first row is the column
headers.| Method Detail |
|---|
protected Object getData0(int col,
int row)
getData0 in class AbstractDataSetcol - the specified column index.row - the specified row index.protected String getHeader0(int col)
getHeader0 in class AbstractDataSetcol - the specified column index.
protected Class getType0(String col)
getType0 in class AbstractDataSetprotected int indexOfHeader0(String col)
indexOfHeader0 in class AbstractDataSetcol - the specified column header.protected Comparator getComparator0(String col)
getComparator0 in class AbstractDataSetcol - the specified column.
public void setOrder(String col,
Object[] list)
public void setComparator(String col,
Comparator comp)
col - the specified column.comp - the comparer to sort data at the specified column.protected boolean isMeasure0(String col)
isMeasure0 in class AbstractDataSetcol - the specified column name.
protected int getRowCount0()
getRowCount0 in class AbstractDataSetprotected int getColCount0()
getColCount0 in class AbstractDataSetpublic Object clone()
clone in interface DataSetclone in class AbstractDataSet
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||