|
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.AbstractDataSetFilter
public abstract class AbstractDataSetFilter
AbstactDataSetFilter implements common functions of DataSetFilter.
| Constructor Summary | |
|---|---|
AbstractDataSetFilter(DataSet data)
Create an instance of AbstractDataSetFilter. |
|
| Method Summary | |
|---|---|
Object |
clone()
Clone the data set. |
protected int |
convertToField(int col)
Convert a column index to real field index if it is a calc column field index. |
int |
getBaseCol(int c)
Get the base column index on its base data set of the specified column. |
int |
getBaseRow(int r)
Get the base row index on its base data set of the specified row. |
protected List |
getCalcColumns(boolean selfOnly)
Get the calculated columns. |
List |
getCalcRows()
Get the calculated rows. |
protected int |
getColCount0()
Return the number of columns in the data set without the calculated column. |
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. |
DataSet |
getDataSet()
Get the base data set. |
HRef[] |
getDrillHyperlinks(int col,
int row)
Get the drill hyperlinks at the specified cell. |
HRef[] |
getDrillHyperlinks(String col,
int row)
Get the drill hyperlinks at the specified cell. |
Format |
getFormat(int col,
int row)
Get the per cell format. |
Format |
getFormat(String col,
int row)
Get the per cell format. |
protected String |
getHeader0(int col)
Return the column header at the specified column. |
HRef |
getHyperlink(int col,
int row)
Get the hyperlink at the specified cell. |
HRef |
getHyperlink(String col,
int row)
Get the hyperlink at the specified cell. |
int |
getRootCol(int c)
Get the root column index on its root data set of the specified column. |
DataSet |
getRootDataSet()
Get the root data set. |
int |
getRootRow(int r)
Get the root row index on its root data set of the specified row. |
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 |
prepareGraph(EGraph graph,
Coordinate coord)
Initialize any data for this graph. |
void |
removeCalcValues()
Clear the calculated colum and row values. |
| Methods inherited from class inetsoft.graph.data.AbstractDataSet |
|---|
addCalcColumn, addCalcRow, getCalcColumns, getColCount, getComparator, getData, getData, getHeader, getRowCount, getType, indexOfHeader, isMeasure, prepareCalc, process, removeCalcColumns, removeCalcColValues, removeCalcRows, removeCalcRows, removeCalcRowValues |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface inetsoft.graph.data.DataSet |
|---|
addCalcColumn, addCalcRow, getCalcColumns, getColCount, getComparator, getData, getData, getHeader, getRowCount, getType, indexOfHeader, isMeasure, prepareCalc, removeCalcColumns, removeCalcColValues, removeCalcRows, removeCalcRows, removeCalcRowValues |
| Constructor Detail |
|---|
public AbstractDataSetFilter(DataSet data)
| Method Detail |
|---|
public void removeCalcValues()
removeCalcValues in interface DataSetremoveCalcValues in class AbstractDataSetprotected List getCalcColumns(boolean selfOnly)
getCalcColumns in class AbstractDataSetselfOnly - true to get the current data, otherwise recursively get all
calc columns.public List getCalcRows()
getCalcRows in interface DataSetgetCalcRows in class AbstractDataSet
public void prepareGraph(EGraph graph,
Coordinate coord)
prepareGraph in interface DataSetprepareGraph in class AbstractDataSetgraph - the (innermost) egraph that will plot this dataset.coord - the (innermost) coordiante that will plot this dataset.public DataSet getRootDataSet()
getRootDataSet in interface DataSetFilterpublic int getRootRow(int r)
getRootRow in interface DataSetFilterr - the specified row index.
public int getRootCol(int c)
getRootCol in interface DataSetFilterc - the specified column index.
public int getBaseRow(int r)
getBaseRow in interface DataSetFilterr - the specified row index.
public int getBaseCol(int c)
getBaseCol in interface DataSetFilterc - the specified column index.
public HRef getHyperlink(int col,
int row)
getHyperlink in interface AttributeDataSetcol - the specified column index.row - the specified row index.
public HRef getHyperlink(String col,
int row)
getHyperlink in interface AttributeDataSetcol - the specified column name.row - the specified row index.
public HRef[] getDrillHyperlinks(int col,
int row)
getDrillHyperlinks in interface AttributeDataSetcol - the specified column index.row - the specified row index.
public HRef[] getDrillHyperlinks(String col,
int row)
getDrillHyperlinks in interface AttributeDataSetcol - the specified column name.row - the specified row index.
public Format getFormat(int col,
int row)
getFormat in interface AttributeDataSetrow - row number.col - column number.
protected int convertToField(int col)
public Format getFormat(String col,
int row)
getFormat in interface AttributeDataSetcol - the specified column name.row - the specified row index.
public DataSet getDataSet()
getDataSet in interface DataSetFilterprotected Comparator getComparator0(String col)
getComparator0 in class AbstractDataSetcol - the specified column.
protected Object getData0(int col,
int row)
getData0 in class AbstractDataSetcol - the specified column index.row - the specified row index.protected int getRowCount0()
getRowCount0 in class AbstractDataSetprotected int getColCount0()
getColCount0 in class AbstractDataSetprotected int indexOfHeader0(String col)
indexOfHeader0 in class AbstractDataSetcol - the specified column header.protected String getHeader0(int col)
getHeader0 in class AbstractDataSetcol - the specified column index.protected Class getType0(String col)
getType0 in class AbstractDataSetprotected boolean isMeasure0(String col)
isMeasure0 in class AbstractDataSetcol - the specified column name.public Object clone()
AbstractDataSet
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 | ||||||||