Package ptolemy.plot

Class EditablePlot.ModifyListener

  • All Implemented Interfaces:
    java.awt.event.MouseMotionListener, java.util.EventListener
    Enclosing class:
    EditablePlot

    public class EditablePlot.ModifyListener
    extends java.lang.Object
    implements java.awt.event.MouseMotionListener
    Listen for mouse motion events. See the class comment for details.
    • Constructor Summary

      Constructors 
      Constructor Description
      ModifyListener()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void mouseDragged​(java.awt.event.MouseEvent event)
      If the mouse is dragged and the 3rd button is pressed, then make a record of a new edit point.
      void mouseMoved​(java.awt.event.MouseEvent event)
      Ignored by this listener.
      • Methods inherited from class java.lang.Object

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

      • ModifyListener

        public ModifyListener()
    • Method Detail

      • mouseDragged

        public void mouseDragged​(java.awt.event.MouseEvent event)
        If the mouse is dragged and the 3rd button is pressed, then make a record of a new edit point.
        Specified by:
        mouseDragged in interface java.awt.event.MouseMotionListener
        Parameters:
        event - The event.
      • mouseMoved

        public void mouseMoved​(java.awt.event.MouseEvent event)
        Ignored by this listener.
        Specified by:
        mouseMoved in interface java.awt.event.MouseMotionListener
        Parameters:
        event - Ignored.