Package ptolemy.plot

Class PlotBox.DragListener

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

    public class PlotBox.DragListener
    extends java.lang.Object
    implements java.awt.event.MouseMotionListener
    Draw the zoom box.
    • Constructor Summary

      Constructors 
      Constructor Description
      DragListener()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void mouseDragged​(java.awt.event.MouseEvent event)
      Handle mouse drag events.
      void mouseMoved​(java.awt.event.MouseEvent event)
      Ignored.
      • Methods inherited from class java.lang.Object

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

      • DragListener

        public DragListener()
    • Method Detail

      • mouseDragged

        public void mouseDragged​(java.awt.event.MouseEvent event)
        Handle mouse drag events. See the class comment for details.
        Specified by:
        mouseDragged in interface java.awt.event.MouseMotionListener
        Parameters:
        event - The event.
      • mouseMoved

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