de.esw.eengine.device.input
Class SystemInputDevice

java.lang.Object
  extended by de.esw.eengine.device.input.SystemInputDevice
All Implemented Interfaces:
IInputDevice, IInputListener, java.awt.event.WindowFocusListener, java.awt.event.WindowListener, java.awt.event.WindowStateListener, java.util.EventListener

public class SystemInputDevice
extends java.lang.Object
implements IInputDevice, IInputListener, java.awt.event.WindowListener, java.awt.event.WindowFocusListener, java.awt.event.WindowStateListener

The addInputListener and removeInputListener methods should not used, because the SystemInputDevice is the listener for itself.

Since:
1.0
Version:
$Id: SystemInputDevice.java 104 2005-06-25 16:45:05Z markusw $
Author:
markusw

Constructor Summary
SystemInputDevice(IRenderDevice renderDevice)
           
 
Method Summary
 void addInputListener(IInputListener l)
           
 void removeInputListener(IInputListener l)
           
 void windowActivated(java.awt.event.WindowEvent e)
           
 void windowClosed(java.awt.event.WindowEvent e)
           
 void windowClosing(java.awt.event.WindowEvent evt)
           
 void windowDeactivated(java.awt.event.WindowEvent e)
           
 void windowDeiconified(java.awt.event.WindowEvent e)
           
 void windowGainedFocus(java.awt.event.WindowEvent e)
           
 void windowIconified(java.awt.event.WindowEvent e)
           
 void windowLostFocus(java.awt.event.WindowEvent e)
           
 void windowOpened(java.awt.event.WindowEvent e)
           
 void windowStateChanged(java.awt.event.WindowEvent e)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemInputDevice

public SystemInputDevice(IRenderDevice renderDevice)
Parameters:
renderDevice - Assoicated IRenderDevice
Method Detail

addInputListener

public void addInputListener(IInputListener l)
Specified by:
addInputListener in interface IInputDevice
Parameters:
l - IInputListener to attach to this device
See Also:
IInputDevice.addInputListener(de.esw.eengine.core.IInputListener)

removeInputListener

public void removeInputListener(IInputListener l)
Specified by:
removeInputListener in interface IInputDevice
Parameters:
l - IInputListener to detach from this device
See Also:
IInputDevice.removeInputListener(de.esw.eengine.core.IInputListener)

windowOpened

public void windowOpened(java.awt.event.WindowEvent e)
Specified by:
windowOpened in interface java.awt.event.WindowListener
See Also:
WindowListener.windowOpened(java.awt.event.WindowEvent)

windowClosing

public void windowClosing(java.awt.event.WindowEvent evt)
Specified by:
windowClosing in interface java.awt.event.WindowListener
See Also:
WindowListener.windowClosing(java.awt.event.WindowEvent)

windowClosed

public void windowClosed(java.awt.event.WindowEvent e)
Specified by:
windowClosed in interface java.awt.event.WindowListener
See Also:
WindowListener.windowClosed(java.awt.event.WindowEvent)

windowIconified

public void windowIconified(java.awt.event.WindowEvent e)
Specified by:
windowIconified in interface java.awt.event.WindowListener
See Also:
WindowListener.windowIconified(java.awt.event.WindowEvent)

windowDeiconified

public void windowDeiconified(java.awt.event.WindowEvent e)
Specified by:
windowDeiconified in interface java.awt.event.WindowListener
See Also:
WindowListener.windowDeiconified(java.awt.event.WindowEvent)

windowActivated

public void windowActivated(java.awt.event.WindowEvent e)
Specified by:
windowActivated in interface java.awt.event.WindowListener
See Also:
WindowListener.windowActivated(java.awt.event.WindowEvent)

windowDeactivated

public void windowDeactivated(java.awt.event.WindowEvent e)
Specified by:
windowDeactivated in interface java.awt.event.WindowListener
See Also:
WindowListener.windowDeactivated(java.awt.event.WindowEvent)

windowGainedFocus

public void windowGainedFocus(java.awt.event.WindowEvent e)
Specified by:
windowGainedFocus in interface java.awt.event.WindowFocusListener
See Also:
WindowFocusListener.windowGainedFocus(java.awt.event.WindowEvent)

windowLostFocus

public void windowLostFocus(java.awt.event.WindowEvent e)
Specified by:
windowLostFocus in interface java.awt.event.WindowFocusListener
See Also:
WindowFocusListener.windowLostFocus(java.awt.event.WindowEvent)

windowStateChanged

public void windowStateChanged(java.awt.event.WindowEvent e)
Specified by:
windowStateChanged in interface java.awt.event.WindowStateListener
See Also:
WindowStateListener.windowStateChanged(java.awt.event.WindowEvent)