<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Wed Jul 28 01:21:15 GMT 1999 -->
<title>
  Class java.awt.event.KeyEvent
</title>
</head>
<body>
<a name="_top_"></a>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.awt.event.html">This Package</a>  <a href="java.awt.event.KeyAdapter.html#_top_">Previous</a>  <a href="java.awt.event.MouseAdapter.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class java.awt.event.KeyEvent
</h1>
<pre>
<a href="java.lang.Object.html#_top_">java.lang.Object</a>
   |
   +----<a href="java.util.EventObject.html#_top_">java.util.EventObject</a>
           |
           +----<a href="java.awt.AWTEvent.html#_top_">java.awt.AWTEvent</a>
                   |
                   +----<a href="java.awt.event.ComponentEvent.html#_top_">java.awt.event.ComponentEvent</a>
                           |
                           +----<a href="java.awt.event.InputEvent.html#_top_">java.awt.event.InputEvent</a>
                                   |
                                   +----java.awt.event.KeyEvent
</pre>
<hr>
<dl>
  <dt> public class <b>KeyEvent</b>
  <dt> extends <a href="java.awt.event.InputEvent.html#_top_">InputEvent</a>
</dl>
The component-level keyboard event.
<p>
<hr>
<a name="index"></a>
<h2>
  <img src="images/variable-index.gif" width=207 height=38 alt="Variable Index">
