ilog.cpl.graph
Class GraphRendererEvent

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

public class GraphRendererEvent
extends IlEventObject

Event which is generated when graphic objects are added or updated in a Graph View.

Since:
JViews 7.5
See Also:
Serialized Form

Nested Class Summary
static class GraphRendererEvent.Type
          Event type
 
Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
GraphRendererEvent(Object source, IlEventType type, IlpRepresentationObject ro)
          Creates events of type GraphRendererEvent.Type.CONTAINER_ADDED or GraphRendererEvent.Type.CONTAINER_UPDATED
GraphRendererEvent(Object source, IlEventType type, IlpRepresentationObject ro, IlpGraphic graphic, IlpGraphicRendererContext context)
          Creates events of type GraphRendererEvent.Type.GRAPHIC_ADDED or GraphRendererEvent.Type.GRAPHIC_UPDATED
 
Method Summary
 IlpGraphic getGraphic()
          Returns the graphic object which has been added or updated.
 IlpGraphicRendererContext getRendererContext()
          Returns the renderer context when the graphic was added or updated.
 IlpRepresentationObject getRepresentationObject()
          Returns the representation object whose graphic has generated this event.
 
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

GraphRendererEvent

public GraphRendererEvent(Object source,
                          IlEventType type,
                          IlpRepresentationObject ro)
Creates events of type GraphRendererEvent.Type.CONTAINER_ADDED or GraphRendererEvent.Type.CONTAINER_UPDATED

Parameters:
source - Event source
type - GraphRendererEvent.Type.CONTAINER_ADDED or GraphRendererEvent.Type.CONTAINER_UPDATED
ro - Representation object

GraphRendererEvent

public GraphRendererEvent(Object source,
                          IlEventType type,
                          IlpRepresentationObject ro,
                          IlpGraphic graphic,
                          IlpGraphicRendererContext context)
Creates events of type GraphRendererEvent.Type.GRAPHIC_ADDED or GraphRendererEvent.Type.GRAPHIC_UPDATED

Parameters:
source - Event source
type - GraphRendererEvent.Type.GRAPHIC_ADDED or GraphRendererEvent.Type.GRAPHIC_UPDATED
ro - Representation object
graphic - Container graphic
Method Detail

getRepresentationObject

public IlpRepresentationObject getRepresentationObject()
Returns the representation object whose graphic has generated this event.

Returns:
Representation object

getGraphic

public IlpGraphic getGraphic()
Returns the graphic object which has been added or updated.

Returns:
Graphic object

getRendererContext

public IlpGraphicRendererContext getRendererContext()
Returns the renderer context when the graphic was added or updated.

Returns:
Graphic renderer context


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