Please note that this translation of the specification is the result of a java.net community project ( https://jdk5-api-pt-br.dev.java.net/ ). The official version of the specification is the US English language version which can be found at http://java.sun.com/j2se/1.5.0/docs/api/. In case of disputes, the authoritative version of the specification is the original, English document.
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.plaf.ComponentUI
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 | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
Copyright 2006 Sun Microsystems, Inc. Todos os direitos reservados. O uso está sujeito aos termos da licensa.