APIdia Launch Partner
Top Description Fields Constructors Methods
javax.swing.event

public Class MenuKeyEvent

extends KeyEvent
Class Inheritance
Annotations
@SuppressWarnings:serial
Imports
javax.swing.MenuElement, .MenuSelectionManager, java.util.EventObject, java.awt.event.KeyEvent, java.awt.Component

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 JavaBeans has been added to the java.beans package. Please see java.beans.XMLEncoder.

Author
Georges Saab

Field Summary

Modifier and TypeField and Description
private MenuSelectionManager
private MenuElement[]
Inherited from java.awt.event.KeyEvent:
CHAR_UNDEFINEDKEY_FIRSTKEY_LASTKEY_LOCATION_LEFTKEY_LOCATION_NUMPADKEY_LOCATION_RIGHTKEY_LOCATION_STANDARDKEY_LOCATION_UNKNOWNKEY_PRESSEDKEY_RELEASEDKEY_TYPEDVK_0VK_1VK_2VK_3VK_4VK_5VK_6VK_7VK_8VK_9VK_AVK_ACCEPTVK_ADDVK_AGAINVK_ALL_CANDIDATESVK_ALPHANUMERICVK_ALTVK_ALT_GRAPHVK_AMPERSANDVK_ASTERISKVK_ATVK_BVK_BACK_QUOTEVK_BACK_SLASHVK_BACK_SPACEVK_BEGINVK_BRACELEFTVK_BRACERIGHTVK_CVK_CANCELVK_CAPS_LOCKVK_CIRCUMFLEXVK_CLEARVK_CLOSE_BRACKETVK_CODE_INPUTVK_COLONVK_COMMAVK_COMPOSEVK_CONTEXT_MENUVK_CONTROLVK_CONVERTVK_COPYVK_CUTVK_DVK_DEAD_ABOVEDOTVK_DEAD_ABOVERINGVK_DEAD_ACUTEVK_DEAD_BREVEVK_DEAD_CARONVK_DEAD_CEDILLAVK_DEAD_CIRCUMFLEXVK_DEAD_DIAERESISVK_DEAD_DOUBLEACUTEVK_DEAD_GRAVEVK_DEAD_IOTAVK_DEAD_MACRONVK_DEAD_OGONEKVK_DEAD_SEMIVOICED_SOUNDVK_DEAD_TILDEVK_DEAD_VOICED_SOUNDVK_DECIMALVK_DELETEVK_DIVIDEVK_DOLLARVK_DOWNVK_EVK_ENDVK_ENTERVK_EQUALSVK_ESCAPEVK_EURO_SIGNVK_EXCLAMATION_MARKVK_FVK_F1VK_F10VK_F11VK_F12VK_F13VK_F14VK_F15VK_F16VK_F17VK_F18VK_F19VK_F2VK_F20VK_F21VK_F22VK_F23VK_F24VK_F3VK_F4VK_F5VK_F6VK_F7VK_F8VK_F9VK_FINALVK_FINDVK_FULL_WIDTHVK_GVK_GREATERVK_HVK_HALF_WIDTHVK_HELPVK_HIRAGANAVK_HOMEVK_IVK_INPUT_METHOD_ON_OFFVK_INSERTVK_INVERTED_EXCLAMATION_MARKVK_JVK_JAPANESE_HIRAGANAVK_JAPANESE_KATAKANAVK_JAPANESE_ROMANVK_KVK_KANAVK_KANA_LOCKVK_KANJIVK_KATAKANAVK_KP_DOWNVK_KP_LEFTVK_KP_RIGHTVK_KP_UPVK_LVK_LEFTVK_LEFT_PARENTHESISVK_LESSVK_MVK_METAVK_MINUSVK_MODECHANGEVK_MULTIPLYVK_NVK_NONCONVERTVK_NUM_LOCKVK_NUMBER_SIGNVK_NUMPAD0VK_NUMPAD1VK_NUMPAD2VK_NUMPAD3VK_NUMPAD4VK_NUMPAD5VK_NUMPAD6VK_NUMPAD7VK_NUMPAD8VK_NUMPAD9VK_OVK_OPEN_BRACKETVK_PVK_PAGE_DOWNVK_PAGE_UPVK_PASTEVK_PAUSEVK_PERIODVK_PLUSVK_PREVIOUS_CANDIDATEVK_PRINTSCREENVK_PROPSVK_QVK_QUOTEVK_QUOTEDBLVK_RVK_RIGHTVK_RIGHT_PARENTHESISVK_ROMAN_CHARACTERSVK_SVK_SCROLL_LOCKVK_SEMICOLONVK_SEPARATERVK_SEPARATORVK_SHIFTVK_SLASHVK_SPACEVK_STOPVK_SUBTRACTVK_TVK_TABVK_UVK_UNDEFINEDVK_UNDERSCOREVK_UNDOVK_UPVK_VVK_WVK_WINDOWSVK_XVK_YVK_Z

Constructor Summary

AccessConstructor and Description

Method Summary

Modifier and TypeMethod and Description
public MenuSelectionManager

Returns:

a MenuSelectionManager object
getMenuSelectionManager
()

Returns the current menu selection manager.

public MenuElement[]

Returns:

an array of MenuElement objects representing the path value
getPath
()

Returns the path to the menu item referenced by this event.

Inherited from java.awt.event.KeyEvent:
getExtendedKeyCodegetExtendedKeyCodeForChargetKeyChargetKeyCodegetKeyLocationgetKeyModifiersTextgetKeyTextisActionKeyparamStringsetKeyCharsetKeyCodesetModifiers

Field Detail

managerback to summary
private MenuSelectionManager manager
pathback to summary
private MenuElement[] path

Constructor Detail

Method Detail

getMenuSelectionManagerback to summary
public MenuSelectionManager getMenuSelectionManager()

Returns the current menu selection manager.

Returns:MenuSelectionManager

a MenuSelectionManager object

getPathback to summary
public MenuElement[] getPath()

Returns the path to the menu item referenced by this event.

Returns:MenuElement[]

an array of MenuElement objects representing the path value