ilog.cpl.graph
Class GraphSelectionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by ilog.util.IlEventObject
          extended by ilog.cpl.graph.GraphSelectionEvent
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
EquipmentSelectionEvent, NetworkSelectionEvent

public abstract class GraphSelectionEvent
extends IlEventObject

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

Since:
JTGO 4.0
See Also:
EquipmentSelectionListener, NetworkSelectionListener, Serialized Form

Nested Class Summary
static class GraphSelectionEvent.Type
          Event type
 
Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
protected GraphSelectionEvent(IlpGraphSelectionModel source, GraphSelectionEvent.Type type, IlpRepresentationObject[] objects)
          Creates an event.
 
Method Summary
 IlpRepresentationObject[] getObjects()
          Returns the objects concerning the event.
 String 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

GraphSelectionEvent

protected GraphSelectionEvent(IlpGraphSelectionModel source,
                              GraphSelectionEvent.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

getObjects

public IlpRepresentationObject[] getObjects()
Returns the objects concerning the event.


toString

public String toString()
Overrides:
toString in class EventObject


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