ilog.cpl.graph
Class NodeExpansionEvent

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

public class NodeExpansionEvent
extends IlEventObject

A NodeExpansionEvent event is fired by the view when a subnetwork is expanded or collapsed.

Since:
JTGO 4.0
See Also:
NodeExpansionListener, Serialized Form

Nested Class Summary
static class NodeExpansionEvent.Type
          Event type
 
Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
NodeExpansionEvent(IlpGraphView source, NodeExpansionEvent.Type type, IlpRepresentationObject object)
          Creates an event.
 
Method Summary
 IlpRepresentationObject getObject()
          Returns the object that has been collapsed or expanded.
 IlpGraphView getView()
          Returns the view in which the event has occurred.
 
Methods inherited from class ilog.util.IlEventObject
getType
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodeExpansionEvent

public NodeExpansionEvent(IlpGraphView source,
                          NodeExpansionEvent.Type type,
                          IlpRepresentationObject object)
Creates an event.

Parameters:
source - The view.
type - One of COLLAPSED or EXPANDED type.
object - The object that has been collapsed or expanded.
Method Detail

getView

public IlpGraphView getView()
Returns the view in which the event has occurred.


getObject

public IlpRepresentationObject getObject()
Returns the object that has been collapsed or expanded.



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