ilog.cpl.network
Class IlpAbstractNetworkSelectionModel

java.lang.Object
  extended by ilog.cpl.graph.IlpAbstractGraphSelectionModel
      extended by ilog.cpl.network.IlpAbstractNetworkSelectionModel
All Implemented Interfaces:
IlpGraphSelectionModel, IlpNetworkSelectionModel, IlpObjectSelectionModel, IlpRepresentationObjectSelectionModel
Direct Known Subclasses:
IlpDefaultNetworkSelectionModel

public abstract class IlpAbstractNetworkSelectionModel
extends IlpAbstractGraphSelectionModel
implements IlpNetworkSelectionModel

This class is an implementation of the IlpNetworkSelectionModel interface which handles notification to listeners of the model.

It does not, however, constrain the way the selection model operates. It is therefore an abstract class. A concrete, fully implemented subclass is the class IlpDefaultNetworkSelectionModel.

Since:
JTGO 3.0

Field Summary
 
Fields inherited from class ilog.cpl.graph.IlpAbstractGraphSelectionModel
helper
 
Constructor Summary
IlpAbstractNetworkSelectionModel()
          Constructor.
 
Method Summary
 void addNetworkSelectionListener(NetworkSelectionListener listener)
          Adds a listener that is notified each time a change to this model occurs.
 void fireNetworkSelectionEvent(NetworkSelectionEvent event)
          Notifies the listeners of a selection model event.
 void removeNetworkSelectionListener(NetworkSelectionListener listener)
          Removes a listener previously added with addNetworkSelectionListener.
 
Methods inherited from class ilog.cpl.graph.IlpAbstractGraphSelectionModel
addSelectionListener, fireGraphSelectionEvent, getRepresentationObjectMapper, removeSelectionListener, setRepresentationObjectMapper
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ilog.cpl.graph.IlpGraphSelectionModel
getRepresentationObjectMapper, setRepresentationObjectMapper
 
Methods inherited from interface ilog.cpl.util.selection.IlpRepresentationObjectSelectionModel
addSelectionRepresentationObject, clearSelection, getSelectedRepresentationObject, getSelectedRepresentationObjects, isRepresentationObjectSelected, removeSelectionRepresentationObject, removeSelectionRepresentationObjects, setSelectedRepresentationObject, setSelectedRepresentationObjects
 
Methods inherited from interface ilog.cpl.util.selection.IlpObjectSelectionModel
addSelectionObject, clearSelection, getSelectedObject, getSelectedObjects, isObjectSelected, removeSelectionObject, setSelectedObject, setSelectedObjects
 

Constructor Detail

IlpAbstractNetworkSelectionModel

public IlpAbstractNetworkSelectionModel()
Constructor.

Method Detail

fireNetworkSelectionEvent

public void fireNetworkSelectionEvent(NetworkSelectionEvent event)
Notifies the listeners of a selection model event.


addNetworkSelectionListener

public void addNetworkSelectionListener(NetworkSelectionListener listener)
Adds a listener that is notified each time a change to this model occurs.

Specified by:
addNetworkSelectionListener in interface IlpNetworkSelectionModel
Parameters:
listener - The listener to be added.

removeNetworkSelectionListener

public void removeNetworkSelectionListener(NetworkSelectionListener listener)
Removes a listener previously added with addNetworkSelectionListener.

Specified by:
removeNetworkSelectionListener in interface IlpNetworkSelectionModel
Parameters:
listener - The listener to be removed.


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.