kAWT Version 0.22

java.awt.event
Class KeyEvent

java.lang.Object
  |
  +--java.awt.AWTEvent
        |
        +--java.awt.event.KeyEvent

public class KeyEvent
extends AWTEvent


Field Summary
static char CHAR_UNDEFINED
           
static int KEY_PRESSED
           
static int KEY_RELEASED
           
static int KEY_TYPED
           
static int VK_BACK_SPACE
           
static int VK_LEFT
           
static int VK_PAGE_DOWN
           
static int VK_PAGE_UP
           
static int VK_RIGHT
           
static int VK_UNDEFINED
           
 
Fields inherited from class java.awt.AWTEvent
consumed, id, source
 
Constructor Summary
KeyEvent(Component source, int id, long when, int modifiers, int keyCode)
           
KeyEvent(Component source, int id, long when, int modifiers, int keyCode, char keyChar)
           
 
Method Summary
 char getKeyChar()
           
 int getKeyCode()
           
 
Methods inherited from class java.awt.AWTEvent
getID, getSource
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_TYPED

public static final int KEY_TYPED

KEY_PRESSED

public static final int KEY_PRESSED

KEY_RELEASED

public static final int KEY_RELEASED

CHAR_UNDEFINED

public static final char CHAR_UNDEFINED

VK_UNDEFINED

public static final int VK_UNDEFINED

VK_PAGE_UP

public static final int VK_PAGE_UP

VK_PAGE_DOWN

public static final int VK_PAGE_DOWN

VK_BACK_SPACE

public static final int VK_BACK_SPACE

VK_LEFT

public static final int VK_LEFT

VK_RIGHT

public static final int VK_RIGHT
Constructor Detail

KeyEvent

public KeyEvent(Component source,
                int id,
                long when,
                int modifiers,
                int keyCode)

KeyEvent

public KeyEvent(Component source,
                int id,
                long when,
                int modifiers,
                int keyCode,
                char keyChar)
Method Detail

getKeyChar

public char getKeyChar()

getKeyCode

public int getKeyCode()

kAWT Version 0.22