BasicPopupMenuUI, MultiPopupMenuUI
public abstract class PopupMenuUI extends ComponentUI
| Modifier | Constructor | Description | 
|---|---|---|
| protected  | Constructor for subclasses to call. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| Popup | getPopup | Returns the  Popupthat will be responsible for displaying theJPopupMenu. | 
| boolean | isPopupTrigger | Returns whether or not the given  MouseEventis the popup menu trigger event for the platform | 
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
protected PopupMenuUI()
public boolean isPopupTrigger(MouseEvent e)
MouseEvent is the popup menu trigger event for the platforme - a MouseEvent
MouseEvent e is the popup menu triggerpublic Popup getPopup(JPopupMenu popup, int x, int y)
Popup that will be responsible for displaying the JPopupMenu.popup - JPopupMenu requesting Popupx - Screen x location Popup is to be shown aty - Screen y location Popup is to be shown at.
    © 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
    https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/javax/swing/plaf/PopupMenuUI.html