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.MouseListenerMove the items in the plot.
-
-
Constructor Summary
Constructors Constructor Description MoveListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidmouseClicked(java.awt.event.MouseEvent event)Ignored.voidmouseEntered(java.awt.event.MouseEvent event)Ignored.voidmouseExited(java.awt.event.MouseEvent event)Ignored.voidmousePressed(java.awt.event.MouseEvent event)If the third button is pressed, then save the X and Y values.voidmouseReleased(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:
mouseClickedin interfacejava.awt.event.MouseListener- Parameters:
event- Ignored.
-
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent event)
Ignored.- Specified by:
mouseEnteredin interfacejava.awt.event.MouseListener- Parameters:
event- Ignored.
-
mouseExited
public void mouseExited(java.awt.event.MouseEvent event)
Ignored.- Specified by:
mouseExitedin 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:
mousePressedin 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:
mouseReleasedin interfacejava.awt.event.MouseListener- Parameters:
event- Ignored.
-
-