ilog.ds.adapter
Class IlTableDS2DefaultComboBoxModelAdapter
java.lang.Object
|
+--ilog.ds.adapter.IlAbstractAdapter
|
+--ilog.ds.adapter.IlAbstractListModelAdapter
|
+--ilog.ds.adapter.IlTableDS2AbstractListModelAdapter
|
+--ilog.ds.adapter.IlTableDS2DefaultComboBoxModelAdapter
- All Implemented Interfaces:
- BatchListener, DataSourceListener, java.util.EventListener, IlFreezableAdapter, IlJPluggableAdapter, IlPluggableAdapter, javax.swing.event.ListDataListener, TableDSListener
- Direct Known Subclasses:
- IlsTableDS2JComboBoxAdapter
- public abstract class IlTableDS2DefaultComboBoxModelAdapter
- extends IlTableDS2AbstractListModelAdapter
- implements IlJPluggableAdapter
This class adapts the events from the IlTableDataSource to a Swing
DefaultComboBoxModel. It does not implement how elements are
created or updated, that is, how the properties from the data source are
mapped to the Object themselves. This class supports the mapping
between the data source objects and the model objects.
- See Also:
IlListDataSource,
DefaultListModel
| Methods inherited from class ilog.ds.adapter.IlTableDS2AbstractListModelAdapter |
columnChange, containsDSRow, containsElement, createElement, dispatchBatchedEvent, getDSMappedColumn, getDSRow, getElement, getTableDataSource, internalColumnChange, internalModelCreated, modelCreated, plugDataSource, plugDataSourceEditor, rowChange, setDSMappedColumn, setTableDataSource, setTableDataSource, unplugDataSource, unplugDataSourceEditor, updateElement |
| Methods inherited from class ilog.ds.adapter.IlAbstractAdapter |
addDispatchListener, addDSEvent, clearDSEvents, dispatchBatchedEvents, endBatch, firePostDispatchBatchedEventsEvent, firePreDispatchBatchedEventsEvent, GetColor, getSynchronizationStrategy, internalDataSourceChange, isFrozen, isInBatchedEvents, isInTransaction, postDispatchBatchedEvents, preDispatchBatchedEvents, removeDispatchListener, setFrozen, setSynchronizationStrategy, startBatch |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IlTableDS2DefaultComboBoxModelAdapter
public IlTableDS2DefaultComboBoxModelAdapter()
dcm
protected final javax.swing.DefaultComboBoxModel dcm()
internalRowAdded
protected void internalRowAdded(RowEvent evt)
- Overrides:
internalRowAdded in class IlTableDS2AbstractListModelAdapter
internalRowUpdated
protected void internalRowUpdated(RowEvent evt)
- Overrides:
internalRowUpdated in class IlTableDS2AbstractListModelAdapter
internalRowRemoved
protected void internalRowRemoved(RowEvent evt)
- Overrides:
internalRowRemoved in class IlTableDS2AbstractListModelAdapter
plugDataModel
public void plugDataModel(java.lang.Object model)
throws IllegalModelException
- Description copied from interface:
IlJPluggableAdapter
- Verify data model type, adapter stores and listens data model. Be sure to
plug model before plugging any components.
- Specified by:
plugDataModel in interface IlJPluggableAdapter
unplugDataModel
public void unplugDataModel(java.lang.Object model)
- Description copied from interface:
IlJPluggableAdapter
- Adapter cancels storing and stops listening to data model. Be sure to
have unplugged all component first.
- Specified by:
unplugDataModel in interface IlJPluggableAdapter