Uses of Interface
javax.swing.event.PopupMenuListener
| 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.
|
-
Uses of PopupMenuListener in javax.swing
Methods in javax.swing that return PopupMenuListener Modifier and Type Method Description PopupMenuListener[]JComboBox. getPopupMenuListeners()Returns an array of all thePopupMenuListeners added to this JComboBox with addPopupMenuListener().PopupMenuListener[]JPopupMenu. getPopupMenuListeners()Returns an array of all thePopupMenuListeners added to this JMenuItem with addPopupMenuListener().Methods in javax.swing with parameters of type PopupMenuListener Modifier and Type Method Description voidJComboBox. addPopupMenuListener(PopupMenuListener l)Adds aPopupMenulistener which will listen to notification messages from the popup portion of the combo box.voidJPopupMenu. addPopupMenuListener(PopupMenuListener l)Adds aPopupMenulistener.voidJComboBox. removePopupMenuListener(PopupMenuListener l)Removes aPopupMenuListener.voidJPopupMenu. removePopupMenuListener(PopupMenuListener l)Removes aPopupMenulistener.