|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ilog.server.jsds.adapter.IlsGraphDS2IlvGrapherStrategy
Base class for graph adapter strategies, enhanced listeners for graph adapters.
Strategies are notified of main events occuring on the attached adapter: creation, deletion, updates from the corresponding data source, events dispatching in the adapter, and setting of the data model and of the graphic component.
Events from the data source are simply notified to the strategy and are
generally used to manage user defined properties.
Events dispatching and setting of the data model and of the graphic component
are cascaded through all strategies to allow events filtering or data model
wrapping.
IlsGraphDS2IlvGrapherAdapter
Field Summary | |
protected IlsGraphDS2IlvGrapherAdapter |
_adapter
|
Constructor Summary | |
IlsGraphDS2IlvGrapherStrategy(IlsGraphDS2IlvGrapherAdapter adapter)
Defines an empty strategy for IlsGraphDS2IlvGrapherAdapter
adapters. |
Method Summary | |
void |
internalDataSourceChange(DataSourceEvent e)
Called after data source change notification in the adapter. |
void |
internalDataSourceConnected(DSConnectionEvent e)
Called after the data source connection event. |
void |
internalDataSourceDisconnected(DSConnectionEvent e)
Called after the data source disconnection event. |
void |
internalLinkAdded(LinkEvent e)
Called after link added event dispatching in the adapter. |
void |
internalLinkRemoved(LinkEvent e)
Called after link removed event dispatching in the adapter. |
void |
internalLinkUpdated(LinkEvent e)
Called after link updated event dispatching in the adapter. |
void |
internalNodeAdded(NodeEvent e)
Called after node added event dispatching in the adapter. |
void |
internalNodeRemoved(NodeEvent e)
Called after node removed event dispatching in the adapter. |
void |
internalNodeUpdated(NodeEvent e)
Called after node updated event dispatching in the adapter. |
Component |
plugComponent(Component component)
Called before graphic component is connected to the adapter. |
ArrayList |
postDispatchBatchedEvents(ArrayList events)
Called before postdispatch events in the adapter. |
ArrayList |
preDispatchBatchedEvents(ArrayList events)
Called before predispatch events in the adapter. |
ilog.views.IlvGrapher |
setModel(ilog.views.IlvGrapher grapher)
Called before data model setting in the adapter. |
Component |
unplugComponent(Component component)
Called before graphic component is disconnected from the adapter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected IlsGraphDS2IlvGrapherAdapter _adapter
Constructor Detail |
public IlsGraphDS2IlvGrapherStrategy(IlsGraphDS2IlvGrapherAdapter adapter)
IlsGraphDS2IlvGrapherAdapter
adapters.adapter
- the adapter managing this strategy.Method Detail |
public ArrayList preDispatchBatchedEvents(ArrayList events)
events
unmodified.public ArrayList postDispatchBatchedEvents(ArrayList events)
events
unmodified.public void internalDataSourceChange(DataSourceEvent e)
e
- the data source event.IlsGraphDS2IlvGrapherAdapter.internalDataSourceChange(DataSourceEvent)
public ilog.views.IlvGrapher setModel(ilog.views.IlvGrapher grapher)
grapher
- the grapher.grapher
unmodified.IlsGraphDS2IlvGrapherAdapter.setGrapher(IlvGrapher)
public void internalLinkAdded(LinkEvent e)
e
- the link event.IlsGraphDS2IlvGrapherAdapter.internalLinkAdded(LinkEvent)
public void internalLinkRemoved(LinkEvent e)
e
- the link event.IlsGraphDS2IlvGrapherAdapter.internalLinkRemoved(LinkEvent)
public void internalLinkUpdated(LinkEvent e)
e
- the link event.IlsGraphDS2IlvGrapherAdapter.internalLinkUpdated(LinkEvent)
public void internalNodeAdded(NodeEvent e)
e
- the node event.IlsGraphDS2IlvGrapherAdapter.internalNodeAdded(NodeEvent)
public void internalNodeRemoved(NodeEvent e)
e
- the node event.IlsGraphDS2IlvGrapherAdapter.internalNodeRemoved(NodeEvent)
public void internalNodeUpdated(NodeEvent e)
e
- the node event.IlsGraphDS2IlvGrapherAdapter.internalNodeUpdated(NodeEvent)
public void internalDataSourceConnected(DSConnectionEvent e)
e
- the data source connection event.IlsGraphDS2IlvGrapherAdapter.dataSourceConnected(DSConnectionEvent)
public void internalDataSourceDisconnected(DSConnectionEvent e)
e
- the data source disconnection event.IlsGraphDS2IlvGrapherAdapter.dataSourceDisconnected(DSConnectionEvent)
public Component plugComponent(Component component)
component
- generally a JTable
instance.component
unmodified.IlsGraphDS2IlvGrapherAdapter.plugComponent(Component)
public Component unplugComponent(Component component)
component
- generally a IlvManagerView
instance.component
unmodified.IlsGraphDS2IlvGrapherAdapter.unplugComponent(Component)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |