ilog.tgo.interactor
Class IltManagerViewDefaultInteractor

java.lang.Object
  extended by ilog.views.IlvManagerViewInteractor
      extended by ilog.tgo.interactor.IltManagerViewDefaultInteractor
All Implemented Interfaces:
Serializable

public class IltManagerViewDefaultInteractor
extends IlvManagerViewInteractor

This interactor class performs the default reaction of a view when an event is received.

When no view interactor is installed, events are forwarded to the manager. When a view interactor is installed, the events are only forwarded to the IlvManagerViewInteractor instance, which passes it to all its installed listeners, not to the manager.

This class permits mixing both types of behavior: events will be forwarded to both the installed listeners and to the manager.

See Also:
Serialized Form

Constructor Summary
IltManagerViewDefaultInteractor()
          Creates an new IltManagerViewDefaultInteractor.
 
Method Summary
protected  void processFocusEvent(FocusEvent event)
          Passes a focus event to both the listeners and the manager.
protected  void processKeyEvent(KeyEvent event)
          Passes a key event to both the listeners and the manager.
protected  void processMouseEvent(MouseEvent event)
          Passes a mouse event to both the listeners and the manager.
protected  void processMouseMotionEvent(MouseEvent event)
          Passes a mouse motion event to both the listeners and the manager.
 
Methods inherited from class ilog.views.IlvManagerViewInteractor
addFocusListener, addKeyListener, addMouseListener, addMouseMotionListener, allowEnsureVisible, allowEnsureVisible, attach, detach, disableEvents, drawGhost, drawGhost, enableEvents, ensureVisible, ensureVisible, getManager, getManagerView, getTransformer, handleExpose, isXORGhost, processEvent, removeFocusListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, setXORGhost
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IltManagerViewDefaultInteractor

public IltManagerViewDefaultInteractor()
Creates an new IltManagerViewDefaultInteractor.

Method Detail

processFocusEvent

protected void processFocusEvent(FocusEvent event)
Passes a focus event to both the listeners and the manager.

Overrides:
processFocusEvent in class IlvManagerViewInteractor
Parameters:
event - The event.
See Also:
IlvManagerViewInteractor.addFocusListener(java.awt.event.FocusListener)

processKeyEvent

protected void processKeyEvent(KeyEvent event)
Passes a key event to both the listeners and the manager.

Overrides:
processKeyEvent in class IlvManagerViewInteractor
Parameters:
event - The event.
See Also:
IlvManagerViewInteractor.addKeyListener(java.awt.event.KeyListener)

processMouseEvent

protected void processMouseEvent(MouseEvent event)
Passes a mouse event to both the listeners and the manager.

Overrides:
processMouseEvent in class IlvManagerViewInteractor
Parameters:
event - The event.
See Also:
IlvManagerViewInteractor.addMouseListener(java.awt.event.MouseListener)

processMouseMotionEvent

protected void processMouseMotionEvent(MouseEvent event)
Passes a mouse motion event to both the listeners and the manager.

Overrides:
processMouseMotionEvent in class IlvManagerViewInteractor
Parameters:
event - The event.
See Also:
IlvManagerViewInteractor.addMouseMotionListener(java.awt.event.MouseMotionListener)


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