Package ptolemy.plot
Class PlotBox.MoveListener
- java.lang.Object
-
- ptolemy.plot.PlotBox.MoveListener
-
- All Implemented Interfaces:
java.awt.event.MouseListener
,java.util.EventListener
- Enclosing class:
- PlotBox
public class PlotBox.MoveListener extends java.lang.Object implements java.awt.event.MouseListener
Move the items in the plot.
-
-
Constructor Summary
Constructors Constructor Description MoveListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
mouseClicked(java.awt.event.MouseEvent event)
Ignored.void
mouseEntered(java.awt.event.MouseEvent event)
Ignored.void
mouseExited(java.awt.event.MouseEvent event)
Ignored.void
mousePressed(java.awt.event.MouseEvent event)
If the third button is pressed, then save the X and Y values.void
mouseReleased(java.awt.event.MouseEvent event)
Note that the moving has stopped.
-
-
-
Method Detail
-
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent event)
Ignored.- Specified by:
mouseClicked
in interfacejava.awt.event.MouseListener
- Parameters:
event
- Ignored.
-
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent event)
Ignored.- Specified by:
mouseEntered
in interfacejava.awt.event.MouseListener
- Parameters:
event
- Ignored.
-
mouseExited
public void mouseExited(java.awt.event.MouseEvent event)
Ignored.- Specified by:
mouseExited
in interfacejava.awt.event.MouseListener
- Parameters:
event
- Ignored.
-
mousePressed
public void mousePressed(java.awt.event.MouseEvent event)
If the third button is pressed, then save the X and Y values.- Specified by:
mousePressed
in interfacejava.awt.event.MouseListener
- Parameters:
event
- The event
-
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent event)
Note that the moving has stopped.- Specified by:
mouseReleased
in interfacejava.awt.event.MouseListener
- Parameters:
event
- Ignored.
-
-