Package ptolemy.plot

Class 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.
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EditMouseListener

        public EditMouseListener()
    • Method Detail

      • mouseClicked

        public void mouseClicked​(java.awt.event.MouseEvent event)
        Ignored by this listener.
        Specified by:
        mouseClicked in interface java.awt.event.MouseListener
        Parameters:
        event - Ignored.
      • mouseEntered

        public void mouseEntered​(java.awt.event.MouseEvent event)
        Ignored by this listener.
        Specified by:
        mouseEntered in interface java.awt.event.MouseListener
        Parameters:
        event - Ignored.
      • mouseExited

        public void mouseExited​(java.awt.event.MouseEvent event)
        Ignored by this listener.
        Specified by:
        mouseExited in interface java.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 interface java.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 interface java.awt.event.MouseListener
        Parameters:
        event - The event.