ilog.ds.adapter
Interface IlJPluggableAdapter
- All Superinterfaces:
- IlPluggableAdapter
- All Known Implementing Classes:
- IlListDS2DefaultComboBoxModelAdapter, IlListDS2DefaultListModelAdapter, IlTableDS2DefaultComboBoxModelAdapter, IlTableDS2DefaultListModelAdapter, IlsTableDS2JTableAdapter, IlsSDMDS2IlvSDMViewAdapter, IlsTreeDS2JTreeAdapter, IlsDSJTreeAdapter, IlsDSGraphAdapter, IlsDSJTableAdapter, IlsGanttDS2IlvHierarchyChartAdapter, IlsGraphDS2IlvGrapherAdapter
- 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(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(Object model)
Verify data model type, adapter stores and listens data model. |
abstract void |
unplugComponent(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(Object model)
Adapter cancels storing and stops listening to data model. |
plugDataModel
public void plugDataModel(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(Object model)
- Adapter cancels storing and stops listening to data model. Be sure to
have unplugged all component first.
plugComponent
public void plugComponent(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(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