Oracle Data-aware Controls Reference

oracle.dacf.control.swing
Class MappedComboBoxDataSource

java.lang.Object
  extended byjavax.swing.AbstractListModel
      extended byoracle.dacf.control.swing.ColumnModelSupport
          extended byoracle.dacf.control.swing.CachedColumnModelSupport
              extended byoracle.dacf.control.swing.ComboBoxDataSource
                  extended byoracle.dacf.control.swing.MappedComboBoxDataSource
All Implemented Interfaces:
javax.swing.ComboBoxModel, oracle.dacf.rp.Consumer, javax.infobus.DataItemChangeListener, java.util.EventListener, javax.infobus.InfoBusDataConsumer, javax.infobus.InfoBusEventListener, InfoBusManagerListener, javax.infobus.InfoBusMember, javax.swing.ListModel, oracle.dacf.rp.Participant, java.beans.PropertyChangeListener, java.io.Serializable

public class MappedComboBoxDataSource
extends ComboBoxDataSource

ComboBox datasource. Provides mapping support

Version:
Internal
See Also:
ComboBoxDataSource, Serialized Form

Nested Class Summary
 
Nested classes inherited from class oracle.dacf.control.swing.ComboBoxDataSource
ComboBoxDataSource.ValueLocator
 
Field Summary
 
Fields inherited from class oracle.dacf.control.swing.ComboBoxDataSource
_cachedSelectedItemInvalid, _comboBox, _detailItem, _listValueDataItemName, _rowsetForUpdateableItem, _selectedItem, _valueLocator
 
Fields inherited from class oracle.dacf.control.swing.ColumnModelSupport
bDisableEvent
 
Fields inherited from class javax.swing.AbstractListModel
listenerList
 
Constructor Summary
MappedComboBoxDataSource(ComboBoxControl comboBox)
          Constructor
MappedComboBoxDataSource(ComboBoxControl comboBox, java.lang.String listDataItemName)
          Constructor
 
Method Summary
 void available(java.lang.String name, java.lang.Object publishedObject)
           
 void dataItemValueChanged(javax.infobus.DataItemValueChangedEvent e)
          Indicates a changed value in the bound data item.
 void rowsetCursorMoved(javax.infobus.RowsetCursorMovedEvent e)
          Indicates that the cursor for the bound RowsetAccess data item has changed rows.
 
Methods inherited from class oracle.dacf.control.swing.ComboBoxDataSource
_getUpdateableValue, _itemToIndex, _releaseResourcesInternal, _syncSelectionWithDetailColumnValue, getListDataItemName, getListKeyDataItemName, getListValueDataItemName, getMode, getName, getRowsetAccessForUpdateableItem, getSelectedItem, getValueLocator, rowsAvailable, rowsRevoked, setListDataItemName, setListKeyDataItemName, setListValueDataItemName, setSelectedIndex, setSelectedItem, setSelectedItemInternal, setValueLocator, toString
 
Methods inherited from class oracle.dacf.control.swing.CachedColumnModelSupport
findCachedItem, getElementAt, isCachingEnabled, revokeAllRows, rowsAdded, rowsChanged, setCachingEnabled
 
Methods inherited from class oracle.dacf.control.swing.ColumnModelSupport
_findColumnIndex, _getItemFromCursor, _isRowChanged, _isViewRefreshed, addInfoBusPropertyListener, addInfoBusVetoableListener, dataItemAdded, dataItemAvailable, dataItemDeleted, dataItemRevoked, dataItemRevoked, getArrayAccess, getDataItemName, getInfoBus, getInfoBusName, getRowsetAccess, getSelection, getSize, propertyChange, releaseResources, removeInfoBusPropertyListener, removeInfoBusVetoableListener, revoked, rowsDeleted, setDataItemName, setInfoBus, setInfoBusName, setSelection
 
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.swing.ListModel
addListDataListener, getElementAt, getSize, removeListDataListener
 

Constructor Detail

MappedComboBoxDataSource

public MappedComboBoxDataSource(ComboBoxControl comboBox)
Constructor

Parameters:
comboBox - a handle to the parent control

MappedComboBoxDataSource

public MappedComboBoxDataSource(ComboBoxControl comboBox,
                                java.lang.String listDataItemName)
Constructor

Parameters:
comboBox - a handle to the parent control
listDataItemName - data item name for the combo
Method Detail

dataItemValueChanged

public void dataItemValueChanged(javax.infobus.DataItemValueChangedEvent e)
Description copied from class: ColumnModelSupport
Indicates a changed value in the bound data item.

ColumnModelSupport notifies its listeners upon receiving this event.

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

rowsetCursorMoved

public void rowsetCursorMoved(javax.infobus.RowsetCursorMovedEvent e)
Description copied from class: ColumnModelSupport
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.

ColumnModelSupport notifies its listeners upon receiving this event.

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

available

public void available(java.lang.String name,
                      java.lang.Object publishedObject)
Specified by:
available in interface oracle.dacf.rp.Consumer
Overrides:
available in class ColumnModelSupport

Oracle Data-aware Controls Reference

 

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