Class VoodooMainWindowListener

java.lang.Object
  |
  +--java.awt.event.KeyAdapter
        |
        +--VoodooMainWindowListener

public class VoodooMainWindowListener
extends java.awt.event.KeyAdapter
implements java.awt.event.ActionListener


Field Summary
private  java.lang.String message
           
private  VoodooMainWindow parent
           
 
Constructor Summary
VoodooMainWindowListener(VoodooMainWindow parent)
          Class constructor.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          This method handles all non-keyboard events.
 void keyPressed(java.awt.event.KeyEvent e)
          This method handles all the keyboard events.
 
Methods inherited from class java.awt.event.KeyAdapter
keyReleased, keyTyped
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

parent

private VoodooMainWindow parent

message

private java.lang.String message
Constructor Detail

VoodooMainWindowListener

public VoodooMainWindowListener(VoodooMainWindow parent)
Class constructor.
Parameters:
parent - The window this class listens for.
See Also:
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
This method handles all non-keyboard events.
Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
e - The event.
See Also:
ActionListener

keyPressed

public void keyPressed(java.awt.event.KeyEvent e)
This method handles all the keyboard events. In particular, it allows a Ctrl-C to free the image buffers.
Overrides:
keyPressed in class java.awt.event.KeyAdapter
Parameters:
e - The event.
See Also:
ActionListener