| Package | Description |
|---|---|
| javax.swing |
Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
|
| javax.swing.plaf |
Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities.
|
| javax.swing.plaf.basic |
Provides user interface objects built according to the Basic look and feel.
|
| javax.swing.plaf.metal |
Provides user interface objects built according to the Java look and feel (once codenamed
Metal), which is the default look and feel.
|
| javax.swing.plaf.multi |
Provides user interface objects that combine two or more look and feels.
|
| Modifier and Type | Method and Description |
|---|---|
JPopupMenu |
JComponent.getComponentPopupMenu()
Returns
JPopupMenu that assigned for this component.
|
JPopupMenu |
JMenu.getPopupMenu()
Returns the popupmenu associated with this menu.
|
| Modifier and Type | Method and Description |
|---|---|
protected JMenu |
JMenu.createWinListener(JPopupMenu
Creates a window-closing listener for the popup.
|
void |
JComponent.setComponentPopupMenu(JPopupMenu
Sets the
JPopupMenu for this
JComponent.
|
| Constructor and Description | |
|---|---|
WinListener(JPopupMenu
Create the window listener for the specified popup.
|
| Modifier and Type | Method and Description |
|---|---|
Popup |
PopupMenuUI.getPopup(JPopupMenu
Returns the
Popup that will be responsible for displaying the
JPopupMenu.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BasicComboPopup
This is a basic implementation of the
ComboPopup interface.
|
| Modifier and Type | Field and Description |
|---|---|
protected JPopupMenu |
BasicPopupMenuUI.popupMenu
|
| Modifier and Type | Class and Description |
|---|---|
class |
MetalComboBoxUI
Deprecated.
As of Java 2 platform v1.4.
|
| Modifier and Type | Method and Description |
|---|---|
Popup |
MultiPopupMenuUI.getPopup(JPopupMenu
Invokes the
getPopup method on each UI handled by this object.
|