javax.swing.plaf
Class PopupMenuUI

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by javax.swing.plaf.ComponentUI sample code for javax.swing.plaf.ComponentUI definition code for javax.swing.plaf.ComponentUI 
      extended by javax.swing.plaf.PopupMenuUI
Direct Known Subclasses:
BasicPopupMenuUI sample code for javax.swing.plaf.basic.BasicPopupMenuUI definition code for javax.swing.plaf.basic.BasicPopupMenuUI , MultiPopupMenuUI sample code for javax.swing.plaf.multi.MultiPopupMenuUI definition code for javax.swing.plaf.multi.MultiPopupMenuUI

public abstract class PopupMenuUI
extends ComponentUI sample code for javax.swing.plaf.ComponentUI definition code for javax.swing.plaf.ComponentUI

Pluggable look and feel interface for JPopupMenu.


Constructor Summary
PopupMenuUI sample code for javax.swing.plaf.PopupMenuUI.PopupMenuUI() definition code for javax.swing.plaf.PopupMenuUI.PopupMenuUI() ()
           
 
Method Summary
 Popup sample code for javax.swing.Popup definition code for javax.swing.Popup getPopup sample code for javax.swing.plaf.PopupMenuUI.getPopup(javax.swing.JPopupMenu, int, int) definition code for javax.swing.plaf.PopupMenuUI.getPopup(javax.swing.JPopupMenu, int, int) (JPopupMenu sample code for javax.swing.JPopupMenu definition code for javax.swing.JPopupMenu  popup, int x, int y)
          Returns the Popup that will be responsible for displaying the JPopupMenu.
 boolean isPopupTrigger sample code for javax.swing.plaf.PopupMenuUI.isPopupTrigger(java.awt.event.MouseEvent) definition code for javax.swing.plaf.PopupMenuUI.isPopupTrigger(java.awt.event.MouseEvent) (MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  e)
           
 
Methods inherited from class javax.swing.plaf.ComponentUI sample code for javax.swing.plaf.ComponentUI definition code for javax.swing.plaf.ComponentUI
contains sample code for javax.swing.plaf.ComponentUI.contains(javax.swing.JComponent, int, int) definition code for javax.swing.plaf.ComponentUI.contains(javax.swing.JComponent, int, int) , createUI sample code for javax.swing.plaf.ComponentUI.createUI(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.createUI(javax.swing.JComponent) , getAccessibleChild sample code for javax.swing.plaf.ComponentUI.getAccessibleChild(javax.swing.JComponent, int) definition code for javax.swing.plaf.ComponentUI.getAccessibleChild(javax.swing.JComponent, int) , getAccessibleChildrenCount sample code for javax.swing.plaf.ComponentUI.getAccessibleChildrenCount(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.getAccessibleChildrenCount(javax.swing.JComponent) , getMaximumSize sample code for javax.swing.plaf.ComponentUI.getMaximumSize(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.getMaximumSize(javax.swing.JComponent) , getMinimumSize sample code for javax.swing.plaf.ComponentUI.getMinimumSize(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.getMinimumSize(javax.swing.JComponent) , getPreferredSize sample code for javax.swing.plaf.ComponentUI.getPreferredSize(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.getPreferredSize(javax.swing.JComponent) , installUI sample code for javax.swing.plaf.ComponentUI.installUI(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.installUI(javax.swing.JComponent) , paint sample code for javax.swing.plaf.ComponentUI.paint(java.awt.Graphics, javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.paint(java.awt.Graphics, javax.swing.JComponent) , uninstallUI sample code for javax.swing.plaf.ComponentUI.uninstallUI(javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.uninstallUI(javax.swing.JComponent) , update sample code for javax.swing.plaf.ComponentUI.update(java.awt.Graphics, javax.swing.JComponent) definition code for javax.swing.plaf.ComponentUI.update(java.awt.Graphics, javax.swing.JComponent)
 
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() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , 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

PopupMenuUI sample code for javax.swing.plaf.PopupMenuUI() definition code for javax.swing.plaf.PopupMenuUI()

public PopupMenuUI()
Method Detail

isPopupTrigger sample code for javax.swing.plaf.PopupMenuUI.isPopupTrigger(java.awt.event.MouseEvent) definition code for javax.swing.plaf.PopupMenuUI.isPopupTrigger(java.awt.event.MouseEvent)

public boolean isPopupTrigger(MouseEvent sample code for java.awt.event.MouseEvent definition code for java.awt.event.MouseEvent  e)
Since:
1.3

getPopup sample code for javax.swing.plaf.PopupMenuUI.getPopup(javax.swing.JPopupMenu, int, int) definition code for javax.swing.plaf.PopupMenuUI.getPopup(javax.swing.JPopupMenu, int, int)

public Popup sample code for javax.swing.Popup definition code for javax.swing.Popup  getPopup(JPopupMenu sample code for javax.swing.JPopupMenu definition code for javax.swing.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
Since:
1.4