</h2>
<dl>
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#CHAR_UNDEFINED"><b>CHAR_UNDEFINED</b></a>
  <dd>  KEY_PRESSED and KEY_RELEASED events which do not map to a
 valid Unicode character do not have a defined keyChar.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#KEY_FIRST"><b>KEY_FIRST</b></a>
  <dd>  Marks the first integer id for the range of key event ids.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#KEY_LAST"><b>KEY_LAST</b></a>
  <dd>  Marks the last integer id for the range of key event ids.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#KEY_PRESSED"><b>KEY_PRESSED</b></a>
  <dd>  The key pressed event type.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#KEY_RELEASED"><b>KEY_RELEASED</b></a>
  <dd>  The key released event type.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#KEY_TYPED"><b>KEY_TYPED</b></a>
  <dd>  The key typed event type.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_0"><b>VK_0</b></a>
  <dd> VK_0 thru VK_9 are the same as ASCII '0' thru '9' (0x30 - 0x39)
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_1"><b>VK_1</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_2"><b>VK_2</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_3"><b>VK_3</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_4"><b>VK_4</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_5"><b>VK_5</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_6"><b>VK_6</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_7"><b>VK_7</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_8"><b>VK_8</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_9"><b>VK_9</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_A"><b>VK_A</b></a>
  <dd> VK_A thru VK_Z are the same as ASCII 'A' thru 'Z' (0x41 - 0x5A)
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_ACCEPT"><b>VK_ACCEPT</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_ADD"><b>VK_ADD</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_ALT"><b>VK_ALT</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_B"><b>VK_B</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_BACK_QUOTE"><b>VK_BACK_QUOTE</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_BACK_SLASH"><b>VK_BACK_SLASH</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_BACK_SPACE"><b>VK_BACK_SPACE</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_C"><b>VK_C</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_CANCEL"><b>VK_CANCEL</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_CAPS_LOCK"><b>VK_CAPS_LOCK</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_CLEAR"><b>VK_CLEAR</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_CLOSE_BRACKET"><b>VK_CLOSE_BRACKET</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_COMMA"><b>VK_COMMA</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_CONTROL"><b>VK_CONTROL</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_CONVERT"><b>VK_CONVERT</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_D"><b>VK_D</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_DECIMAL"><b>VK_DECIMAL</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_DELETE"><b>VK_DELETE</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_DIVIDE"><b>VK_DIVIDE</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_DOWN"><b>VK_DOWN</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_E"><b>VK_E</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_END"><b>VK_END</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_ENTER"><b>VK_ENTER</b></a>
  <dd>  Virtual key codes.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_EQUALS"><b>VK_EQUALS</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_ESCAPE"><b>VK_ESCAPE</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_F"><b>VK_F</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_F1"><b>VK_F1</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_F10"><b>VK_F10</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_F11"><b>VK_F11</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_F12"><b>VK_F12</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_F2"><b>VK_F2</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_F3"><b>VK_F3</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_F4"><b>VK_F4</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_F5"><b>VK_F5</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_F6"><b>VK_F6</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_F7"><b>VK_F7</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_F8"><b>VK_F8</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_F9"><b>VK_F9</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_FINAL"><b>VK_FINAL</b></a>
  <dd> for Asian Keyboard
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_G"><b>VK_G</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_H"><b>VK_H</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_HELP"><b>VK_HELP</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_HOME"><b>VK_HOME</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_I"><b>VK_I</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_INSERT"><b>VK_INSERT</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_J"><b>VK_J</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_K"><b>VK_K</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_KANA"><b>VK_KANA</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_KANJI"><b>VK_KANJI</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_L"><b>VK_L</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_LEFT"><b>VK_LEFT</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_M"><b>VK_M</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_META"><b>VK_META</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_MODECHANGE"><b>VK_MODECHANGE</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_MULTIPLY"><b>VK_MULTIPLY</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_N"><b>VK_N</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_NONCONVERT"><b>VK_NONCONVERT</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_NUM_LOCK"><b>VK_NUM_LOCK</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_NUMPAD0"><b>VK_NUMPAD0</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_NUMPAD1"><b>VK_NUMPAD1</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_NUMPAD2"><b>VK_NUMPAD2</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_NUMPAD3"><b>VK_NUMPAD3</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_NUMPAD4"><b>VK_NUMPAD4</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_NUMPAD5"><b>VK_NUMPAD5</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_NUMPAD6"><b>VK_NUMPAD6</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_NUMPAD7"><b>VK_NUMPAD7</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_NUMPAD8"><b>VK_NUMPAD8</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_NUMPAD9"><b>VK_NUMPAD9</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_O"><b>VK_O</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_OPEN_BRACKET"><b>VK_OPEN_BRACKET</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_P"><b>VK_P</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_PAGE_DOWN"><b>VK_PAGE_DOWN</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_PAGE_UP"><b>VK_PAGE_UP</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_PAUSE"><b>VK_PAUSE</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_PERIOD"><b>VK_PERIOD</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_PRINTSCREEN"><b>VK_PRINTSCREEN</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_Q"><b>VK_Q</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_QUOTE"><b>VK_QUOTE</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_R"><b>VK_R</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_RIGHT"><b>VK_RIGHT</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_S"><b>VK_S</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_SCROLL_LOCK"><b>VK_SCROLL_LOCK</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_SEMICOLON"><b>VK_SEMICOLON</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_SEPARATER"><b>VK_SEPARATER</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_SHIFT"><b>VK_SHIFT</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_SLASH"><b>VK_SLASH</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_SPACE"><b>VK_SPACE</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_SUBTRACT"><b>VK_SUBTRACT</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_T"><b>VK_T</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_TAB"><b>VK_TAB</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_U"><b>VK_U</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_UNDEFINED"><b>VK_UNDEFINED</b></a>
  <dd>  KEY_TYPED events do not have a defined keyCode.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_UP"><b>VK_UP</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_V"><b>VK_V</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_W"><b>VK_W</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_X"><b>VK_X</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_Y"><b>VK_Y</b></a>
  <dd> 
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#VK_Z"><b>VK_Z</b></a>
  <dd> 
</dl>
<h2>
  <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
</h2>
<dl>
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#KeyEvent(java.awt.Component, int, long, int, int)"><b>KeyEvent</b></a>(Component, int, long, int, int)
  <dd> 
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#KeyEvent(java.awt.Component, int, long, int, int, char)"><b>KeyEvent</b></a>(Component, int, long, int, int, char)
  <dd>  Constructs a KeyEvent object with the specified source component,
 type, modifiers, and key.
</dl>
<h2>
  <img src="images/method-index.gif" width=207 height=38 alt="Method Index">
</h2>
<dl>
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getKeyChar()"><b>getKeyChar</b></a>()
  <dd>  Returns the character associated with the key in this event.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getKeyCode()"><b>getKeyCode</b></a>()
  <dd>  Returns the integer key-code associated with the key in this event.
  <dt> <img src="images/green-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getKeyModifiersText(int)"><b>getKeyModifiersText</b></a>(int)
  <dd>  Returns a String describing the modifier key(s), such as "Shift",
 or "Ctrl+Shift".
  <dt> <img src="images/green-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getKeyText(int)"><b>getKeyText</b></a>(int)
  <dd>  Returns a String describing the keyCode, such as "HOME", "F1" or "A".
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#isActionKey()"><b>isActionKey</b></a>()
  <dd> Returns whether or not the key in this event is an "action" key,
  as defined in Event.java.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#paramString()"><b>paramString</b></a>()
  <dd> 
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setKeyChar(char)"><b>setKeyChar</b></a>(char)
  <dd> 
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setKeyCode(int)"><b>setKeyCode</b></a>(int)
  <dd> 
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setModifiers(int)"><b>setModifiers</b></a>(int)
  <dd>  Change the modifiers for a KeyEvent.
<b>Deprecated.</b>
</dl>
<a name="variables"></a>
<h2>
  <img src="images/variables.gif" width=153 height=38 alt="Variables">
</h2>
<a name="KEY_FIRST"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>KEY_FIRST</b>
<pre>
 public static final int KEY_FIRST
</pre>
<dl>
  <dd> Marks the first integer id for the range of key event ids.<p>
</dl>
<a name="KEY_LAST"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>KEY_LAST</b>
<pre>
 public static final int KEY_LAST
</pre>
<dl>
  <dd> Marks the last integer id for the range of key event ids.<p>
</dl>
<a name="KEY_TYPED"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>KEY_TYPED</b>
<pre>
 public static final int KEY_TYPED
</pre>
<dl>
  <dd> The key typed event type.  This type is generated by a combination
 of a key press followed by a key release.<p>
</dl>
<a name="KEY_PRESSED"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>KEY_PRESSED</b>
<pre>
 public static final int KEY_PRESSED
</pre>
<dl>
  <dd> The key pressed event type.<p>
</dl>
<a name="KEY_RELEASED"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>KEY_RELEASED</b>
<pre>
 public static final int KEY_RELEASED
</pre>
<dl>
  <dd> The key released event type.<p>
</dl>
<a name="VK_ENTER"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_ENTER</b>
<pre>
 public static final int VK_ENTER
</pre>
<dl>
  <dd> Virtual key codes.  These codes report which keyboard key has
 been pressed, rather than any character generated by one or more
 keys being pressed.  
 For example, pressing the Shift key will cause a KEY_PRESSED event 
 with a VK_SHIFT keyCode, while pressing the 'a' key will result in 
 a VK_A keyCode.  After the 'a' key is released, a KEY_RELEASED event 
 will be fired with VK_A, followed by a KEY_TYPED event with a keyChar 
 value of 'A'.  Key combinations which do not result in characters,
 such as action keys like F1, will not generate KEY_TYPED events.
 Note: not all keyboards or systems are capable of generating all
 virtual key codes.  No attempt is made in Java to artificially
 generate these keys.
 WARNING:  aside from those keys where are defined by the Java language
 (VK_ENTER, VK_BACK_SPACE, and VK_TAB), do not rely on the values of these
 constants.  Sun reserves the right to change these values as needed
 to accomodate a wider range of keyboards in the future.<p>
</dl>
<a name="VK_BACK_SPACE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_BACK_SPACE</b>
<pre>
 public static final int VK_BACK_SPACE
</pre>
<a name="VK_TAB"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_TAB</b>
<pre>
 public static final int VK_TAB
</pre>
<a name="VK_CANCEL"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_CANCEL</b>
<pre>
 public static final int VK_CANCEL
</pre>
<a name="VK_CLEAR"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_CLEAR</b>
<pre>
 public static final int VK_CLEAR
</pre>
<a name="VK_SHIFT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_SHIFT</b>
<pre>
 public static final int VK_SHIFT
</pre>
<a name="VK_CONTROL"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_CONTROL</b>
<pre>
 public static final int VK_CONTROL
</pre>
<a name="VK_ALT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_ALT</b>
<pre>
 public static final int VK_ALT
</pre>
<a name="VK_PAUSE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_PAUSE</b>
<pre>
 public static final int VK_PAUSE
</pre>
<a name="VK_CAPS_LOCK"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_CAPS_LOCK</b>
<pre>
 public static final int VK_CAPS_LOCK
</pre>
<a name="VK_ESCAPE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_ESCAPE</b>
<pre>
 public static final int VK_ESCAPE
</pre>
<a name="VK_SPACE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_SPACE</b>
<pre>
 public static final int VK_SPACE
</pre>
<a name="VK_PAGE_UP"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_PAGE_UP</b>
<pre>
 public static final int VK_PAGE_UP
</pre>
<a name="VK_PAGE_DOWN"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_PAGE_DOWN</b>
<pre>
 public static final int VK_PAGE_DOWN
</pre>
<a name="VK_END"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_END</b>
<pre>
 public static final int VK_END
</pre>
<a name="VK_HOME"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_HOME</b>
<pre>
 public static final int VK_HOME
</pre>
<a name="VK_LEFT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_LEFT</b>
<pre>
 public static final int VK_LEFT
</pre>
<a name="VK_UP"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_UP</b>
<pre>
 public static final int VK_UP
</pre>
<a name="VK_RIGHT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_RIGHT</b>
<pre>
 public static final int VK_RIGHT
</pre>
<a name="VK_DOWN"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_DOWN</b>
<pre>
 public static final int VK_DOWN
</pre>
<a name="VK_COMMA"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_COMMA</b>
<pre>
 public static final int VK_COMMA
</pre>
<a name="VK_PERIOD"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_PERIOD</b>
<pre>
 public static final int VK_PERIOD
</pre>
<a name="VK_SLASH"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_SLASH</b>
<pre>
 public static final int VK_SLASH
</pre>
<a name="VK_0"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_0</b>
<pre>
 public static final int VK_0
</pre>
<dl>
  <dd> VK_0 thru VK_9 are the same as ASCII '0' thru '9' (0x30 - 0x39)<p>
</dl>
<a name="VK_1"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_1</b>
<pre>
 public static final int VK_1
</pre>
<a name="VK_2"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_2</b>
<pre>
 public static final int VK_2
</pre>
<a name="VK_3"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_3</b>
<pre>
 public static final int VK_3
</pre>
<a name="VK_4"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_4</b>
<pre>
 public static final int VK_4
</pre>
<a name="VK_5"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_5</b>
<pre>
 public static final int VK_5
</pre>
<a name="VK_6"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_6</b>
<pre>
 public static final int VK_6
</pre>
<a name="VK_7"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_7</b>
<pre>
 public static final int VK_7
</pre>
<a name="VK_8"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_8</b>
<pre>
 public static final int VK_8
</pre>
<a name="VK_9"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_9</b>
<pre>
 public static final int VK_9
</pre>
<a name="VK_SEMICOLON"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_SEMICOLON</b>
<pre>
 public static final int VK_SEMICOLON
</pre>
<a name="VK_EQUALS"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_EQUALS</b>
<pre>
 public static final int VK_EQUALS
</pre>
<a name="VK_A"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_A</b>
<pre>
 public static final int VK_A
</pre>
<dl>
  <dd> VK_A thru VK_Z are the same as ASCII 'A' thru 'Z' (0x41 - 0x5A)<p>
</dl>
<a name="VK_B"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_B</b>
<pre>
 public static final int VK_B
</pre>
<a name="VK_C"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_C</b>
<pre>
 public static final int VK_C
</pre>
<a name="VK_D"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_D</b>
<pre>
 public static final int VK_D
</pre>
<a name="VK_E"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_E</b>
<pre>
 public static final int VK_E
</pre>
<a name="VK_F"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_F</b>
<pre>
 public static final int VK_F
