Package ptolemy.plot
Class PlotBox.DragListener
- java.lang.Object
-
- ptolemy.plot.PlotBox.DragListener
-
- All Implemented Interfaces:
java.awt.event.MouseMotionListener
,java.util.EventListener
- Enclosing class:
- PlotBox
public class PlotBox.DragListener extends java.lang.Object implements java.awt.event.MouseMotionListener
Draw the zoom box.
-
-
Constructor Summary
Constructors Constructor Description DragListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
mouseDragged(java.awt.event.MouseEvent event)
Handle mouse drag events.void
mouseMoved(java.awt.event.MouseEvent event)
Ignored.
-
-
-
Method Detail
-
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent event)
Handle mouse drag events. See the class comment for details.- Specified by:
mouseDragged
in interfacejava.awt.event.MouseMotionListener
- Parameters:
event
- The event.
-
mouseMoved
public void mouseMoved(java.awt.event.MouseEvent event)
Ignored.- Specified by:
mouseMoved
in interfacejava.awt.event.MouseMotionListener
- Parameters:
event
- The event, ignored by this method.
-
-