This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
javax.swing.plaf
class PopupMenuUI
- Direct Known Subclasses:
- BasicPopupMenuUI, MultiPopupMenuUI
public abstract class PopupMenuUI
extends ComponentUI
Pluggable look and feel interface for JPopupMenu.
Method Summary |
Popup |
Returns the Popup that will be responsible for
displaying the JPopupMenu .
|
boolean |
|
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 |
PopupMenuUI
public PopupMenuUI()
-
getPopup
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
isPopupTrigger
public boolean isPopupTrigger(MouseEvent e)
-
- Parameters:
e
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.