|
Java™ Platform Standard Ed. 6 |
|||||||||
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, getBaseline, getBaselineResizeBehavior, 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.
|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
Scripting on this page tracks web page traffic, but does not change the content in any way.