oracle.dacf.control.swing
Class MappedComboBoxDataSource
java.lang.Object
|
+--javax.swing.AbstractListModel
|
+--oracle.dacf.control.swing.ColumnModelSupport
|
+--oracle.dacf.control.swing.CachedColumnModelSupport
|
+--oracle.dacf.control.swing.ComboBoxDataSource
|
+--oracle.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
Fields inherited from class javax.swing.AbstractListModel |
listenerList |
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.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, 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 |
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 controllistDataItemName
- data item name for the combo
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.
- Overrides:
dataItemValueChanged
in class ColumnModelSupport
- Following copied from class:
oracle.dacf.control.swing.ColumnModelSupport
- Parameters:
event
- Contains change information.- 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.
- Overrides:
rowsetCursorMoved
in class ColumnModelSupport
- Following copied from class:
oracle.dacf.control.swing.ColumnModelSupport
- Parameters:
event
- Contains details of the cursor move.- See Also:
DataItemChangeListener.rowsetCursorMoved(javax.infobus.RowsetCursorMovedEvent)
available
public void available(java.lang.String name,
java.lang.Object publishedObject)
- Overrides:
available
in class ColumnModelSupport