ilog.cpl.graph
Class IlpGraphView.VisibleModelConnector

java.lang.Object
  extended by ilog.cpl.graph.IlpGraphView.VisibleModelConnector
Enclosing class:
IlpGraphView

public class IlpGraphView.VisibleModelConnector
extends Object

Connector between the graph view and the visible model.

This is an internal class, do not use!


Constructor Summary
IlpGraphView.VisibleModelConnector()
           
 
Method Summary
 void attributeValueChange(AttributeValueEvent event)
          Handle attribute value change notifications.
 void childrenAdd(IlpRepresentationObject object, IlpRepresentationObject[] children)
          Handle notifications of an object being added in a container.
 void childrenRemove(IlpRepresentationObject object, IlpRepresentationObject[] children)
          Handle notifications of objects being removed from a container.
 void containerAdd(IlpRepresentationObject object, ilog.cpl.graph.internal.IlpExpansionState state)
          Handle notifications of a container being added in the model.
 void containerRemove(IlpRepresentationObject object, ilog.cpl.graph.internal.IlpExpansionState state)
          Handle notifications of a container being removed from the model.
 void endChanging()
          Indicates the end of a sequence of events.
 void linkEndChanged(IlpRepresentationObject link, boolean origin, IlpRepresentationObject oldEnd, IlpRepresentationObject newEnd)
          Handle notifications of link changes.
 void objectAdded(IlpRepresentationObject object, IlpRepresentationObject parent)
          Handle notifications of objects being added in the model.
 void objectRemoved(IlpRepresentationObject object, IlpRepresentationObject parent, Collection oldConnectedLinks)
          Handle notifications of objects being removed from the model.
 void startChanging()
          Indicates the beginning of a sequence of events.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlpGraphView.VisibleModelConnector

public IlpGraphView.VisibleModelConnector()
Method Detail

startChanging

public void startChanging()
Indicates the beginning of a sequence of events.

Internal method or field: do not use!

endChanging

public void endChanging()
Indicates the end of a sequence of events.

Internal method or field: do not use!

objectAdded

public void objectAdded(IlpRepresentationObject object,
                        IlpRepresentationObject parent)
Handle notifications of objects being added in the model.

Parameters:
object - The new representation object.
parent - The parent object.
Internal method or field: do not use!

objectRemoved

public void objectRemoved(IlpRepresentationObject object,
                          IlpRepresentationObject parent,
                          Collection oldConnectedLinks)
Handle notifications of objects being removed from the model.

Parameters:
object - The representation object to be removed.
parent - The parent object.
oldConnectedLinks - The links which are connected to the representation object.
Internal method or field: do not use!

containerAdd

public void containerAdd(IlpRepresentationObject object,
                         ilog.cpl.graph.internal.IlpExpansionState state)
Handle notifications of a container being added in the model.

Parameters:
object - The container representation object.
state - The expansion state.
Internal method or field: do not use!

containerRemove

public void containerRemove(IlpRepresentationObject object,
                            ilog.cpl.graph.internal.IlpExpansionState state)
Handle notifications of a container being removed from the model.

Parameters:
object - The container object.
state - The expansion state.
Internal method or field: do not use!

childrenAdd

public void childrenAdd(IlpRepresentationObject object,
                        IlpRepresentationObject[] children)
Handle notifications of an object being added in a container.

Parameters:
object - The container object
children - The children representation objects.
Internal method or field: do not use!

childrenRemove

public void childrenRemove(IlpRepresentationObject object,
                           IlpRepresentationObject[] children)
Handle notifications of objects being removed from a container.

Parameters:
object - The container object.
children - The children representation objects.
Internal method or field: do not use!

linkEndChanged

public void linkEndChanged(IlpRepresentationObject link,
                           boolean origin,
                           IlpRepresentationObject oldEnd,
                           IlpRepresentationObject newEnd)
Handle notifications of link changes.

Parameters:
link - The link representation object.
origin - The end point which has changed.
oldEnd - The previous end point.
newEnd - The new end point.
Internal method or field: do not use!

attributeValueChange

public void attributeValueChange(AttributeValueEvent event)
Handle attribute value change notifications.

Parameters:
event - Attribute value change event.
Internal method or field: do not use!


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