javax.swing.event
Class MenuKeyEvent

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by java.util.EventObject sample code for java.util.EventObject definition code for java.util.EventObject 
      extended by java.awt.AWTEvent sample code for java.awt.AWTEvent definition code for java.awt.AWTEvent 
          extended by java.awt.event.ComponentEvent sample code for java.awt.event.ComponentEvent definition code for java.awt.event.ComponentEvent 
              extended by java.awt.event.InputEvent sample code for java.awt.event.InputEvent definition code for java.awt.event.InputEvent 
                  extended by java.awt.event.KeyEvent sample code for java.awt.event.KeyEvent definition code for java.awt.event.KeyEvent 
                      extended by javax.swing.event.MenuKeyEvent
All Implemented Interfaces:
Serializable sample code for java.io.Serializable definition code for java.io.Serializable

public class MenuKeyEvent
extends KeyEvent sample code for java.awt.event.KeyEvent definition code for java.awt.event.KeyEvent

MenuKeyEvent is used to notify interested parties that the menu element has received a KeyEvent forwarded to it in a menu tree.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeansTM has been added to the java.beans package. Please see XMLEncoder sample code for java.beans.XMLEncoder definition code for java.beans.XMLEncoder .

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.awt.event.KeyEvent sample code for java.awt.event.KeyEvent definition code for java.awt.event.KeyEvent
CHAR_UNDEFINED sample code for java.awt.event.KeyEvent.CHAR_UNDEFINED definition code for java.awt.event.KeyEvent.CHAR_UNDEFINED , KEY_FIRST sample code for java.awt.event.KeyEvent.KEY_FIRST definition code for java.awt.event.KeyEvent.KEY_FIRST , KEY_LAST sample code for java.awt.event.KeyEvent.KEY_LAST definition code for java.awt.event.KeyEvent.KEY_LAST , KEY_LOCATION_LEFT sample code for java.awt.event.KeyEvent.KEY_LOCATION_LEFT definition code for java.awt.event.KeyEvent.KEY_LOCATION_LEFT , KEY_LOCATION_NUMPAD sample code for java.awt.event.KeyEvent.KEY_LOCATION_NUMPAD definition code for java.awt.event.KeyEvent.KEY_LOCATION_NUMPAD , KEY_LOCATION_RIGHT sample code for java.awt.event.KeyEvent.KEY_LOCATION_RIGHT definition code for java.awt.event.KeyEvent.KEY_LOCATION_RIGHT , KEY_LOCATION_STANDARD sample code for java.awt.event.KeyEvent.KEY_LOCATION_STANDARD definition code for java.awt.event.KeyEvent.KEY_LOCATION_STANDARD , KEY_LOCATION_UNKNOWN sample code for java.awt.event.KeyEvent.KEY_LOCATION_UNKNOWN definition code for java.awt.event.KeyEvent.KEY_LOCATION_UNKNOWN , KEY_PRESSED sample code for java.awt.event.KeyEvent.KEY_PRESSED definition code for java.awt.event.KeyEvent.KEY_PRESSED , KEY_RELEASED sample code for java.awt.event.KeyEvent.KEY_RELEASED definition code for java.awt.event.KeyEvent.KEY_RELEASED , KEY_TYPED sample code for java.awt.event.KeyEvent.KEY_TYPED definition code for java.awt.event.KeyEvent.KEY_TYPED , VK_0 sample code for java.awt.event.KeyEvent.VK_0 definition code for java.awt.event.KeyEvent.VK_0 , VK_1 sample code for java.awt.event.KeyEvent.VK_1 definition code for java.awt.event.KeyEvent.VK_1 , VK_2 sample code for java.awt.event.KeyEvent.VK_2 definition code for java.awt.event.KeyEvent.VK_2 , VK_3 sample code for java.awt.event.KeyEvent.VK_3 definition code for java.awt.event.KeyEvent.VK_3 , VK_4 sample code for java.awt.event.KeyEvent.VK_4 definition code for java.awt.event.KeyEvent.VK_4 , VK_5 sample code for java.awt.event.KeyEvent.VK_5 definition code for java.awt.event.KeyEvent.VK_5 , VK_6 sample code for java.awt.event.KeyEvent.VK_6 definition code for java.awt.event.KeyEvent.VK_6 , VK_7 sample code for java.awt.event.KeyEvent.VK_7 definition code for java.awt.event.KeyEvent.VK_7 , VK_8 sample code for java.awt.event.KeyEvent.VK_8 definition code for java.awt.event.KeyEvent.VK_8 , VK_9 sample code for java.awt.event.KeyEvent.VK_9 definition code for java.awt.event.KeyEvent.VK_9 , VK_A sample code for java.awt.event.KeyEvent.VK_A definition code for java.awt.event.KeyEvent.VK_A , VK_ACCEPT sample code for java.awt.event.KeyEvent.VK_ACCEPT definition code for java.awt.event.KeyEvent.VK_ACCEPT , VK_ADD sample code for java.awt.event.KeyEvent.VK_ADD definition code for java.awt.event.KeyEvent.VK_ADD , VK_AGAIN sample code for java.awt.event.KeyEvent.VK_AGAIN definition code for java.awt.event.KeyEvent.VK_AGAIN , VK_ALL_CANDIDATES sample code for java.awt.event.KeyEvent.VK_ALL_CANDIDATES definition code for java.awt.event.KeyEvent.VK_ALL_CANDIDATES , VK_ALPHANUMERIC sample code for java.awt.event.KeyEvent.VK_ALPHANUMERIC definition code for java.awt.event.KeyEvent.VK_ALPHANUMERIC , VK_ALT sample code for java.awt.event.KeyEvent.VK_ALT definition code for java.awt.event.KeyEvent.VK_ALT , VK_ALT_GRAPH sample code for java.awt.event.KeyEvent.VK_ALT_GRAPH definition code for java.awt.event.KeyEvent.VK_ALT_GRAPH , VK_AMPERSAND sample code for java.awt.event.KeyEvent.VK_AMPERSAND definition code for java.awt.event.KeyEvent.VK_AMPERSAND , VK_ASTERISK sample code for java.awt.event.KeyEvent.VK_ASTERISK definition code for java.awt.event.KeyEvent.VK_ASTERISK , VK_AT sample code for java.awt.event.KeyEvent.VK_AT definition code for java.awt.event.KeyEvent.VK_AT , VK_B sample code for java.awt.event.KeyEvent.VK_B definition code for java.awt.event.KeyEvent.VK_B , VK_BACK_QUOTE sample code for java.awt.event.KeyEvent.VK_BACK_QUOTE definition code for java.awt.event.KeyEvent.VK_BACK_QUOTE , VK_BACK_SLASH sample code for java.awt.event.KeyEvent.VK_BACK_SLASH definition code for java.awt.event.KeyEvent.VK_BACK_SLASH , VK_BACK_SPACE sample code for java.awt.event.KeyEvent.VK_BACK_SPACE definition code for java.awt.event.KeyEvent.VK_BACK_SPACE , VK_BEGIN sample code for java.awt.event.KeyEvent.VK_BEGIN definition code for java.awt.event.KeyEvent.VK_BEGIN , VK_BRACELEFT sample code for java.awt.event.KeyEvent.VK_BRACELEFT definition code for java.awt.event.KeyEvent.VK_BRACELEFT , VK_BRACERIGHT sample code for java.awt.event.KeyEvent.VK_BRACERIGHT definition code for java.awt.event.KeyEvent.VK_BRACERIGHT , VK_C sample code for java.awt.event.KeyEvent.VK_C definition code for java.awt.event.KeyEvent.VK_C , VK_CANCEL sample code for java.awt.event.KeyEvent.VK_CANCEL definition code for java.awt.event.KeyEvent.VK_CANCEL , VK_CAPS_LOCK sample code for java.awt.event.KeyEvent.VK_CAPS_LOCK definition code for java.awt.event.KeyEvent.VK_CAPS_LOCK , VK_CIRCUMFLEX sample code for java.awt.event.KeyEvent.VK_CIRCUMFLEX definition code for java.awt.event.KeyEvent.VK_CIRCUMFLEX , VK_CLEAR sample code for java.awt.event.KeyEvent.VK_CLEAR definition code for java.awt.event.KeyEvent.VK_CLEAR , VK_CLOSE_BRACKET sample code for java.awt.event.KeyEvent.VK_CLOSE_BRACKET definition code for java.awt.event.KeyEvent.VK_CLOSE_BRACKET , VK_CODE_INPUT sample code for java.awt.event.KeyEvent.VK_CODE_INPUT definition code for java.awt.event.KeyEvent.VK_CODE_INPUT , VK_COLON sample code for java.awt.event.KeyEvent.VK_COLON definition code for java.awt.event.KeyEvent.VK_COLON , VK_COMMA sample code for java.awt.event.KeyEvent.VK_COMMA definition code for java.awt.event.KeyEvent.VK_COMMA , VK_COMPOSE sample code for java.awt.event.KeyEvent.VK_COMPOSE definition code for java.awt.event.KeyEvent.VK_COMPOSE , VK_CONTEXT_MENU sample code for java.awt.event.KeyEvent.VK_CONTEXT_MENU definition code for java.awt.event.KeyEvent.VK_CONTEXT_MENU , VK_CONTROL sample code for java.awt.event.KeyEvent.VK_CONTROL definition code for java.awt.event.KeyEvent.VK_CONTROL , VK_CONVERT sample code for java.awt.event.KeyEvent.VK_CONVERT definition code for java.awt.event.KeyEvent.VK_CONVERT , VK_COPY sample code for java.awt.event.KeyEvent.VK_COPY definition code for java.awt.event.KeyEvent.VK_COPY , VK_CUT sample code for java.awt.event.KeyEvent.VK_CUT definition code for java.awt.event.KeyEvent.VK_CUT , VK_D sample code for java.awt.event.KeyEvent.VK_D definition code for java.awt.event.KeyEvent.VK_D , VK_DEAD_ABOVEDOT sample code for java.awt.event.KeyEvent.VK_DEAD_ABOVEDOT definition code for java.awt.event.KeyEvent.VK_DEAD_ABOVEDOT , VK_DEAD_ABOVERING sample code for java.awt.event.KeyEvent.VK_DEAD_ABOVERING definition code for java.awt.event.KeyEvent.VK_DEAD_ABOVERING , VK_DEAD_ACUTE sample code for java.awt.event.KeyEvent.VK_DEAD_ACUTE definition code for java.awt.event.KeyEvent.VK_DEAD_ACUTE , VK_DEAD_BREVE sample code for java.awt.event.KeyEvent.VK_DEAD_BREVE definition code for java.awt.event.KeyEvent.VK_DEAD_BREVE , VK_DEAD_CARON sample code for java.awt.event.KeyEvent.VK_DEAD_CARON definition code for java.awt.event.KeyEvent.VK_DEAD_CARON , VK_DEAD_CEDILLA sample code for java.awt.event.KeyEvent.VK_DEAD_CEDILLA definition code for java.awt.event.KeyEvent.VK_DEAD_CEDILLA , VK_DEAD_CIRCUMFLEX sample code for java.awt.event.KeyEvent.VK_DEAD_CIRCUMFLEX definition code for java.awt.event.KeyEvent.VK_DEAD_CIRCUMFLEX , VK_DEAD_DIAERESIS sample code for java.awt.event.KeyEvent.VK_DEAD_DIAERESIS definition code for java.awt.event.KeyEvent.VK_DEAD_DIAERESIS , VK_DEAD_DOUBLEACUTE sample code for java.awt.event.KeyEvent.VK_DEAD_DOUBLEACUTE definition code for java.awt.event.KeyEvent.VK_DEAD_DOUBLEACUTE , VK_DEAD_GRAVE sample code for java.awt.event.KeyEvent.VK_DEAD_GRAVE definition code for java.awt.event.KeyEvent.VK_DEAD_GRAVE , VK_DEAD_IOTA sample code for java.awt.event.KeyEvent.VK_DEAD_IOTA definition code for java.awt.event.KeyEvent.VK_DEAD_IOTA , VK_DEAD_MACRON sample code for java.awt.event.KeyEvent.VK_DEAD_MACRON definition code for java.awt.event.KeyEvent.VK_DEAD_MACRON , VK_DEAD_OGONEK sample code for java.awt.event.KeyEvent.VK_DEAD_OGONEK definition code for java.awt.event.KeyEvent.VK_DEAD_OGONEK , VK_DEAD_SEMIVOICED_SOUND sample code for java.awt.event.KeyEvent.VK_DEAD_SEMIVOICED_SOUND definition code for java.awt.event.KeyEvent.VK_DEAD_SEMIVOICED_SOUND , VK_DEAD_TILDE sample code for java.awt.event.KeyEvent.VK_DEAD_TILDE definition code for java.awt.event.KeyEvent.VK_DEAD_TILDE , VK_DEAD_VOICED_SOUND sample code for java.awt.event.KeyEvent.VK_DEAD_VOICED_SOUND definition code for java.awt.event.KeyEvent.VK_DEAD_VOICED_SOUND , VK_DECIMAL sample code for java.awt.event.KeyEvent.VK_DECIMAL definition code for java.awt.event.KeyEvent.VK_DECIMAL , VK_DELETE sample code for java.awt.event.KeyEvent.VK_DELETE definition code for java.awt.event.KeyEvent.VK_DELETE , VK_DIVIDE sample code for java.awt.event.KeyEvent.VK_DIVIDE definition code for java.awt.event.KeyEvent.VK_DIVIDE , VK_DOLLAR sample code for java.awt.event.KeyEvent.VK_DOLLAR definition code for java.awt.event.KeyEvent.VK_DOLLAR , VK_DOWN sample code for java.awt.event.KeyEvent.VK_DOWN definition code for java.awt.event.KeyEvent.VK_DOWN , VK_E sample code for java.awt.event.KeyEvent.VK_E definition code for java.awt.event.KeyEvent.VK_E , VK_END sample code for java.awt.event.KeyEvent.VK_END definition code for java.awt.event.KeyEvent.VK_END , VK_ENTER sample code for java.awt.event.KeyEvent.VK_ENTER definition code for java.awt.event.KeyEvent.VK_ENTER , VK_EQUALS sample code for java.awt.event.KeyEvent.VK_EQUALS definition code for java.awt.event.KeyEvent.VK_EQUALS , VK_ESCAPE sample code for java.awt.event.KeyEvent.VK_ESCAPE definition code for java.awt.event.KeyEvent.VK_ESCAPE , VK_EURO_SIGN sample code for java.awt.event.KeyEvent.VK_EURO_SIGN definition code for java.awt.event.KeyEvent.VK_EURO_SIGN , VK_EXCLAMATION_MARK sample code for java.awt.event.KeyEvent.VK_EXCLAMATION_MARK definition code for java.awt.event.KeyEvent.VK_EXCLAMATION_MARK , VK_F sample code for java.awt.event.KeyEvent.VK_F definition code for java.awt.event.KeyEvent.VK_F , VK_F1 sample code for java.awt.event.KeyEvent.VK_F1 definition code for java.awt.event.KeyEvent.VK_F1 , VK_F10 sample code for java.awt.event.KeyEvent.VK_F10 definition code for java.awt.event.KeyEvent.VK_F10 , VK_F11 sample code for java.awt.event.KeyEvent.VK_F11 definition code for java.awt.event.KeyEvent.VK_F11 , VK_F12 sample code for java.awt.event.KeyEvent.VK_F12 definition code for java.awt.event.KeyEvent.VK_F12 , VK_F13 sample code for java.awt.event.KeyEvent.VK_F13 definition code for java.awt.event.KeyEvent.VK_F13 , VK_F14 sample code for java.awt.event.KeyEvent.VK_F14 definition code for java.awt.event.KeyEvent.VK_F14 , VK_F15 sample code for java.awt.event.KeyEvent.VK_F15 definition code for java.awt.event.KeyEvent.VK_F15 , VK_F16 sample code for java.awt.event.KeyEvent.VK_F16 definition code for java.awt.event.KeyEvent.VK_F16 , VK_F17 sample code for java.awt.event.KeyEvent.VK_F17 definition code for java.awt.event.KeyEvent.VK_F17 , VK_F18 sample code for java.awt.event.KeyEvent.VK_F18 definition code for java.awt.event.KeyEvent.VK_F18 , VK_F19 sample code for java.awt.event.KeyEvent.VK_F19 definition code for java.awt.event.KeyEvent.VK_F19 , VK_F2 sample code for java.awt.event.KeyEvent.VK_F2 definition code for java.awt.event.KeyEvent.VK_F2 , VK_F20 sample code for java.awt.event.KeyEvent.VK_F20 definition code for java.awt.event.KeyEvent.VK_F20 , VK_F21 sample code for java.awt.event.KeyEvent.VK_F21 definition code for java.awt.event.KeyEvent.VK_F21 , VK_F22 sample code for java.awt.event.KeyEvent.VK_F22 definition code for java.awt.event.KeyEvent.VK_F22 , VK_F23 sample code for java.awt.event.KeyEvent.VK_F23 definition code for java.awt.event.KeyEvent.VK_F23 , VK_F24 sample code for java.awt.event.KeyEvent.VK_F24 definition code for java.awt.event.KeyEvent.VK_F24 , VK_F3 sample code for java.awt.event.KeyEvent.VK_F3 definition code for java.awt.event.KeyEvent.VK_F3 , VK_F4 sample code for java.awt.event.KeyEvent.VK_F4 definition code for java.awt.event.KeyEvent.VK_F4 , VK_F5 sample code for java.awt.event.KeyEvent.VK_F5 definition code for java.awt.event.KeyEvent.VK_F5 , VK_F6 sample code for java.awt.event.KeyEvent.VK_F6 definition code for java.awt.event.KeyEvent.VK_F6 , VK_F7 sample code for java.awt.event.KeyEvent.VK_F7 definition code for java.awt.event.KeyEvent.VK_F7 , VK_F8 sample code for java.awt.event.KeyEvent.VK_F8 definition code for java.awt.event.KeyEvent.VK_F8 , VK_F9 sample code for java.awt.event.KeyEvent.VK_F9 definition code for java.awt.event.KeyEvent.VK_F9 , VK_FINAL sample code for java.awt.event.KeyEvent.VK_FINAL definition code for java.awt.event.KeyEvent.VK_FINAL , VK_FIND sample code for java.awt.event.KeyEvent.VK_FIND definition code for java.awt.event.KeyEvent.VK_FIND , VK_FULL_WIDTH sample code for java.awt.event.KeyEvent.VK_FULL_WIDTH definition code for java.awt.event.KeyEvent.VK_FULL_WIDTH , VK_G sample code for java.awt.event.KeyEvent.VK_G definition code for java.awt.event.KeyEvent.VK_G , VK_GREATER sample code for java.awt.event.KeyEvent.VK_GREATER definition code for java.awt.event.KeyEvent.VK_GREATER , VK_H sample code for java.awt.event.KeyEvent.VK_H definition code for java.awt.event.KeyEvent.VK_H , VK_HALF_WIDTH sample code for java.awt.event.KeyEvent.VK_HALF_WIDTH definition code for java.awt.event.KeyEvent.VK_HALF_WIDTH , VK_HELP sample code for java.awt.event.KeyEvent.VK_HELP definition code for java.awt.event.KeyEvent.VK_HELP , VK_HIRAGANA sample code for java.awt.event.KeyEvent.VK_HIRAGANA definition code for java.awt.event.KeyEvent.VK_HIRAGANA , VK_HOME sample code for java.awt.event.KeyEvent.VK_HOME definition code for java.awt.event.KeyEvent.VK_HOME , VK_I sample code for java.awt.event.KeyEvent.VK_I definition code for java.awt.event.KeyEvent.VK_I , VK_INPUT_METHOD_ON_OFF sample code for java.awt.event.KeyEvent.VK_INPUT_METHOD_ON_OFF definition code for java.awt.event.KeyEvent.VK_INPUT_METHOD_ON_OFF , VK_INSERT sample code for java.awt.event.KeyEvent.VK_INSERT definition code for java.awt.event.KeyEvent.VK_INSERT , VK_INVERTED_EXCLAMATION_MARK sample code for java.awt.event.KeyEvent.VK_INVERTED_EXCLAMATION_MARK definition code for java.awt.event.KeyEvent.VK_INVERTED_EXCLAMATION_MARK , VK_J sample code for java.awt.event.KeyEvent.VK_J definition code for java.awt.event.KeyEvent.VK_J , VK_JAPANESE_HIRAGANA sample code for java.awt.event.KeyEvent.VK_JAPANESE_HIRAGANA definition code for java.awt.event.KeyEvent.VK_JAPANESE_HIRAGANA , VK_JAPANESE_KATAKANA sample code for java.awt.event.KeyEvent.VK_JAPANESE_KATAKANA definition code for java.awt.event.KeyEvent.VK_JAPANESE_KATAKANA , VK_JAPANESE_ROMAN sample code for java.awt.event.KeyEvent.VK_JAPANESE_ROMAN definition code for java.awt.event.KeyEvent.VK_JAPANESE_ROMAN , VK_K sample code for java.awt.event.KeyEvent.VK_K definition code for java.awt.event.KeyEvent.VK_K , VK_KANA sample code for java.awt.event.KeyEvent.VK_KANA definition code for java.awt.event.KeyEvent.VK_KANA , VK_KANA_LOCK sample code for java.awt.event.KeyEvent.VK_KANA_LOCK definition code for java.awt.event.KeyEvent.VK_KANA_LOCK , VK_KANJI sample code for java.awt.event.KeyEvent.VK_KANJI definition code for java.awt.event.KeyEvent.VK_KANJI , VK_KATAKANA sample code for java.awt.event.KeyEvent.VK_KATAKANA definition code for java.awt.event.KeyEvent.VK_KATAKANA , VK_KP_DOWN sample code for java.awt.event.KeyEvent.VK_KP_DOWN definition code for java.awt.event.KeyEvent.VK_KP_DOWN , VK_KP_LEFT sample code for java.awt.event.KeyEvent.VK_KP_LEFT definition code for java.awt.event.KeyEvent.VK_KP_LEFT , VK_KP_RIGHT sample code for java.awt.event.KeyEvent.VK_KP_RIGHT definition code for java.awt.event.KeyEvent.VK_KP_RIGHT , VK_KP_UP sample code for java.awt.event.KeyEvent.VK_KP_UP definition code for java.awt.event.KeyEvent.VK_KP_UP , VK_L sample code for java.awt.event.KeyEvent.VK_L definition code for java.awt.event.KeyEvent.VK_L , VK_LEFT sample code for java.awt.event.KeyEvent.VK_LEFT definition code for java.awt.event.KeyEvent.VK_LEFT , VK_LEFT_PARENTHESIS sample code for java.awt.event.KeyEvent.VK_LEFT_PARENTHESIS definition code for java.awt.event.KeyEvent.VK_LEFT_PARENTHESIS , VK_LESS sample code for java.awt.event.KeyEvent.VK_LESS definition code for java.awt.event.KeyEvent.VK_LESS , VK_M sample code for java.awt.event.KeyEvent.VK_M definition code for java.awt.event.KeyEvent.VK_M , VK_META sample code for java.awt.event.KeyEvent.VK_META definition code for java.awt.event.KeyEvent.VK_META , VK_MINUS sample code for java.awt.event.KeyEvent.VK_MINUS definition code for java.awt.event.KeyEvent.VK_MINUS , VK_MODECHANGE sample code for java.awt.event.KeyEvent.VK_MODECHANGE definition code for java.awt.event.KeyEvent.VK_MODECHANGE , VK_MULTIPLY sample code for java.awt.event.KeyEvent.VK_MULTIPLY definition code for java.awt.event.KeyEvent.VK_MULTIPLY , VK_N sample code for java.awt.event.KeyEvent.VK_N definition code for java.awt.event.KeyEvent.VK_N , VK_NONCONVERT sample code for java.awt.event.KeyEvent.VK_NONCONVERT definition code for java.awt.event.KeyEvent.VK_NONCONVERT , VK_NUM_LOCK sample code for java.awt.event.KeyEvent.VK_NUM_LOCK definition code for java.awt.event.KeyEvent.VK_NUM_LOCK , VK_NUMBER_SIGN sample code for java.awt.event.KeyEvent.VK_NUMBER_SIGN definition code for java.awt.event.KeyEvent.VK_NUMBER_SIGN , VK_NUMPAD0 sample code for java.awt.event.KeyEvent.VK_NUMPAD0 definition code for java.awt.event.KeyEvent.VK_NUMPAD0 , VK_NUMPAD1 sample code for java.awt.event.KeyEvent.VK_NUMPAD1 definition code for java.awt.event.KeyEvent.VK_NUMPAD1 , VK_NUMPAD2 sample code for java.awt.event.KeyEvent.VK_NUMPAD2 definition code for java.awt.event.KeyEvent.VK_NUMPAD2 , VK_NUMPAD3 sample code for java.awt.event.KeyEvent.VK_NUMPAD3 definition code for java.awt.event.KeyEvent.VK_NUMPAD3 , VK_NUMPAD4 sample code for java.awt.event.KeyEvent.VK_NUMPAD4 definition code for java.awt.event.KeyEvent.VK_NUMPAD4 , VK_NUMPAD5 sample code for java.awt.event.KeyEvent.VK_NUMPAD5 definition code for java.awt.event.KeyEvent.VK_NUMPAD5 , VK_NUMPAD6 sample code for java.awt.event.KeyEvent.VK_NUMPAD6 definition code for java.awt.event.KeyEvent.VK_NUMPAD6 , VK_NUMPAD7 sample code for java.awt.event.KeyEvent.VK_NUMPAD7 definition code for java.awt.event.KeyEvent.VK_NUMPAD7 , VK_NUMPAD8 sample code for java.awt.event.KeyEvent.VK_NUMPAD8 definition code for java.awt.event.KeyEvent.VK_NUMPAD8 , VK_NUMPAD9 sample code for java.awt.event.KeyEvent.VK_NUMPAD9 definition code for java.awt.event.KeyEvent.VK_NUMPAD9 , VK_O sample code for java.awt.event.KeyEvent.VK_O definition code for java.awt.event.KeyEvent.VK_O , VK_OPEN_BRACKET sample code for java.awt.event.KeyEvent.VK_OPEN_BRACKET definition code for java.awt.event.KeyEvent.VK_OPEN_BRACKET , VK_P sample code for java.awt.event.KeyEvent.VK_P definition code for java.awt.event.KeyEvent.VK_P , VK_PAGE_DOWN sample code for java.awt.event.KeyEvent.VK_PAGE_DOWN definition code for java.awt.event.KeyEvent.VK_PAGE_DOWN , VK_PAGE_UP sample code for java.awt.event.KeyEvent.VK_PAGE_UP definition code for java.awt.event.KeyEvent.VK_PAGE_UP , VK_PASTE sample code for java.awt.event.KeyEvent.VK_PASTE definition code for java.awt.event.KeyEvent.VK_PASTE , VK_PAUSE sample code for java.awt.event.KeyEvent.VK_PAUSE definition code for java.awt.event.KeyEvent.VK_PAUSE , VK_PERIOD sample code for java.awt.event.KeyEvent.VK_PERIOD definition code for java.awt.event.KeyEvent.VK_PERIOD , VK_PLUS sample code for java.awt.event.KeyEvent.VK_PLUS definition code for java.awt.event.KeyEvent.VK_PLUS , VK_PREVIOUS_CANDIDATE sample code for java.awt.event.KeyEvent.VK_PREVIOUS_CANDIDATE definition code for java.awt.event.KeyEvent.VK_PREVIOUS_CANDIDATE , VK_PRINTSCREEN sample code for java.awt.event.KeyEvent.VK_PRINTSCREEN definition code for java.awt.event.KeyEvent.VK_PRINTSCREEN , VK_PROPS sample code for java.awt.event.KeyEvent.VK_PROPS definition code for java.awt.event.KeyEvent.VK_PROPS , VK_Q sample code for java.awt.event.KeyEvent.VK_Q definition code for java.awt.event.KeyEvent.VK_Q , VK_QUOTE sample code for java.awt.event.KeyEvent.VK_QUOTE definition code for java.awt.event.KeyEvent.VK_QUOTE , VK_QUOTEDBL sample code for java.awt.event.KeyEvent.VK_QUOTEDBL definition code for java.awt.event.KeyEvent.VK_QUOTEDBL , VK_R sample code for java.awt.event.KeyEvent.VK_R definition code for java.awt.event.KeyEvent.VK_R , VK_RIGHT sample code for java.awt.event.KeyEvent.VK_RIGHT definition code for java.awt.event.KeyEvent.VK_RIGHT , VK_RIGHT_PARENTHESIS sample code for java.awt.event.KeyEvent.VK_RIGHT_PARENTHESIS definition code for java.awt.event.KeyEvent.VK_RIGHT_PARENTHESIS , VK_ROMAN_CHARACTERS sample code for java.awt.event.KeyEvent.VK_ROMAN_CHARACTERS definition code for java.awt.event.KeyEvent.VK_ROMAN_CHARACTERS , VK_S sample code for java.awt.event.KeyEvent.VK_S definition code for java.awt.event.KeyEvent.VK_S , VK_SCROLL_LOCK sample code for java.awt.event.KeyEvent.VK_SCROLL_LOCK definition code for java.awt.event.KeyEvent.VK_SCROLL_LOCK , VK_SEMICOLON sample code for java.awt.event.KeyEvent.VK_SEMICOLON definition code for java.awt.event.KeyEvent.VK_SEMICOLON , VK_SEPARATER sample code for java.awt.event.KeyEvent.VK_SEPARATER definition code for java.awt.event.KeyEvent.VK_SEPARATER , VK_SEPARATOR sample code for java.awt.event.KeyEvent.VK_SEPARATOR definition code for java.awt.event.KeyEvent.VK_SEPARATOR , VK_SHIFT sample code for java.awt.event.KeyEvent.VK_SHIFT definition code for java.awt.event.KeyEvent.VK_SHIFT , VK_SLASH sample code for java.awt.event.KeyEvent.VK_SLASH definition code for java.awt.event.KeyEvent.VK_SLASH , VK_SPACE sample code for java.awt.event.KeyEvent.VK_SPACE definition code for java.awt.event.KeyEvent.VK_SPACE , VK_STOP sample code for java.awt.event.KeyEvent.VK_STOP definition code for java.awt.event.KeyEvent.VK_STOP , VK_SUBTRACT sample code for java.awt.event.KeyEvent.VK_SUBTRACT definition code for java.awt.event.KeyEvent.VK_SUBTRACT , VK_T sample code for java.awt.event.KeyEvent.VK_T definition code for java.awt.event.KeyEvent.VK_T , VK_TAB sample code for java.awt.event.KeyEvent.VK_TAB definition code for java.awt.event.KeyEvent.VK_TAB , VK_U sample code for java.awt.event.KeyEvent.VK_U definition code for java.awt.event.KeyEvent.VK_U , VK_UNDEFINED sample code for java.awt.event.KeyEvent.VK_UNDEFINED definition code for java.awt.event.KeyEvent.VK_UNDEFINED , VK_UNDERSCORE sample code for java.awt.event.KeyEvent.VK_UNDERSCORE definition code for java.awt.event.KeyEvent.VK_UNDERSCORE , VK_UNDO sample code for java.awt.event.KeyEvent.VK_UNDO definition code for java.awt.event.KeyEvent.VK_UNDO , VK_UP sample code for java.awt.event.KeyEvent.VK_UP definition code for java.awt.event.KeyEvent.VK_UP , VK_V sample code for java.awt.event.KeyEvent.VK_V definition code for java.awt.event.KeyEvent.VK_V , VK_W sample code for java.awt.event.KeyEvent.VK_W definition code for java.awt.event.KeyEvent.VK_W , VK_WINDOWS sample code for java.awt.event.KeyEvent.VK_WINDOWS definition code for java.awt.event.KeyEvent.VK_WINDOWS , VK_X sample code for java.awt.event.KeyEvent.VK_X definition code for java.awt.event.KeyEvent.VK_X , VK_Y sample code for java.awt.event.KeyEvent.VK_Y definition code for java.awt.event.KeyEvent.VK_Y , VK_Z sample code for java.awt.event.KeyEvent.VK_Z definition code for java.awt.event.KeyEvent.VK_Z
 
