|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensourcephysics.sip.ch05.MouseApp
public class MouseApp
MouseApp demonstrates how to handle actions from an interactive drawing panel.
Constructor Summary | |
---|---|
MouseApp()
Constructs the MouseApp. |
Method Summary | |
---|---|
void |
handleMouseAction(InteractivePanel panel,
java.awt.event.MouseEvent evt)
Handles mouse actions in the plot frame. |
static void |
main(java.lang.String[] args)
Starts the program. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MouseApp()
Method Detail |
---|
public void handleMouseAction(InteractivePanel panel, java.awt.event.MouseEvent evt)
handleMouseAction
in interface InteractiveMouseHandler
panel
- evt
- public static void main(java.lang.String[] args)
args
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |