ilog.views.prototypes
Class IlvGraphicGroupInteractor

java.lang.Object
  extended by ilog.views.IlvObjectInteractor
      extended by ilog.views.prototypes.IlvGraphicGroupInteractor
All Implemented Interfaces:
Serializable

public class IlvGraphicGroupInteractor
extends IlvObjectInteractor

The class IlvGraphicGroupInteractor dispatches user events to a group encapsulated in an IlvGraphicGroup.

If you use an IlvGraphicGroup to encapsulate a prototype instance that reacts to mouse or keyboard events, you must set this interactor on the IlvGraphicGroup, otherwise the group will not receive any event.

Note: This interactor works only with IlvGraphicGroups. If you attach it to another graphic object, it will do nothing.

Since:
JViews 3.5
See Also:
IlvGraphicGroup, Serialized Form

Constructor Summary
IlvGraphicGroupInteractor()
          Creates a new IlvGraphicGroupInteractor.
 
Method Summary
 boolean processEvent(IlvGraphic g, AWTEvent event, IlvObjectInteractorContext context)
          Dispatches the events to the interactors attached to the elements of the group.
 
Methods inherited from class ilog.views.IlvObjectInteractor
Get, handleExpose, onEnter, onExit, Put
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlvGraphicGroupInteractor

public IlvGraphicGroupInteractor()
Creates a new IlvGraphicGroupInteractor.

Method Detail

processEvent

public boolean processEvent(IlvGraphic g,
                            AWTEvent event,
                            IlvObjectInteractorContext context)
Dispatches the events to the interactors attached to the elements of the group.

Specified by:
processEvent in class IlvObjectInteractor
Parameters:
g - 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.


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