public abstract class SimpleContextMenuMouseAdapter
extends java.awt.event.MouseAdapter
Constructor and Description |
---|
SimpleContextMenuMouseAdapter() |
SimpleContextMenuMouseAdapter(javax.swing.JPopupMenu menu) |
Modifier and Type | Method and Description |
---|---|
javax.swing.JPopupMenu |
getMenu(java.awt.event.MouseEvent e) |
void |
mousePressed(java.awt.event.MouseEvent e) |
void |
setMenu(javax.swing.JPopupMenu menu) |
public SimpleContextMenuMouseAdapter()
public SimpleContextMenuMouseAdapter(javax.swing.JPopupMenu menu)
public void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
mousePressed
in class java.awt.event.MouseAdapter
public void setMenu(javax.swing.JPopupMenu menu)
public javax.swing.JPopupMenu getMenu(java.awt.event.MouseEvent e)