Fields inherited from class java.awt.event.InputEvent sample code for java.awt.event.InputEvent definition code for java.awt.event.InputEvent
ALT_DOWN_MASK sample code for java.awt.event.InputEvent.ALT_DOWN_MASK definition code for java.awt.event.InputEvent.ALT_DOWN_MASK , ALT_GRAPH_DOWN_MASK sample code for java.awt.event.InputEvent.ALT_GRAPH_DOWN_MASK definition code for java.awt.event.InputEvent.ALT_GRAPH_DOWN_MASK , ALT_GRAPH_MASK sample code for java.awt.event.InputEvent.ALT_GRAPH_MASK definition code for java.awt.event.InputEvent.ALT_GRAPH_MASK , ALT_MASK sample code for java.awt.event.InputEvent.ALT_MASK definition code for java.awt.event.InputEvent.ALT_MASK , BUTTON1_DOWN_MASK sample code for java.awt.event.InputEvent.BUTTON1_DOWN_MASK definition code for java.awt.event.InputEvent.BUTTON1_DOWN_MASK , BUTTON1_MASK sample code for java.awt.event.InputEvent.BUTTON1_MASK definition code for java.awt.event.InputEvent.BUTTON1_MASK , BUTTON2_DOWN_MASK sample code for java.awt.event.InputEvent.BUTTON2_DOWN_MASK definition code for java.awt.event.InputEvent.BUTTON2_DOWN_MASK , BUTTON2_MASK sample code for java.awt.event.InputEvent.BUTTON2_MASK definition code for java.awt.event.InputEvent.BUTTON2_MASK , BUTTON3_DOWN_MASK sample code for java.awt.event.InputEvent.BUTTON3_DOWN_MASK definition code for java.awt.event.InputEvent.BUTTON3_DOWN_MASK , BUTTON3_MASK sample code for java.awt.event.InputEvent.BUTTON3_MASK definition code for java.awt.event.InputEvent.BUTTON3_MASK , CTRL_DOWN_MASK sample code for java.awt.event.InputEvent.CTRL_DOWN_MASK definition code for java.awt.event.InputEvent.CTRL_DOWN_MASK , CTRL_MASK sample code for java.awt.event.InputEvent.CTRL_MASK definition code for java.awt.event.InputEvent.CTRL_MASK , META_DOWN_MASK sample code for java.awt.event.InputEvent.META_DOWN_MASK definition code for java.awt.event.InputEvent.META_DOWN_MASK , META_MASK sample code for java.awt.event.InputEvent.META_MASK definition code for java.awt.event.InputEvent.META_MASK , SHIFT_DOWN_MASK sample code for java.awt.event.InputEvent.SHIFT_DOWN_MASK definition code for java.awt.event.InputEvent.SHIFT_DOWN_MASK , SHIFT_MASK sample code for java.awt.event.InputEvent.SHIFT_MASK definition code for java.awt.event.InputEvent.SHIFT_MASK
 
Fields inherited from class java.awt.event.ComponentEvent sample code for java.awt.event.ComponentEvent definition code for java.awt.event.ComponentEvent
COMPONENT_FIRST sample code for java.awt.event.ComponentEvent.COMPONENT_FIRST definition code for java.awt.event.ComponentEvent.COMPONENT_FIRST , COMPONENT_HIDDEN sample code for java.awt.event.ComponentEvent.COMPONENT_HIDDEN definition code for java.awt.event.ComponentEvent.COMPONENT_HIDDEN , COMPONENT_LAST sample code for java.awt.event.ComponentEvent.COMPONENT_LAST definition code for java.awt.event.ComponentEvent.COMPONENT_LAST , COMPONENT_MOVED sample code for java.awt.event.ComponentEvent.COMPONENT_MOVED definition code for java.awt.event.ComponentEvent.COMPONENT_MOVED , COMPONENT_RESIZED sample code for java.awt.event.ComponentEvent.COMPONENT_RESIZED definition code for java.awt.event.ComponentEvent.COMPONENT_RESIZED , COMPONENT_SHOWN sample code for java.awt.event.ComponentEvent.COMPONENT_SHOWN definition code for java.awt.event.ComponentEvent.COMPONENT_SHOWN
 
Fields inherited from class java.awt.AWTEvent sample code for java.awt.AWTEvent definition code for java.awt.AWTEvent
ACTION_EVENT_MASK sample code for java.awt.AWTEvent.ACTION_EVENT_MASK definition code for java.awt.AWTEvent.ACTION_EVENT_MASK , ADJUSTMENT_EVENT_MASK sample code for java.awt.AWTEvent.ADJUSTMENT_EVENT_MASK definition code for java.awt.AWTEvent.ADJUSTMENT_EVENT_MASK , COMPONENT_EVENT_MASK sample code for java.awt.AWTEvent.COMPONENT_EVENT_MASK definition code for java.awt.AWTEvent.COMPONENT_EVENT_MASK , consumed sample code for java.awt.AWTEvent.consumed definition code for java.awt.AWTEvent.consumed , CONTAINER_EVENT_MASK sample code for java.awt.AWTEvent.CONTAINER_EVENT_MASK definition code for java.awt.AWTEvent.CONTAINER_EVENT_MASK , FOCUS_EVENT_MASK sample code for java.awt.AWTEvent.FOCUS_EVENT_MASK definition code for java.awt.AWTEvent.FOCUS_EVENT_MASK , HIERARCHY_BOUNDS_EVENT_MASK sample code for java.awt.AWTEvent.HIERARCHY_BOUNDS_EVENT_MASK definition code for java.awt.AWTEvent.HIERARCHY_BOUNDS_EVENT_MASK , HIERARCHY_EVENT_MASK sample code for java.awt.AWTEvent.HIERARCHY_EVENT_MASK definition code for java.awt.AWTEvent.HIERARCHY_EVENT_MASK , id sample code for java.awt.AWTEvent.id definition code for java.awt.AWTEvent.id , INPUT_METHOD_EVENT_MASK sample code for java.awt.AWTEvent.INPUT_METHOD_EVENT_MASK definition code for java.awt.AWTEvent.INPUT_METHOD_EVENT_MASK , INVOCATION_EVENT_MASK sample code for java.awt.AWTEvent.INVOCATION_EVENT_MASK definition code for java.awt.AWTEvent.INVOCATION_EVENT_MASK , ITEM_EVENT_MASK sample code for java.awt.AWTEvent.ITEM_EVENT_MASK definition code for java.awt.AWTEvent.ITEM_EVENT_MASK , KEY_EVENT_MASK sample code for java.awt.AWTEvent.KEY_EVENT_MASK definition code for java.awt.AWTEvent.KEY_EVENT_MASK , MOUSE_EVENT_MASK sample code for java.awt.AWTEvent.MOUSE_EVENT_MASK definition code for java.awt.AWTEvent.MOUSE_EVENT_MASK , MOUSE_MOTION_EVENT_MASK sample code for java.awt.AWTEvent.MOUSE_MOTION_EVENT_MASK definition code for java.awt.AWTEvent.MOUSE_MOTION_EVENT_MASK , MOUSE_WHEEL_EVENT_MASK sample code for java.awt.AWTEvent.MOUSE_WHEEL_EVENT_MASK definition code for java.awt.AWTEvent.MOUSE_WHEEL_EVENT_MASK , PAINT_EVENT_MASK sample code for java.awt.AWTEvent.PAINT_EVENT_MASK definition code for java.awt.AWTEvent.PAINT_EVENT_MASK , RESERVED_ID_MAX sample code for java.awt.AWTEvent.RESERVED_ID_MAX definition code for java.awt.AWTEvent.RESERVED_ID_MAX , TEXT_EVENT_MASK sample code for java.awt.AWTEvent.TEXT_EVENT_MASK definition code for java.awt.AWTEvent.TEXT_EVENT_MASK , WINDOW_EVENT_MASK sample code for java.awt.AWTEvent.WINDOW_EVENT_MASK definition code for java.awt.AWTEvent.WINDOW_EVENT_MASK , WINDOW_FOCUS_EVENT_MASK sample code for java.awt.AWTEvent.WINDOW_FOCUS_EVENT_MASK definition code for java.awt.AWTEvent.WINDOW_FOCUS_EVENT_MASK , WINDOW_STATE_EVENT_MASK sample code for java.awt.AWTEvent.WINDOW_STATE_EVENT_MASK definition code for java.awt.AWTEvent.WINDOW_STATE_EVENT_MASK
 
