Package ptolemy.plot
Class EditablePlot.EditMouseListener
- java.lang.Object
-
- ptolemy.plot.EditablePlot.EditMouseListener
-
- All Implemented Interfaces:
java.awt.event.MouseListener
,java.util.EventListener
- Enclosing class:
- EditablePlot
public class EditablePlot.EditMouseListener extends java.lang.Object implements java.awt.event.MouseListener
Listen for mouse button events. See the class comment for details.
-
-
Constructor Summary
Constructors Constructor Description EditMouseListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
mouseClicked(java.awt.event.MouseEvent event)
Ignored by this listener.void
mouseEntered(java.awt.event.MouseEvent event)
Ignored by this listener.void
mouseExited(java.awt.event.MouseEvent event)
Ignored by this listener.void
mousePressed(java.awt.event.MouseEvent event)
If the 3rd button is pressed, then start the edit.void
mouseReleased(java.awt.event.MouseEvent event)
If the 3rd button is released, then modify the X and Y coordinates of the edit dataset.
-
-
-
Method Detail
-
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent event)
Ignored by this listener.- Specified by:
mouseClicked
in interfacejava.awt.event.MouseListener
- Parameters:
event
- Ignored.
-
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent event)
Ignored by this listener.- Specified by:
mouseEntered
in interfacejava.awt.event.MouseListener
- Parameters:
event
- Ignored.
-
mouseExited
public void mouseExited(java.awt.event.MouseEvent event)
Ignored by this listener.- Specified by:
mouseExited
in interfacejava.awt.event.MouseListener
- Parameters:
event
- Ignored.
-
mousePressed
public void mousePressed(java.awt.event.MouseEvent event)
If the 3rd button is pressed, then start the edit.- Specified by:
mousePressed
in interfacejava.awt.event.MouseListener
- Parameters:
event
- The event.
-
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent event)
If the 3rd button is released, then modify the X and Y coordinates of the edit dataset.- Specified by:
mouseReleased
in interfacejava.awt.event.MouseListener
- Parameters:
event
- The event.
-
-