ilog.cpl.equipment
Class IlpAbstractEquipmentModelListener

java.lang.Object
  extended by ilog.cpl.equipment.IlpAbstractEquipmentModelListener
All Implemented Interfaces:
EquipmentModelListener, GraphModelListener, AttributeValueListener, EventListener

public abstract class IlpAbstractEquipmentModelListener
extends Object
implements EquipmentModelListener

This class provides an abstract equipment model listener implementation.

The methods in this class are empty. This class enables you to create equipment model listener objects.

Since:
JTGO 4.0
See Also:
EquipmentModelListener

Constructor Summary
IlpAbstractEquipmentModelListener()
          Default constructor.
 
Method Summary
 void attributeValueChange(AttributeValueEvent event)
          Invoked when an attribute of an object contained in the model changes.
 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 eventSeriesBegin()
          Invoked before a series of events begins.
 void eventSeriesEnd()
          Invoked after a series of events has ended.
 boolean isObserved(IlpRepresentationObject object)
          Returns true if the object is a member of the observation scope of this listener.
 void linkEndChanged(EquipmentModelEvent event)
          Invoked when a link end node 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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlpAbstractEquipmentModelListener

public IlpAbstractEquipmentModelListener()
Default constructor.

Since:
JViews 8.0
Method Detail

rootObjectAdded

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

Specified by:
rootObjectAdded in interface EquipmentModelListener
Parameters:
event - An event of type EquipmentModelEvent.Type.ROOT_OBJECT_ADDED.

rootObjectsAdded

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

Specified by:
rootObjectsAdded in interface EquipmentModelListener
Parameters:
event - An event of type EquipmentModelEvent.Type.ROOT_OBJECTS_ADDED.

rootObjectRemoved

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

Specified by:
rootObjectRemoved in interface EquipmentModelListener
Parameters:
event - An event of type EquipmentModelEvent.Type.ROOT_OBJECT_REMOVED.

rootObjectsRemoved

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

Specified by:
rootObjectsRemoved in interface EquipmentModelListener
Parameters:
event - An event of type EquipmentModelEvent.Type.ROOT_OBJECTS_REMOVED.

childrenAdded

public void childrenAdded(EquipmentModelEvent event)
Invoked when children are added to a node.

Specified by:
childrenAdded in interface EquipmentModelListener
Parameters:
event - An event of type EquipmentModelEvent.Type.CHILDREN_ADDED.

childrenRemoved

public void childrenRemoved(EquipmentModelEvent event)
Invoked when children are removed from a node.

Specified by:
childrenRemoved in interface EquipmentModelListener
Parameters:
event - An event of type EquipmentModelEvent.Type.CHILDREN_REMOVED.

linkEndChanged

public void linkEndChanged(EquipmentModelEvent event)
Invoked when a link end node is changed.

Specified by:
linkEndChanged in interface EquipmentModelListener
Parameters:
event - An event of type EquipmentModelEvent.Type.LINK_END_CHANGED.

isObserved

public boolean isObserved(IlpRepresentationObject object)
Returns true if the object is a member of the observation scope of this listener. That is, if this listener is interested in being notified about the object.

The IlpGraphModel is not allowed to send an event to this listener if the event concerns an object that is not in the observation scope.

Specified by:
isObserved in interface GraphModelListener

eventSeriesBegin

public void eventSeriesBegin()
Invoked before a series of events begins.

Specified by:
eventSeriesBegin in interface GraphModelListener

eventSeriesEnd

public void eventSeriesEnd()
Invoked after a series of events has ended.

Specified by:
eventSeriesEnd in interface GraphModelListener

attributeValueChange

public void attributeValueChange(AttributeValueEvent event)
Invoked when an attribute of an object contained in the model changes.

Specified by:
attributeValueChange in interface GraphModelListener
Specified by:
attributeValueChange in interface AttributeValueListener
Parameters:
event - An event of type AttributeValueEvent.


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