public class IltManagerViewDefaultInteractor extends IlvManagerViewInteractor
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.
Constructor and Description |
---|
IltManagerViewDefaultInteractor()
Creates an new IltManagerViewDefaultInteractor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
public IltManagerViewDefaultInteractor()
protected void processFocusEvent(FocusEvent event)
processFocusEvent
in class IlvManagerViewInteractor
event
- The event.IlvManagerViewInteractor.addFocusListener(java.awt.event.FocusListener)
protected void processKeyEvent(KeyEvent event)
processKeyEvent
in class IlvManagerViewInteractor
event
- The event.IlvManagerViewInteractor.addKeyListener(java.awt.event.KeyListener)
protected void processMouseEvent(MouseEvent event)
processMouseEvent
in class IlvManagerViewInteractor
event
- The event.IlvManagerViewInteractor.addMouseListener(java.awt.event.MouseListener)
protected void processMouseMotionEvent(MouseEvent event)
processMouseMotionEvent
in class IlvManagerViewInteractor
event
- The event.IlvManagerViewInteractor.addMouseMotionListener(java.awt.event.MouseMotionListener)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.