Package ptolemy.plot
Class PlotBox.ZoomListener
- java.lang.Object
-
- ptolemy.plot.PlotBox.ZoomListener
-
- All Implemented Interfaces:
java.awt.event.MouseListener
,java.util.EventListener
- Enclosing class:
- PlotBox
public class PlotBox.ZoomListener extends java.lang.Object implements java.awt.event.MouseListener
Handle mouse pressed events to provide zoom functionality.
-
-
Constructor Summary
Constructors Constructor Description ZoomListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
mouseClicked(java.awt.event.MouseEvent event)
Request the focus.void
mouseEntered(java.awt.event.MouseEvent event)
Ignored.void
mouseExited(java.awt.event.MouseEvent event)
Ignored.void
mousePressed(java.awt.event.MouseEvent event)
Handle mouse button 1 events.void
mouseReleased(java.awt.event.MouseEvent event)
Handle mouse button 1 events.
-
-
-
Method Detail
-
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent event)
Request the focus.- Specified by:
mouseClicked
in interfacejava.awt.event.MouseListener
- Parameters:
event
- The event, ignored by this method.
-
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent event)
Ignored.- Specified by:
mouseEntered
in interfacejava.awt.event.MouseListener
- Parameters:
event
- The event, ignored by this method.
-
mouseExited
public void mouseExited(java.awt.event.MouseEvent event)
Ignored.- Specified by:
mouseExited
in interfacejava.awt.event.MouseListener
- Parameters:
event
- The event, ignored by this method.
-
mousePressed
public void mousePressed(java.awt.event.MouseEvent event)
Handle mouse button 1 events. See the class comment for details.- Specified by:
mousePressed
in interfacejava.awt.event.MouseListener
- Parameters:
event
- The event.
-
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent event)
Handle mouse button 1 events. See the class comment for details.- Specified by:
mouseReleased
in interfacejava.awt.event.MouseListener
- Parameters:
event
- The event.
-
-