Oracle Application Development Framework Model and Business Components Java API Reference 10g Release 3 (10.1.3)
B16005-01


oracle.jbo.html.databeans.chart
Class ChartDataSource

java.lang.Object
  extended byoracle.jbo.html.databeans.chart.ChartDataSource

All Implemented Interfaces:
tdg.data.in.TDGDataGrid
Direct Known Subclasses:
MappedChartDataSource

public abstract class ChartDataSource
extends java.lang.Object
implements tdg.data.in.TDGDataGrid

Data source for the chart control.

Version:
Internal

Field Summary
protected  tdg.Perspective _parent
           
protected  RowSet _qView
           
protected  Row[] _rows
           

 

Constructor Summary
ChartDataSource(tdg.Perspective parent)
          Constructor

 

Method Summary
protected  void _updateChart()
           
abstract  java.lang.Object columnLabel(int i)
           
abstract  java.lang.Object[] getColumnLabel()
           
abstract  ChartLabelDataSource getColumnLabelDataSource()
           
 int getColumns()
           
 java.lang.String getFootnote()
           
 java.lang.String getO1AxisTitle()
           
 java.lang.String getO2AxisTitle()
           
abstract  java.lang.Object[] getRowLabel()
           
abstract  ChartLabelDataSource getRowLabelDataSource()
           
 int getRows()
           
 RowSet getRowSet()
           
 java.lang.String getSubtitle()
           
 java.lang.String getTitle()
           
 java.lang.Object getValue(int row, int col)
           
 java.lang.String getX1AxisTitle()
           
 java.lang.String getY1AxisTitle()
           
 java.lang.String getY2AxisTitle()
           
 boolean isDirty()
           
abstract  java.lang.Object rowLabel(int i)
           
abstract  void setColumnLabel(java.lang.Object[] labels)
           
abstract  void setColumnLabelDataSource(ChartLabelDataSource labelSource)
          Specify data source for row labels.
abstract  void setRowLabel(java.lang.Object[] labels)
           
abstract  void setRowLabelDataSource(ChartLabelDataSource labelSource)
          Specify data source for row labels.
 void setRowSet(RowSet qView)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

_qView

protected RowSet _qView

_rows

protected Row[] _rows

_parent

protected tdg.Perspective _parent

Constructor Detail

ChartDataSource

public ChartDataSource(tdg.Perspective parent)
Constructor

Method Detail

setRowSet

public void setRowSet(RowSet qView)

getRowSet

public RowSet getRowSet()

getTitle

public java.lang.String getTitle()
Specified by:
getTitle in interface tdg.data.in.TDGDataGrid

getSubtitle

public java.lang.String getSubtitle()
Specified by:
getSubtitle in interface tdg.data.in.TDGDataGrid

getFootnote

public java.lang.String getFootnote()
Specified by:
getFootnote in interface tdg.data.in.TDGDataGrid

getX1AxisTitle

public java.lang.String getX1AxisTitle()
Specified by:
getX1AxisTitle in interface tdg.data.in.TDGDataGrid

getY1AxisTitle

public java.lang.String getY1AxisTitle()
Specified by:
getY1AxisTitle in interface tdg.data.in.TDGDataGrid

getO1AxisTitle

public java.lang.String getO1AxisTitle()
Specified by:
getO1AxisTitle in interface tdg.data.in.TDGDataGrid

getO2AxisTitle

public java.lang.String getO2AxisTitle()
Specified by:
getO2AxisTitle in interface tdg.data.in.TDGDataGrid

getY2AxisTitle

public java.lang.String getY2AxisTitle()
Specified by:
getY2AxisTitle in interface tdg.data.in.TDGDataGrid

columnLabel

public abstract java.lang.Object columnLabel(int i)
Specified by:
columnLabel in interface tdg.data.in.TDGDataGrid

getColumns

public int getColumns()
Specified by:
getColumns in interface tdg.data.in.TDGDataGrid

rowLabel

public abstract java.lang.Object rowLabel(int i)
Specified by:
rowLabel in interface tdg.data.in.TDGDataGrid

getRows

public int getRows()
Specified by:
getRows in interface tdg.data.in.TDGDataGrid

getValue

public java.lang.Object getValue(int row,
                                 int col)
Specified by:
getValue in interface tdg.data.in.TDGDataGrid

isDirty

public boolean isDirty()
Specified by:
isDirty in interface tdg.data.in.TDGDataGrid

setRowLabelDataSource

public abstract void setRowLabelDataSource(ChartLabelDataSource labelSource)
Specify data source for row labels. The labels could be

The dataitem name of the column should be specified to indicate the column values of a table

The dataitem name of the rowset should be specified to indicate the column display name of some table

Parameters:
labelSource - of the column values or the rowset
See Also:
setRowLabelDataSource(ChartLabelDataSource)

getRowLabelDataSource

public abstract ChartLabelDataSource getRowLabelDataSource()

setRowLabel

public abstract void setRowLabel(java.lang.Object[] labels)

getRowLabel

public abstract java.lang.Object[] getRowLabel()

setColumnLabelDataSource

public abstract void setColumnLabelDataSource(ChartLabelDataSource labelSource)
Specify data source for row labels. The labels could be

The dataitem name of the column should be specified to indicate the column values of a table

The dataitem name of the rowset should be specified to indicate the column display name of some table

Parameters:
labelSource - of the column values or the rowset
See Also:
setRowLabelDataSource(ChartLabelDataSource)

getColumnLabelDataSource

public abstract ChartLabelDataSource getColumnLabelDataSource()

setColumnLabel

public abstract void setColumnLabel(java.lang.Object[] labels)

getColumnLabel

public abstract java.lang.Object[] getColumnLabel()

_updateChart

protected void _updateChart()

Oracle Application Development Framework Model and Business Components Java API Reference 10g Release 3 (10.1.3)
B16005-01


Copyright © 1997, 2005, Oracle. All rights reserved.