uci.gef
Class ModePopup
java.lang.Object
|
+--uci.gef.Mode
|
+--uci.gef.ModePopup
- public class ModePopup
- extends Mode
A permanent Mode to catch right-mouse-button events and show a
popup menu. Needs-more-work: this is not fully implemented
yet. It should ask the Fig under the mouse what menu it should
offer.
- See Also:
- Serialized Form
| Methods inherited from class uci.gef.Mode |
done,
getArg,
getArgs,
getEditor,
getInitialCursor,
keyPressed,
keyReleased,
keyTyped,
mouseClicked,
mouseDragged,
mouseEntered,
mouseExited,
mouseMoved,
mousePressed,
paint,
print,
setArg,
setArgs,
setCursor,
setEditor,
start |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ModePopup
public ModePopup(Editor par)
canExit
public boolean canExit()
- Always false because I never want to get out of popup mode.
- Overrides:
- canExit in class Mode
instructions
public String instructions()
- Overrides:
- instructions in class Mode
showPopup
public void showPopup(MouseEvent me)
mouseReleased
public void mouseReleased(MouseEvent me)
- Show a popup menu on right-mouse-button up.
- Overrides:
- mouseReleased in class Mode