Fields inherited from class java.util.EventObject sample code for java.util.EventObject definition code for java.util.EventObject
source sample code for java.util.EventObject.source definition code for java.util.EventObject.source
 
Constructor Summary
MenuKeyEvent sample code for javax.swing.event.MenuKeyEvent.MenuKeyEvent(java.awt.Component, int, long, int, int, char, javax.swing.MenuElement[], javax.swing.MenuSelectionManager) definition code for javax.swing.event.MenuKeyEvent.MenuKeyEvent(java.awt.Component, int, long, int, int, char, javax.swing.MenuElement[], javax.swing.MenuSelectionManager) (Component sample code for java.awt.Component definition code for java.awt.Component  source, int id, long when, int modifiers, int keyCode, char keyChar, MenuElement sample code for javax.swing.MenuElement definition code for javax.swing.MenuElement [] p, MenuSelectionManager sample code for javax.swing.MenuSelectionManager definition code for javax.swing.MenuSelectionManager  m)
          Constructs a MenuKeyEvent object.
 
Method Summary
 MenuSelectionManager sample code for javax.swing.MenuSelectionManager definition code for javax.swing.MenuSelectionManager getMenuSelectionManager sample code for javax.swing.event.MenuKeyEvent.getMenuSelectionManager() definition code for javax.swing.event.MenuKeyEvent.getMenuSelectionManager() ()
          Returns the current menu selection manager.
 MenuElement sample code for javax.swing.MenuElement definition code for javax.swing.MenuElement [] getPath sample code for javax.swing.event.MenuKeyEvent.getPath() definition code for javax.swing.event.MenuKeyEvent.getPath() ()
          Returns the path to the menu item referenced by this event.
 
