ilog.cpl.equipment
Class EquipmentSelectionEvent

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

public class EquipmentSelectionEvent
extends GraphSelectionEvent

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

Since:
JTGO 4.0
See Also:
EquipmentSelectionListener, Serialized Form

Nested Class Summary
static class EquipmentSelectionEvent.Type
          Even types
 
Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
EquipmentSelectionEvent(IlpEquipmentSelectionModel source, EquipmentSelectionEvent.Type type, IlpRepresentationObject[] objects)
          Creates an event.
 
Method Summary
 IlpEquipmentSelectionModel getEquipmentSelectionModel()
          Returns the selection model to which the event refers to.
 
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

EquipmentSelectionEvent

public EquipmentSelectionEvent(IlpEquipmentSelectionModel source,
                               EquipmentSelectionEvent.Type type,
                               IlpRepresentationObject[] objects)
Creates an event.

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

getEquipmentSelectionModel

public IlpEquipmentSelectionModel getEquipmentSelectionModel()
Returns the selection model to which the event refers to.



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