Package ptolemy.plot

Class PlotBox.ZoomListener

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

    public class PlotBox.ZoomListener
    extends java.lang.Object
    implements java.awt.event.MouseListener
    Handle mouse pressed events to provide zoom functionality.
    • Constructor Summary

      Constructors 
      Constructor Description
      ZoomListener()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void mouseClicked​(java.awt.event.MouseEvent event)
      Request the focus.
      void mouseEntered​(java.awt.event.MouseEvent event)
      Ignored.
      void mouseExited​(java.awt.event.MouseEvent event)
      Ignored.
      void mousePressed​(java.awt.event.MouseEvent event)
      Handle mouse button 1 events.
      void mouseReleased​(java.awt.event.MouseEvent event)
      Handle mouse button 1 events.
      • Methods inherited from class java.lang.Object

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

      • ZoomListener

        public ZoomListener()
    • Method Detail

      • mouseClicked

        public void mouseClicked​(java.awt.event.MouseEvent event)
        Request the focus.
        Specified by:
        mouseClicked in interface java.awt.event.MouseListener
        Parameters:
        event - The event, ignored by this method.
      • mouseEntered

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

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

        public void mousePressed​(java.awt.event.MouseEvent event)
        Handle mouse button 1 events. See the class comment for details.
        Specified by:
        mousePressed in interface java.awt.event.MouseListener
        Parameters:
        event - The event.
      • mouseReleased

        public void mouseReleased​(java.awt.event.MouseEvent event)
        Handle mouse button 1 events. See the class comment for details.
        Specified by:
        mouseReleased in interface java.awt.event.MouseListener
        Parameters:
        event - The event.