public interface ContextMenuListener
Modifier and Type | Method and Description |
---|---|
boolean |
handleDefaultAction(java.awt.event.MouseEvent e)
Called when the user double clicks on an item that has a popup menu.
|
void |
poppingDown(javax.swing.JPopupMenu popup)
Called just before the context menu closed.
|
void |
poppingUp(java.lang.Object object,
javax.swing.JPopupMenu popup)
Called just before the context menu is popping up.
|
void poppingUp(java.lang.Object object, javax.swing.JPopupMenu popup)
object
- the object the event was fired for.popup
- the PopupMenu to be displayed.void poppingDown(javax.swing.JPopupMenu popup)
popup
- the popup menu in the process of closing.boolean handleDefaultAction(java.awt.event.MouseEvent e)
e
- the current mouse event