Package ptolemy.plot

Class PlotBox.MoveListener

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

    public class PlotBox.MoveListener
    extends java.lang.Object
    implements java.awt.event.MouseListener
    Move the items in the plot.
    • Constructor Summary

      Constructors 
      Constructor Description
      MoveListener()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void mouseClicked​(java.awt.event.MouseEvent event)
      Ignored.
      void mouseEntered​(java.awt.event.MouseEvent event)
      Ignored.
      void mouseExited​(java.awt.event.MouseEvent event)
      Ignored.
      void mousePressed​(java.awt.event.MouseEvent event)
      If the third button is pressed, then save the X and Y values.
      void mouseReleased​(java.awt.event.MouseEvent event)
      Note that the moving has stopped.
      • Methods inherited from class java.lang.Object

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

      • MoveListener

        public MoveListener()
    • Method Detail

      • mouseClicked

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

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

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

        public void mousePressed​(java.awt.event.MouseEvent event)
        If the third button is pressed, then save the X and Y values.
        Specified by:
        mousePressed in interface java.awt.event.MouseListener
        Parameters:
        event - The event
      • mouseReleased

        public void mouseReleased​(java.awt.event.MouseEvent event)
        Note that the moving has stopped.
        Specified by:
        mouseReleased in interface java.awt.event.MouseListener
        Parameters:
        event - Ignored.