Top Description Methods
javax.swing.event

public Interface PopupMenuListener

extends EventListener
Known Direct Implementers
javax.swing.plaf.basic.BasicPopupMenuUI.BasicPopupMenuListener, javax.swing.plaf.synth.SynthComboBoxUI.ButtonHandler, sun.print.ServiceDialog.PrintServicePanel, javax.swing.JComboBox.AccessibleJComboBox.AccessibleJComboBoxPopupMenuListener
Imports
java.util.EventListener

A popup menu listener
Author
Arnaud Weber

Method Summary

Modifier and TypeMethod and Description
public void
popupMenuCanceled(PopupMenuEvent
a PopupMenuEvent containing the source of the event
e
)

This method is called when the popup menu is canceled

public void
popupMenuWillBecomeInvisible(PopupMenuEvent
a PopupMenuEvent containing the source of the event
e
)

This method is called before the popup menu becomes invisible Note that a JPopupMenu can become invisible any time

public void
popupMenuWillBecomeVisible(PopupMenuEvent
a PopupMenuEvent containing the source of the event
e
)

This method is called before the popup menu becomes visible

Method Detail

popupMenuCanceledback to summary
public void popupMenuCanceled(PopupMenuEvent e)

This method is called when the popup menu is canceled

Parameters
e:PopupMenuEvent

a PopupMenuEvent containing the source of the event

popupMenuWillBecomeInvisibleback to summary
public void popupMenuWillBecomeInvisible(PopupMenuEvent e)

This method is called before the popup menu becomes invisible Note that a JPopupMenu can become invisible any time

Parameters
e:PopupMenuEvent

a PopupMenuEvent containing the source of the event

popupMenuWillBecomeVisibleback to summary
public void popupMenuWillBecomeVisible(PopupMenuEvent e)

This method is called before the popup menu becomes visible

Parameters
e:PopupMenuEvent

a PopupMenuEvent containing the source of the event