</pre>
<a name="VK_G"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_G</b>
<pre>
 public static final int VK_G
</pre>
<a name="VK_H"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_H</b>
<pre>
 public static final int VK_H
</pre>
<a name="VK_I"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_I</b>
<pre>
 public static final int VK_I
</pre>
<a name="VK_J"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_J</b>
<pre>
 public static final int VK_J
</pre>
<a name="VK_K"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_K</b>
<pre>
 public static final int VK_K
</pre>
<a name="VK_L"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_L</b>
<pre>
 public static final int VK_L
</pre>
<a name="VK_M"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_M</b>
<pre>
 public static final int VK_M
</pre>
<a name="VK_N"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_N</b>
<pre>
 public static final int VK_N
</pre>
<a name="VK_O"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_O</b>
<pre>
 public static final int VK_O
</pre>
<a name="VK_P"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_P</b>
<pre>
 public static final int VK_P
</pre>
<a name="VK_Q"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_Q</b>
<pre>
 public static final int VK_Q
</pre>
<a name="VK_R"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_R</b>
<pre>
 public static final int VK_R
</pre>
<a name="VK_S"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_S</b>
<pre>
 public static final int VK_S
</pre>
<a name="VK_T"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_T</b>
<pre>
 public static final int VK_T
</pre>
<a name="VK_U"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_U</b>
<pre>
 public static final int VK_U
</pre>
<a name="VK_V"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_V</b>
<pre>
 public static final int VK_V
</pre>
<a name="VK_W"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_W</b>
<pre>
 public static final int VK_W
</pre>
<a name="VK_X"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_X</b>
<pre>
 public static final int VK_X
</pre>
<a name="VK_Y"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_Y</b>
<pre>
 public static final int VK_Y
</pre>
<a name="VK_Z"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_Z</b>
<pre>
 public static final int VK_Z
</pre>
<a name="VK_OPEN_BRACKET"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_OPEN_BRACKET</b>
<pre>
 public static final int VK_OPEN_BRACKET
</pre>
<a name="VK_BACK_SLASH"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_BACK_SLASH</b>
<pre>
 public static final int VK_BACK_SLASH
</pre>
<a name="VK_CLOSE_BRACKET"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_CLOSE_BRACKET</b>
<pre>
 public static final int VK_CLOSE_BRACKET
</pre>
<a name="VK_NUMPAD0"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_NUMPAD0</b>
<pre>
 public static final int VK_NUMPAD0
</pre>
<a name="VK_NUMPAD1"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_NUMPAD1</b>
<pre>
 public static final int VK_NUMPAD1
</pre>
<a name="VK_NUMPAD2"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_NUMPAD2</b>
<pre>
 public static final int VK_NUMPAD2
</pre>
<a name="VK_NUMPAD3"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_NUMPAD3</b>
<pre>
 public static final int VK_NUMPAD3
</pre>
<a name="VK_NUMPAD4"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_NUMPAD4</b>
<pre>
 public static final int VK_NUMPAD4
</pre>
<a name="VK_NUMPAD5"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_NUMPAD5</b>
<pre>
 public static final int VK_NUMPAD5
</pre>
<a name="VK_NUMPAD6"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_NUMPAD6</b>
<pre>
 public static final int VK_NUMPAD6
</pre>
<a name="VK_NUMPAD7"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_NUMPAD7</b>
<pre>
 public static final int VK_NUMPAD7
</pre>
<a name="VK_NUMPAD8"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_NUMPAD8</b>
<pre>
 public static final int VK_NUMPAD8
</pre>
<a name="VK_NUMPAD9"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_NUMPAD9</b>
<pre>
 public static final int VK_NUMPAD9
</pre>
<a name="VK_MULTIPLY"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_MULTIPLY</b>
<pre>
 public static final int VK_MULTIPLY
</pre>
<a name="VK_ADD"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_ADD</b>
<pre>
 public static final int VK_ADD
</pre>
<a name="VK_SEPARATER"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_SEPARATER</b>
<pre>
 public static final int VK_SEPARATER
