|
Oracle Application Development Framework Model and Business Components Java API Reference
10g Release 3 (10.1.3) B16005-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.jbo.html.databeans.chart.ChartDataSource
oracle.jbo.html.databeans.chart.MappedChartDataSource
A Data source which provides a mapping support for the chart control. Some of the columns in the underlying View can be supressed (ex., CHAR type columns) using this datasource. This list of columns to be used in drawing the chart can be specified
A View with 'v' columns can be mapped to a chart data source with 'n' columns (n <= v).
ChartDataSource, ChartLabelDataSource| Field Summary |
| Fields inherited from class oracle.jbo.html.databeans.chart.ChartDataSource |
_parent, _qView, _rows |
| Constructor Summary | |
MappedChartDataSource(tdg.Perspective parent)Constructor |
|
| Method Summary | |
protected int |
_getColumnIndex(RowSet rs, java.lang.String name)get the index of the given column name |
protected java.lang.String |
_getColumnName(RowSet rs, int index) |
protected void |
_initMap() |
protected int |
_mapColumnIndex(int columnIndex) |
int |
getColumns() |
int[] |
getMappingColumnIndices() |
java.lang.String[] |
getMappingColumnNames()get the current list of mapped columns |
java.lang.Object |
getValue(int row, int col) |
void |
initialize()This method should be invoked after the View object has been set. |
void |
setMappingColumnIndices(int[] indices)Specify mapping description using column indices. |
void |
setMappingColumnNames(java.lang.String[] columnNames)Specify mapping description using columnNames. |
| Methods inherited from class oracle.jbo.html.databeans.chart.ChartDataSource |
_updateChart, columnLabel, getColumnLabel, getColumnLabelDataSource, getFootnote, getO1AxisTitle, getO2AxisTitle, getRowLabel, getRowLabelDataSource, getRows, getRowSet, getSubtitle, getTitle, getX1AxisTitle, getY1AxisTitle, getY2AxisTitle, isDirty, rowLabel, setColumnLabel, setColumnLabelDataSource, setRowLabel, setRowLabelDataSource, setRowSet |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MappedChartDataSource(tdg.Perspective parent)
| Method Detail |
public void initialize()
public void setMappingColumnNames(java.lang.String[] columnNames)
columnNames - List of column names in the underlying View object The resultant data source will have as column 0, the columnNames[0] and so on.setMappingColumnIndices(int[])public java.lang.String[] getMappingColumnNames()
public void setMappingColumnIndices(int[] indices)
indices - List of column indices in the underlying View object The resultant data source will have as column 0, the indices[0] and so on.setMappingColumnNames(String[])public int[] getMappingColumnIndices()
public int getColumns()
getColumns in interface tdg.data.in.TDGDataGridgetColumns in class ChartDataSource
public java.lang.Object getValue(int row,
int col)
getValue in interface tdg.data.in.TDGDataGridgetValue in class ChartDataSourceprotected void _initMap()
protected int _mapColumnIndex(int columnIndex)
protected int _getColumnIndex(RowSet rs,
java.lang.String name)
protected java.lang.String _getColumnName(RowSet rs,
int index)
|
Oracle Application Development Framework Model and Business Components Java API Reference
10g Release 3 (10.1.3) B16005-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||