|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object extended by javax.swing.plaf.ComponentUI extended by javax.swing.plaf.PopupMenuUI
public abstract class PopupMenuUI
Pluggable look and feel interface for JPopupMenu.
Constructor Summary | |
---|---|
PopupMenuUI()
|
Method Summary | |
---|---|
Popup |
getPopup(JPopupMenu popup,
int x,
int y)
Returns the Popup that will be responsible for
displaying the JPopupMenu . |
boolean |
isPopupTrigger(MouseEvent e)
|
Methods inherited from class javax.swing.plaf.ComponentUI |
---|
contains, createUI, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PopupMenuUI()
Method Detail |
---|
public boolean isPopupTrigger(MouseEvent e)
public 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.
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2004, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.