public abstract class

PopupMenuUI

extends ComponentUI
java.lang.Object
   ↳ javax.swing.plaf.ComponentUI
     ↳ javax.swing.plaf.PopupMenuUI
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Pluggable look and feel interface for JPopupMenu.

Summary

Public Constructors
PopupMenuUI()
Public Methods
Popup getPopup(JPopupMenu popup, int x, int y)
Returns the Popup that will be responsible for displaying the JPopupMenu.
boolean isPopupTrigger(MouseEvent e)
[Expand]
Inherited Methods
From class javax.swing.plaf.ComponentUI
From class java.lang.Object

Public Constructors

public PopupMenuUI ()

Public Methods

public Popup getPopup (JPopupMenu popup, int x, int y)

Returns the Popup that will be responsible for displaying the JPopupMenu.

Parameters
popup JPopupMenu requesting Popup
x Screen x location Popup is to be shown at
y Screen y location Popup is to be shown at.
Returns
  • Popup that will show the JPopupMenu

public boolean isPopupTrigger (MouseEvent e)