Methods inherited from class java.awt.event.KeyEvent sample code for java.awt.event.KeyEvent definition code for java.awt.event.KeyEvent
getKeyChar sample code for java.awt.event.KeyEvent.getKeyChar() definition code for java.awt.event.KeyEvent.getKeyChar() , getKeyCode sample code for java.awt.event.KeyEvent.getKeyCode() definition code for java.awt.event.KeyEvent.getKeyCode() , getKeyLocation sample code for java.awt.event.KeyEvent.getKeyLocation() definition code for java.awt.event.KeyEvent.getKeyLocation() , getKeyModifiersText sample code for java.awt.event.KeyEvent.getKeyModifiersText(int) definition code for java.awt.event.KeyEvent.getKeyModifiersText(int) , getKeyText sample code for java.awt.event.KeyEvent.getKeyText(int) definition code for java.awt.event.KeyEvent.getKeyText(int) , isActionKey sample code for java.awt.event.KeyEvent.isActionKey() definition code for java.awt.event.KeyEvent.isActionKey() , paramString sample code for java.awt.event.KeyEvent.paramString() definition code for java.awt.event.KeyEvent.paramString() , setKeyChar sample code for java.awt.event.KeyEvent.setKeyChar(char) definition code for java.awt.event.KeyEvent.setKeyChar(char) , setKeyCode sample code for java.awt.event.KeyEvent.setKeyCode(int) definition code for java.awt.event.KeyEvent.setKeyCode(int) , setModifiers sample code for java.awt.event.KeyEvent.setModifiers(int) definition code for java.awt.event.KeyEvent.setModifiers(int)
 
Methods inherited from class java.awt.event.InputEvent sample code for java.awt.event.InputEvent definition code for java.awt.event.InputEvent
consume sample code for java.awt.event.InputEvent.consume() definition code for java.awt.event.InputEvent.consume() , getModifiers sample code for java.awt.event.InputEvent.getModifiers() definition code for java.awt.event.InputEvent.getModifiers() , getModifiersEx sample code for java.awt.event.InputEvent.getModifiersEx() definition code for java.awt.event.InputEvent.getModifiersEx() , getModifiersExText sample code for java.awt.event.InputEvent.getModifiersExText(int) definition code for java.awt.event.InputEvent.getModifiersExText(int) , getWhen sample code for java.awt.event.InputEvent.getWhen() definition code for java.awt.event.InputEvent.getWhen() , isAltDown sample code for java.awt.event.InputEvent.isAltDown() definition code for java.awt.event.InputEvent.isAltDown() , isAltGraphDown sample code for java.awt.event.InputEvent.isAltGraphDown() definition code for java.awt.event.InputEvent.isAltGraphDown() , isConsumed sample code for java.awt.event.InputEvent.isConsumed() definition code for java.awt.event.InputEvent.isConsumed() , isControlDown sample code for java.awt.event.InputEvent.isControlDown() definition code for java.awt.event.InputEvent.isControlDown() , isMetaDown sample code for java.awt.event.InputEvent.isMetaDown() definition code for java.awt.event.InputEvent.isMetaDown() , isShiftDown sample code for java.awt.event.InputEvent.isShiftDown() definition code for java.awt.event.InputEvent.isShiftDown()
 
Methods inherited from class java.awt.event.ComponentEvent sample code for java.awt.event.ComponentEvent definition code for java.awt.event.ComponentEvent
getComponent sample code for java.awt.event.ComponentEvent.getComponent() definition code for java.awt.event.ComponentEvent.getComponent()
 
Methods inherited from class java.awt.AWTEvent sample code for java.awt.AWTEvent definition code for java.awt.AWTEvent
getID sample code for java.awt.AWTEvent.getID() definition code for java.awt.AWTEvent.getID() , setSource sample code for java.awt.AWTEvent.setSource(java.lang.Object) definition code for java.awt.AWTEvent.setSource(java.lang.Object) , toString sample code for java.awt.AWTEvent.toString() definition code for java.awt.AWTEvent.toString()
 
Methods inherited from class java.util.EventObject sample code for java.util.EventObject definition code for java.util.EventObject
getSource sample code for java.util.EventObject.getSource() definition code for java.util.EventObject.getSource()
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Constructor Detail

MenuKeyEvent sample code for javax.swing.event.MenuKeyEvent(java.awt.Component, int, long, int, int, char, javax.swing.MenuElement[], javax.swing.MenuSelectionManager) definition code for javax.swing.event.MenuKeyEvent(java.awt.Component, int, long, int, int, char, javax.swing.MenuElement[], javax.swing.MenuSelectionManager)

public MenuKeyEvent(Component sample code for java.awt.Component definition code for java.awt.Component  source,
                    int id,
                    long when,
                    int modifiers,
                    int keyCode,
                    char keyChar,
                    MenuElement sample code for javax.swing.MenuElement definition code for javax.swing.MenuElement [] p,
                    MenuSelectionManager sample code for javax.swing.MenuSelectionManager definition code for javax.swing.MenuSelectionManager  m)
Constructs a MenuKeyEvent object.

Parameters:
source - the Component that originated the event (typically this)
id - an int specifying the type of event, as defined in KeyEvent sample code for java.awt.event.KeyEvent definition code for java.awt.event.KeyEvent
when - a long identifying the time the event occurred
modifiers - an int specifying any modifier keys held down, as specified in InputEvent sample code for java.awt.event.InputEvent definition code for java.awt.event.InputEvent
keyCode - an int specifying the specific key that was pressed
keyChar - a char specifying the key's character value, if any -- null if the key has no character value
p - an array of MenuElement objects specifying a path to a menu item affected by the drag
m - a MenuSelectionManager object that handles selections
Method Detail

getPath sample code for javax.swing.event.MenuKeyEvent.getPath() definition code for javax.swing.event.MenuKeyEvent.getPath()

public MenuElement sample code for javax.swing.MenuElement definition code for javax.swing.MenuElement [] getPath()
Returns the path to the menu item referenced by this event.

Returns:
an array of MenuElement objects representing the path value

getMenuSelectionManager sample code for javax.swing.event.MenuKeyEvent.getMenuSelectionManager() definition code for javax.swing.event.MenuKeyEvent.getMenuSelectionManager()

public MenuSelectionManager sample code for javax.swing.MenuSelectionManager definition code for javax.swing.MenuSelectionManager  getMenuSelectionManager()
Returns the current menu selection manager.

Returns:
a MenuSelectionManager object