Package ptolemy.plot
Class EditablePlot.ModifyListener
- java.lang.Object
-
- ptolemy.plot.EditablePlot.ModifyListener
-
- All Implemented Interfaces:
java.awt.event.MouseMotionListener
,java.util.EventListener
- Enclosing class:
- EditablePlot
public class EditablePlot.ModifyListener extends java.lang.Object implements java.awt.event.MouseMotionListener
Listen for mouse motion events. See the class comment for details.
-
-
Constructor Summary
Constructors Constructor Description ModifyListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
mouseDragged(java.awt.event.MouseEvent event)
If the mouse is dragged and the 3rd button is pressed, then make a record of a new edit point.void
mouseMoved(java.awt.event.MouseEvent event)
Ignored by this listener.
-
-
-
Method Detail
-
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent event)
If the mouse is dragged and the 3rd button is pressed, then make a record of a new edit point.- Specified by:
mouseDragged
in interfacejava.awt.event.MouseMotionListener
- Parameters:
event
- The event.
-
mouseMoved
public void mouseMoved(java.awt.event.MouseEvent event)
Ignored by this listener.- Specified by:
mouseMoved
in interfacejava.awt.event.MouseMotionListener
- Parameters:
event
- Ignored.
-
-