GeezerVison is showing docs.oracle.com — PopupMenu (Java Platform SE 8 )
Java™ Platform Standard Ed. 8
-
-
Nested Class Summary
Nested Classes
| Modifier and Type |
Class |
Description |
protected class |
PopupMenu.AccessibleAWTPopupMenu |
Inner class of PopupMenu used to provide default support for
accessibility.
|
-
Constructor Summary
Constructors
| Constructor |
Description |
PopupMenu() |
Creates a new popup menu with an empty name.
|
PopupMenu(String label) |
Creates a new popup menu with the specified name.
|
-
Method Summary
All Methods Instance Methods Concrete Methods
| Modifier and Type |
Method |
Description |
void |
addNotify() |
Creates the popup menu's peer.
|
AccessibleContext |
getAccessibleContext() |
Gets the AccessibleContext associated with this
PopupMenu.
|
MenuContainer |
getParent() |
Returns the parent container for this menu component.
|
void |
show(Component origin,
int x,
int y) |
Shows the popup menu at the x, y position relative to an origin
component.
|
-
Methods inherited from class java.awt.Menu
add, add, addSeparator, countItems, getItem, getItemCount, insert, insert, insertSeparator, isTearOff, paramString, remove, remove, removeAll, removeNotify
-
Methods inherited from class java.awt.MenuItem
addActionListener, deleteShortcut, disable, disableEvents, enable, enable, enableEvents, getActionCommand, getActionListeners, getLabel, getListeners, getShortcut, isEnabled, processActionEvent, processEvent, removeActionListener, setActionCommand, setEnabled, setLabel, setShortcut
Java™ Platform Standard Ed. 8
Submit a bug or feature For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
|