|
|||||||||
| Home >> All >> [ example overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
example
Class MyCode.PopupAdapter

java.lang.Objectjava.awt.event.MouseAdapter
example.MyCode.PopupAdapter
- All Implemented Interfaces:
- java.util.EventListener, java.awt.event.MouseListener
- Enclosing class:
- MyCode
- private static class MyCode.PopupAdapter
- extends java.awt.event.MouseAdapter
| Field Summary | |
private javax.swing.JPopupMenu |
cachedMenu
|
private boolean |
dynamic
|
private int |
invokes
|
| Constructor Summary | |
MyCode.PopupAdapter(boolean dynamic)
|
|
| Method Summary | |
private javax.swing.JPopupMenu |
getPopupMenu()
|
private void |
maybePopup(java.awt.event.MouseEvent ev)
|
void |
mouseClicked(java.awt.event.MouseEvent ev)
And just in case... |
void |
mousePressed(java.awt.event.MouseEvent ev)
Some platforms popup here... |
void |
mouseReleased(java.awt.event.MouseEvent ev)
And some platforms popup here... |
| Methods inherited from class java.awt.event.MouseAdapter |
mouseEntered, mouseExited |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
dynamic
private boolean dynamic
cachedMenu
private javax.swing.JPopupMenu cachedMenu
invokes
private int invokes
| Constructor Detail |
MyCode.PopupAdapter
public MyCode.PopupAdapter(boolean dynamic)
| Method Detail |
mousePressed
public void mousePressed(java.awt.event.MouseEvent ev)
- Some platforms popup here...
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent ev)
- And some platforms popup here...
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent ev)
- And just in case...
maybePopup
private void maybePopup(java.awt.event.MouseEvent ev)
getPopupMenu
private javax.swing.JPopupMenu getPopupMenu()
|
|||||||||
| Home >> All >> [ example overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC