ilog.cpl.network
Class NetworkSelectionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by ilog.util.IlEventObject
          extended by ilog.cpl.graph.GraphSelectionEvent
              extended by ilog.cpl.network.NetworkSelectionEvent
All Implemented Interfaces:
Serializable

public class NetworkSelectionEvent
extends GraphSelectionEvent

This class describes a change in the set of selected objects managed by an IlpNetworkSelectionModel.

Since:
JTGO 3.0
See Also:
NetworkSelectionListener, Serialized Form

Nested Class Summary
static class NetworkSelectionEvent.Type
          Event type
 
Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
NetworkSelectionEvent(IlpNetworkSelectionModel source, NetworkSelectionEvent.Type type, IlpRepresentationObject[] objects)
          Creates an event.
 
Method Summary
 IlpNetworkSelectionModel getNetworkSelectionModel()
          Returns the selection model to which the event refers.
 
Methods inherited from class ilog.cpl.graph.GraphSelectionEvent
getObjects, toString
 
Methods inherited from class ilog.util.IlEventObject
getType
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NetworkSelectionEvent

public NetworkSelectionEvent(IlpNetworkSelectionModel source,
                             NetworkSelectionEvent.Type type,
                             IlpRepresentationObject[] objects)
Creates an event.

Parameters:
source - The selection model.
type - OBJECTS_SELECTED or OBJECTS_DESELECTED.
objects - The objects that have been added (selected) or removed (deselected).
Method Detail

getNetworkSelectionModel

public IlpNetworkSelectionModel getNetworkSelectionModel()
Returns the selection model to which the event refers.



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