|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContextMenuListener
The ContextMenuListener allows implementors to add their own menu items to the context menu associated with this listener.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |