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.MouseListenerListen 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 voidmouseClicked(java.awt.event.MouseEvent event)Ignored by this listener.voidmouseEntered(java.awt.event.MouseEvent event)Ignored by this listener.voidmouseExited(java.awt.event.MouseEvent event)Ignored by this listener.voidmousePressed(java.awt.event.MouseEvent event)If the 3rd button is pressed, then start the edit.voidmouseReleased(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:
mouseClickedin interfacejava.awt.event.MouseListener- Parameters:
event- Ignored.
-
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent event)
Ignored by this listener.- Specified by:
mouseEnteredin interfacejava.awt.event.MouseListener- Parameters:
event- Ignored.
-
mouseExited
public void mouseExited(java.awt.event.MouseEvent event)
Ignored by this listener.- Specified by:
mouseExitedin 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:
mousePressedin 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:
mouseReleasedin interfacejava.awt.event.MouseListener- Parameters:
event- The event.
-
-