Oracle Data-aware Controls Reference

oracle.dacf.control.tdg.chart
Class ChartDataSource

java.lang.Object
  extended byoracle.dacf.control.tdg.chart.ChartDataSource
All Implemented Interfaces:
javax.infobus.DataItemChangeListener, tdg.data.in.TDGDataGrid
Direct Known Subclasses:
DefaultLabelChartDataSource, MappedChartDataSource

public abstract class ChartDataSource
extends java.lang.Object
implements tdg.data.in.TDGDataGrid, javax.infobus.DataItemChangeListener

Data source for the chart control.


Field Summary
protected  oracle.dacf.control.tdg.ChartControl _control
           
protected  javax.infobus.ScrollableRowsetAccess _rowset
           
protected  javax.infobus.DataItemView _view
           
 
Constructor Summary
ChartDataSource(oracle.dacf.control.tdg.ChartControl parent)
          Constructor
 
Method Summary
protected  void _updateBufferSize()
           
abstract  java.lang.String columnLabel(int i)
           
 void dataItemAdded(javax.infobus.DataItemAddedEvent e)
          Indicates that a new item was added to the bound aggregate data item (e.g.
 void dataItemChanged(java.lang.Object oldDataItem, java.lang.Object newDataItem)
           
 void dataItemDeleted(javax.infobus.DataItemDeletedEvent e)
          Indicates that an item was deleted from the bound aggregate data item (e.
 void dataItemRevoked(javax.infobus.DataItemRevokedEvent e)
          Indicates that the bound data item (and its sub-items, if any) has been revoked, and is temporarily unavailable.
 void dataItemValueChanged(javax.infobus.DataItemValueChangedEvent e)
          Indicates a changed value in the bound data item.
abstract  java.lang.Object[] getColumnLabel()
           
abstract  java.lang.String getColumnLabelDataItemName()
          data item name for the row labels, if used
abstract  ChartLabelDataSource getColumnLabelDataSource()
           
 int getColumns()
           
 java.lang.String getFootnote()
           
 java.lang.String getO1AxisTitle()
           
 java.lang.String getO2AxisTitle()
           
abstract  java.lang.Object[] getRowLabel()
           
abstract  java.lang.String getRowLabelDataItemName()
          data item name for the row labels, if used
abstract  ChartLabelDataSource getRowLabelDataSource()
           
 int getRows()
           
 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.String rowLabel(int i)
           
 void rowsetCursorMoved(javax.infobus.RowsetCursorMovedEvent e)
          Indicates that the cursor for the bound RowsetAccess data item has changed rows.
abstract  void setColumnLabel(java.lang.Object[] labels)
           
abstract  void setColumnLabelDataItemName(java.lang.String dataItemName)
          Specify data source for row labels.
abstract  void setColumnLabelDataSource(ChartLabelDataSource labelSource)
           
abstract  void setRowLabel(java.lang.Object[] labels)
           
abstract  void setRowLabelDataItemName(java.lang.String dataItemName)
          Specify data source for row labels.
abstract  void setRowLabelDataSource(ChartLabelDataSource labelSource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_control

protected oracle.dacf.control.tdg.ChartControl _control

_rowset

protected javax.infobus.ScrollableRowsetAccess _rowset

_view

protected javax.infobus.DataItemView _view
Constructor Detail

ChartDataSource

public ChartDataSource(oracle.dacf.control.tdg.ChartControl parent)
Constructor

Method Detail

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.String 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.String 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

setRowLabelDataItemName

public abstract void setRowLabelDataItemName(java.lang.String dataItemName)
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

See Also:
setRowLabelDataSource(Object)

getRowLabelDataItemName

public abstract java.lang.String getRowLabelDataItemName()
data item name for the row labels, if used


setRowLabelDataSource

public abstract void setRowLabelDataSource(ChartLabelDataSource labelSource)

getRowLabelDataSource

public abstract ChartLabelDataSource getRowLabelDataSource()

setRowLabel

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

getRowLabel

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

setColumnLabelDataItemName

public abstract void setColumnLabelDataItemName(java.lang.String dataItemName)
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

See Also:
setRowLabelDataSource(Object)

getColumnLabelDataItemName

public abstract java.lang.String getColumnLabelDataItemName()
data item name for the row labels, if used


setColumnLabelDataSource

public abstract void setColumnLabelDataSource(ChartLabelDataSource labelSource)

getColumnLabelDataSource

public abstract ChartLabelDataSource getColumnLabelDataSource()

setColumnLabel

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

getColumnLabel

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

dataItemChanged

public void dataItemChanged(java.lang.Object oldDataItem,
                            java.lang.Object newDataItem)

dataItemValueChanged

public void dataItemValueChanged(javax.infobus.DataItemValueChangedEvent e)
Indicates a changed value in the bound data item.

A reference to the data item that changed can be obtained from the event.

Specified by:
dataItemValueChanged in interface javax.infobus.DataItemChangeListener
See Also:
DataItemChangeListener.dataItemValueChanged(javax.infobus.DataItemValueChangedEvent)

dataItemAdded

public void dataItemAdded(javax.infobus.DataItemAddedEvent e)
Indicates that a new item was added to the bound aggregate data item (e.g. ArrayAccess, a JDK Collection, etc).

A reference to the data item that was added, and a reference to the one that gained it, can be obtained from the event.

Specified by:
dataItemAdded in interface javax.infobus.DataItemChangeListener
See Also:
DataItemChangeListener.dataItemAdded(javax.infobus.DataItemAddedEvent)

dataItemDeleted

public void dataItemDeleted(javax.infobus.DataItemDeletedEvent e)
Indicates that an item was deleted from the bound aggregate data item (e. g. ArrayAccess, a JDK Collection, etc).

A reference to the data item that was deleted, and a reference to the one that lost it, can be obtained from the event.

Specified by:
dataItemDeleted in interface javax.infobus.DataItemChangeListener
See Also:
DataItemChangeListener.dataItemDeleted(javax.infobus.DataItemDeletedEvent)

dataItemRevoked

public void dataItemRevoked(javax.infobus.DataItemRevokedEvent e)
Indicates that the bound data item (and its sub-items, if any) has been revoked, and is temporarily unavailable.

A reference to the data item that was revoked can be obtained from the event.

Specified by:
dataItemRevoked in interface javax.infobus.DataItemChangeListener
See Also:
DataItemChangeListener.dataItemRevoked(javax.infobus.DataItemRevokedEvent)

rowsetCursorMoved

public void rowsetCursorMoved(javax.infobus.RowsetCursorMovedEvent e)
Indicates that the cursor for the bound RowsetAccess data item has changed rows.

A reference to the rowset data item can be obtained from the event.

Specified by:
rowsetCursorMoved in interface javax.infobus.DataItemChangeListener
See Also:
DataItemChangeListener.rowsetCursorMoved(javax.infobus.RowsetCursorMovedEvent)

_updateBufferSize

protected void _updateBufferSize()

Oracle Data-aware Controls Reference

 

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