|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DataSet
DataSet, as the data provider, provides data for a graph.
| Method Summary | |
|---|---|
void |
addCalcColumn(CalcColumn col)
Add a calculated columns. |
void |
addCalcRow(CalcRow col)
Add a calculated rows. |
Object |
clone()
|
List |
getCalcColumns()
Get the calculated columns. |
List |
getCalcRows()
Get the calculated rows. |
int |
getColCount()
Return the number of columns in the data set. |
Comparator |
getComparator(String col)
Get the comparer to sort data at the specified column. |
Object |
getData(int col,
int row)
Return the data at the specified cell. |
Object |
getData(String col,
int row)
Return the data at the specified cell. |
String |
getHeader(int col)
Return the column header at the specified column. |
int |
getRowCount()
Return the number of rows in the data set. |
Class |
getType(String col)
Get the data type of the column. |
int |
indexOfHeader(String col)
Get the index of the specified header. |
boolean |
isMeasure(String col)
Check if the column is measure. |
void |
prepareCalc(String dim,
int[] rows)
This method must be called before the calculated columns can be used. |
void |
prepareGraph(EGraph graph,
Coordinate coord)
Initialize any data for this graph. |
void |
removeCalcColumns()
Remove all calculated columns. |
void |
removeCalcColValues()
Clear the calculated column values. |
void |
removeCalcRows()
Remove all calculated rows. |
void |
removeCalcRows(Class cls)
Remove calc rows with the specified type. |
void |
removeCalcRowValues()
Clear the calculated row values. |
void |
removeCalcValues()
Clear the calculated column and row values. |
| Method Detail |
|---|
Object getData(String col,
int row)
col - the specified column name.row - the specified row index.
Object getData(int col,
int row)
col - the specified column index.row - the specified row index.
String getHeader(int col)
col - the specified column index.
Class getType(String col)
int indexOfHeader(String col)
col - the specified column header.Comparator getComparator(String col)
col - the specified column.boolean isMeasure(String col)
col - the specified column name.
int getRowCount()
int getColCount()
void prepareCalc(String dim,
int[] rows)
dim - the innermost dimension column in the graph.rows - a list of row indexes to calculate values using CalcColumn.
Calculate every row in sequence if it's null.
void prepareGraph(EGraph graph,
Coordinate coord)
graph - the (innermost) egraph that will plot this dataset.coord - the (innermost) coordiante that will plot this dataset.void addCalcColumn(CalcColumn col)
List getCalcColumns()
void removeCalcColumns()
void addCalcRow(CalcRow col)
List getCalcRows()
void removeCalcRows()
void removeCalcRows(Class cls)
void removeCalcValues()
void removeCalcColValues()
void removeCalcRowValues()
Object clone()
|
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 | ||||||||