public interface DataFilter
Modifier and Type | Method and Description |
---|---|
int |
getDataAccessColumn(int filteredColumn)
Retrieves the dataAccess column if filtered column is given.
|
int |
getDataAccessRow(int filteredRow)
Retrieves the dataAccess row if filtered row is given.
|
int |
getFilteredColumn(int dataAccessColumn)
Retrieves the filtered column if dataAccess column is given.
|
int |
getFilteredRow(int dataAccessRow)
Retrieves the filtered row if dataAccess row is given.
|
int[] |
getMeasures()
Retrieves the array of measure indexes to use from the DataSource for the
current Graph type.
|
int[] |
getMeasures(int graphType)
Retrieves the array of measure indexes to use from the DataSource for the
specified Graph type.
|
int |
getTotalMeasures()
Returns the total number of measures in the DataSource that was set using
setMeasures() method.
|
void |
refresh()
The application can call this method to refresh the arrays of measure indexes
that are previously set.
|
void |
setMeasures(int[] measures,
int totalMeasures)
Specifies the array of measure indexes to use from the DataSource and the total
number of measures available in the DataSource for the current Graph type.
|
void |
setMeasures(int graphType,
int[] measures,
int totalMeasures)
Specifies the array of measure indexes to use from the DataSource for the
given Graph type and the total number of measures in the DataSource.
|
int[] getMeasures()
int[] getMeasures(int graphType)
graphType
- the GraphType for which the array is needed.int getDataAccessColumn(int filteredColumn)
filteredColumn
- the filtered columnint getDataAccessRow(int filteredRow)
filteredRow
- the filtered rowint getFilteredColumn(int dataAccessColumn)
dataAccessColumn
- the column in the DataAccessint getFilteredRow(int dataAccessRow)
dataAccessRow
- the row in the DataAccessvoid setMeasures(int[] measures, int totalMeasures)
measures
- the array of measure indexestotalMeasures
- the total number measures in the dataSourcevoid setMeasures(int graphType, int[] measures, int totalMeasures)
graphType
- the graph type for which the array of measure indexes should be usedmeasures
- the array of measure indexestotalMeasures
- the total number measures in the dataSourceint getTotalMeasures()
void refresh()