ilog.ds.adapter
Interface IlJPluggableAdapter
- All Superinterfaces:
- IlPluggableAdapter
- All Known Implementing Classes:
- IlListDS2DefaultComboBoxModelAdapter, IlListDS2DefaultListModelAdapter, IlsDSGraphAdapter, IlsDSJTableAdapter, IlsDSJTreeAdapter, IlsGanttDS2IlvHierarchyChartAdapter, IlsGraphDS2IlvGrapherAdapter, IlsSDMDS2IlvSDMViewAdapter, IlsTableDS2JTableAdapter, IlsTreeDS2JTreeAdapter, IlTableDS2DefaultComboBoxModelAdapter, IlTableDS2DefaultListModelAdapter
- public interface IlJPluggableAdapter
- extends IlPluggableAdapter
Interface for adapters to plug and unplug data source and data sources
editor, data model and graphic component in a generic way. Class types are
verified at runtime. These methods are supposed to be called indirectly by
the adapter through setDataSource and
setDataSourceEditor, ...
|
Method Summary |
abstract void |
plugComponent(java.awt.Component component)
Eventually verify component type, adapter eventually listens graphic
component, component is plugged to data model (so, model must be plugged
first). |
abstract void |
plugDataModel(java.lang.Object model)
Verify data model type, adapter stores and listens data model. |
abstract void |
unplugComponent(java.awt.Component component)
Adapter eventually stops listening to graphic component, component is
also unplugged from data model, so unplug model only after having
unplugged all components |
abstract void |
unplugDataModel(java.lang.Object model)
Adapter cancels storing and stops listening to data model. |
plugDataModel
public void plugDataModel(java.lang.Object model)
throws IllegalModelException
- Verify data model type, adapter stores and listens data model. Be sure to
plug model before plugging any components.
unplugDataModel
public void unplugDataModel(java.lang.Object model)
- Adapter cancels storing and stops listening to data model. Be sure to
have unplugged all component first.
plugComponent
public void plugComponent(java.awt.Component component)
throws IllegalComponentException
- Eventually verify component type, adapter eventually listens graphic
component, component is plugged to data model (so, model must be plugged
first).
unplugComponent
public void unplugComponent(java.awt.Component component)
- Adapter eventually stops listening to graphic component, component is
also unplugged from data model, so unplug model only after having
unplugged all components