</pre>
<a name="VK_SUBTRACT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_SUBTRACT</b>
<pre>
 public static final int VK_SUBTRACT
</pre>
<a name="VK_DECIMAL"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_DECIMAL</b>
<pre>
 public static final int VK_DECIMAL
</pre>
<a name="VK_DIVIDE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_DIVIDE</b>
<pre>
 public static final int VK_DIVIDE
</pre>
<a name="VK_F1"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_F1</b>
<pre>
 public static final int VK_F1
</pre>
<a name="VK_F2"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_F2</b>
<pre>
 public static final int VK_F2
</pre>
<a name="VK_F3"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_F3</b>
<pre>
 public static final int VK_F3
</pre>
<a name="VK_F4"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_F4</b>
<pre>
 public static final int VK_F4
</pre>
<a name="VK_F5"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_F5</b>
<pre>
 public static final int VK_F5
</pre>
<a name="VK_F6"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_F6</b>
<pre>
 public static final int VK_F6
</pre>
<a name="VK_F7"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_F7</b>
<pre>
 public static final int VK_F7
</pre>
<a name="VK_F8"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_F8</b>
<pre>
 public static final int VK_F8
</pre>
<a name="VK_F9"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_F9</b>
<pre>
 public static final int VK_F9
</pre>
<a name="VK_F10"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_F10</b>
<pre>
 public static final int VK_F10
</pre>
<a name="VK_F11"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_F11</b>
<pre>
 public static final int VK_F11
</pre>
<a name="VK_F12"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_F12</b>
<pre>
 public static final int VK_F12
</pre>
<a name="VK_DELETE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_DELETE</b>
<pre>
 public static final int VK_DELETE
</pre>
<a name="VK_NUM_LOCK"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_NUM_LOCK</b>
<pre>
 public static final int VK_NUM_LOCK
</pre>
<a name="VK_SCROLL_LOCK"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_SCROLL_LOCK</b>
<pre>
 public static final int VK_SCROLL_LOCK
</pre>
<a name="VK_PRINTSCREEN"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_PRINTSCREEN</b>
<pre>
 public static final int VK_PRINTSCREEN
</pre>
<a name="VK_INSERT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_INSERT</b>
<pre>
 public static final int VK_INSERT
</pre>
<a name="VK_HELP"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_HELP</b>
<pre>
 public static final int VK_HELP
</pre>
<a name="VK_META"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_META</b>
<pre>
 public static final int VK_META
</pre>
<a name="VK_BACK_QUOTE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_BACK_QUOTE</b>
<pre>
 public static final int VK_BACK_QUOTE
</pre>
<a name="VK_QUOTE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_QUOTE</b>
<pre>
 public static final int VK_QUOTE
</pre>
<a name="VK_FINAL"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_FINAL</b>
<pre>
 public static final int VK_FINAL
</pre>
<dl>
  <dd> for Asian Keyboard<p>
</dl>
<a name="VK_CONVERT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_CONVERT</b>
<pre>
 public static final int VK_CONVERT
</pre>
<a name="VK_NONCONVERT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_NONCONVERT</b>
<pre>
 public static final int VK_NONCONVERT
</pre>
<a name="VK_ACCEPT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_ACCEPT</b>
<pre>
 public static final int VK_ACCEPT
</pre>
<a name="VK_MODECHANGE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_MODECHANGE</b>
<pre>
 public static final int VK_MODECHANGE
</pre>
<a name="VK_KANA"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_KANA</b>
<pre>
 public static final int VK_KANA
</pre>
<a name="VK_KANJI"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_KANJI</b>
<pre>
 public static final int VK_KANJI
</pre>
<a name="VK_UNDEFINED"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>VK_UNDEFINED</b>
<pre>
 public static final int VK_UNDEFINED
</pre>
<dl>
  <dd> KEY_TYPED events do not have a defined keyCode.<p>
</dl>
<a name="CHAR_UNDEFINED"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>CHAR_UNDEFINED</b>
<pre>
 public static final char CHAR_UNDEFINED
