ilog.cpl.equipment
Interface EquipmentModelListener

All Superinterfaces:
AttributeValueListener, EventListener, GraphModelListener
All Known Implementing Classes:
IlpAbstractEquipmentModelListener

public interface EquipmentModelListener
extends GraphModelListener

This interface allows you to observe the changes of an IlpEquipmentModel. An IlpEquipmentModel contains an infinite number of objects. To permit load-on-demand, a model listener maintains a list of objects which it is interested in, called the "observation scope".

Since:
JTGO 3.0
See Also:
EquipmentModelEvent, IlpEquipmentModel.addEquipmentModelListener(ilog.cpl.equipment.EquipmentModelListener), IlpEquipmentModel.removeEquipmentModelListener(ilog.cpl.equipment.EquipmentModelListener), GraphModelListener

Method Summary
 void childrenAdded(EquipmentModelEvent event)
          Invoked when children are added to a node.
 void childrenRemoved(EquipmentModelEvent event)
          Invoked when children are removed from a node.
 void linkEndChanged(EquipmentModelEvent event)
          Invoked when the end node of a link is changed.
 void rootObjectAdded(EquipmentModelEvent event)
          Invoked when a top-level object is added to the model.
 void rootObjectRemoved(EquipmentModelEvent event)
          Invoked when a top-level object is removed from the model.
 void rootObjectsAdded(EquipmentModelEvent event)
          Invoked when several top-level objects are added to the model.
 void rootObjectsRemoved(EquipmentModelEvent event)
          Invoked when several top-level objects are removed from the model.
 
Methods inherited from interface ilog.cpl.graph.GraphModelListener
attributeValueChange, eventSeriesBegin, eventSeriesEnd, isObserved
 

Method Detail

rootObjectAdded

void rootObjectAdded(EquipmentModelEvent event)
Invoked when a top-level object is added to the model.

Parameters:
event - An event of type EquipmentModelEvent.Type.ROOT_OBJECT_ADDED.

rootObjectsAdded

void rootObjectsAdded(EquipmentModelEvent event)
Invoked when several top-level objects are added to the model.

Parameters:
event - An event of type EquipmentModelEvent.Type.ROOT_OBJECTS_ADDED.
Since:
JTGO 4.0

rootObjectRemoved

void rootObjectRemoved(EquipmentModelEvent event)
Invoked when a top-level object is removed from the model.

Parameters:
event - An event of type EquipmentModelEvent.Type.ROOT_OBJECT_REMOVED.

rootObjectsRemoved

void rootObjectsRemoved(EquipmentModelEvent event)
Invoked when several top-level objects are removed from the model.

Parameters:
event - An event of type EquipmentModelEvent.Type.ROOT_OBJECTS_REMOVED.
Since:
JTGO 4.0

childrenAdded

void childrenAdded(EquipmentModelEvent event)
Invoked when children are added to a node. This notification can be omitted if isObserved(event.getObject()) is false.

Parameters:
event - An event of type EquipmentModelEvent.Type.CHILDREN_ADDED.

childrenRemoved

void childrenRemoved(EquipmentModelEvent event)
Invoked when children are removed from a node. This notification can be omitted if isObserved is false for the parent object and for all children objects listed in the event.

Parameters:
event - An event of type EquipmentModelEvent.Type.CHILDREN_REMOVED.

linkEndChanged

void linkEndChanged(EquipmentModelEvent event)
Invoked when the end node of a link is changed. This notification can be omitted if isObserved is false for the link object.

Parameters:
event - An event of type EquipmentModelEvent.Type.LINK_END_CHANGED.
Since:
JTGO 4.0


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