ilog.views.graphic
Class IlvGraphicSet.DelegateObjectInteractor

java.lang.Object
  extended by ilog.views.IlvObjectInteractor
      extended by ilog.views.graphic.IlvGraphicSet.DelegateObjectInteractor
All Implemented Interfaces:
Serializable
Enclosing class:
IlvGraphicSet

public static class IlvGraphicSet.DelegateObjectInteractor
extends IlvObjectInteractor

A delegating interactor for IlvGraphicSet objects. Use this interactor as object interactor of the graphic set if any of the contained objects have object interactors. The delegating interactor forwards all events to the object interactor of the designated subobject.

This interactor is not installed by default. You can call IlvGraphic.setObjectInteractor(ilog.views.IlvObjectInteractor) to install it.

Since:
JViews 8.1
See Also:
IlvGraphic.setObjectInteractor(ilog.views.IlvObjectInteractor), Serialized Form

Constructor Summary
IlvGraphicSet.DelegateObjectInteractor()
          Creates an instance of this interactor.
 
Method Summary
 void handleExpose(IlvGraphic object, Graphics g, IlvObjectInteractorContext context)
          Called by the view when the view is drawn.
 boolean processEvent(IlvGraphic object, AWTEvent event, IlvObjectInteractorContext context)
          Processes the events.
 
Methods inherited from class ilog.views.IlvObjectInteractor
Get, onEnter, onExit, Put
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlvGraphicSet.DelegateObjectInteractor

public IlvGraphicSet.DelegateObjectInteractor()
Creates an instance of this interactor.

Method Detail

processEvent

public boolean processEvent(IlvGraphic object,
                            AWTEvent event,
                            IlvObjectInteractorContext context)
Processes the events.

Specified by:
processEvent in class IlvObjectInteractor
Parameters:
object - The graphic object.
event - The event to process.
context - The context in which the event occurred.
Returns:
true if the event was handled by this processEvent invocation, false otherwise.

handleExpose

public void handleExpose(IlvGraphic object,
                         Graphics g,
                         IlvObjectInteractorContext context)
Called by the view when the view is drawn. You normally do not need to call it.

Overrides:
handleExpose in class IlvObjectInteractor
Parameters:
object - The graphic object to which the object interactor is associated.
g - The Graphics where obj is drawn.
context - The interactor context.


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