</pre>
<dl>
  <dd> KEY_PRESSED and KEY_RELEASED events which do not map to a
 valid Unicode character do not have a defined keyChar.<p>
</dl>
<a name="constructors"></a>
<h2>
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="KeyEvent"></a>
<a name="KeyEvent(java.awt.Component, int, long, int, int, char)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>KeyEvent</b>
<pre>
 public KeyEvent(<a href="java.awt.Component.html#_top_">Component</a> source,
                 int id,
                 long when,
                 int modifiers,
                 int keyCode,
                 char keyChar)
</pre>
<dl>
  <dd> Constructs a KeyEvent object with the specified source component,
 type, modifiers, and key.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> source - the object where the event originated
  </dl></dd>
</dl>
<a name="KeyEvent(java.awt.Component, int, long, int, int)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>KeyEvent</b>
<pre>
 public KeyEvent(<a href="java.awt.Component.html#_top_">Component</a> source,
                 int id,
                 long when,
                 int modifiers,
                 int keyCode)
</pre>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="getKeyCode()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getKeyCode"><b>getKeyCode</b></a>
<pre>
 public int getKeyCode()
</pre>
<dl>
  <dd> Returns the integer key-code associated with the key in this event.
 For KEY_TYPED events, keyCode is VK_UNDEFINED.
<p>
</dl>
<a name="setKeyCode(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setKeyCode"><b>setKeyCode</b></a>
<pre>
 public void setKeyCode(int keyCode)
</pre>
<a name="setKeyChar(char)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setKeyChar"><b>setKeyChar</b></a>
<pre>
 public void setKeyChar(char keyChar)
</pre>
<a name="setModifiers(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setModifiers"><b>setModifiers</b></a>
<pre>
 public void setModifiers(int modifiers)
</pre>
<dl>
<dd><b> Note: setModifiers() is deprecated.</b>
<i>, as of JDK1.1.4</i>
<p>
  <dd> Change the modifiers for a KeyEvent.  
 <p>
 NOTE:  use of this method is not recommended, because many AWT
 implementations do not recognize modifier changes.  This is
 especially true for KEY_TYPED events where the shift modifier
 is changed.
<p>
</dl>
<a name="getKeyChar()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getKeyChar"><b>getKeyChar</b></a>
<pre>
 public char getKeyChar()
</pre>
<dl>
  <dd> Returns the character associated with the key in this event.
 If no valid Unicode character exists for this key event, keyChar
 is CHAR_UNDEFINED.
<p>
</dl>
<a name="getKeyText(int)"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getKeyText"><b>getKeyText</b></a>
<pre>
 public static <a href="java.lang.String.html#_top_">String</a> getKeyText(int keyCode)
</pre>
<dl>
  <dd> Returns a String describing the keyCode, such as "HOME", "F1" or "A".
 These strings can be localized by changing the awt.properties file.
<p>
</dl>
<a name="getKeyModifiersText(int)"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getKeyModifiersText"><b>getKeyModifiersText</b></a>
<pre>
 public static <a href="java.lang.String.html#_top_">String</a> getKeyModifiersText(int modifiers)
</pre>
<dl>
  <dd> Returns a String describing the modifier key(s), such as "Shift",
 or "Ctrl+Shift".  These strings can be localized by changing the 
 awt.properties file.
<p>
</dl>
<a name="isActionKey()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="isActionKey"><b>isActionKey</b></a>
<pre>
 public boolean isActionKey()
</pre>
<dl>
  <dd> Returns whether or not the key in this event is an "action" key,
  as defined in Event.java.
<p>
</dl>
<a name="paramString()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="paramString"><b>paramString</b></a>
<pre>
 public <a href="java.lang.String.html#_top_">String</a> paramString()
</pre>
<dl>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.awt.event.ComponentEvent.html#paramString()">paramString</a> in class <a href="java.awt.event.ComponentEvent.html#_top_">ComponentEvent</a>
  </dl></dd>
</dl>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.awt.event.html">This Package</a>  <a href="java.awt.event.KeyAdapter.html#_top_">Previous</a>  <a href="java.awt.event.MouseAdapter.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
