org.knime.base.node.viz.plotter
Class AbstractPlotter.ZoomMouseListener

java.lang.Object
  extended by java.awt.event.MouseAdapter
      extended by org.knime.base.node.viz.plotter.PlotterMouseListener
          extended by org.knime.base.node.viz.plotter.AbstractPlotter.ZoomMouseListener
All Implemented Interfaces:
MouseListener, MouseMotionListener, MouseWheelListener, EventListener
Enclosing class:
AbstractPlotter

public class AbstractPlotter.ZoomMouseListener
extends PlotterMouseListener

Realizes the zooming behaviour, when the mouse is clicked it calls the AbstractPlotter.zoomByClick(Point), when the mouse is dragged the AbstractPlotter.zoomByWindow(Rectangle) is called.

Author:
Fabian Dill, University of Konstanz

Constructor Summary
AbstractPlotter.ZoomMouseListener()
           
 
Method Summary
 Cursor getCursor()
          
 void mouseDragged(MouseEvent e)
          
 void mousePressed(MouseEvent e)
          
 void mouseReleased(MouseEvent e)
          
 String toString()
          
 
Methods inherited from class org.knime.base.node.viz.plotter.PlotterMouseListener
mouseMoved
 
Methods inherited from class java.awt.event.MouseAdapter
mouseClicked, mouseEntered, mouseExited, mouseWheelMoved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractPlotter.ZoomMouseListener

public AbstractPlotter.ZoomMouseListener()
Method Detail

mousePressed

public void mousePressed(MouseEvent e)

Specified by:
mousePressed in interface MouseListener
Overrides:
mousePressed in class MouseAdapter

mouseReleased

public void mouseReleased(MouseEvent e)

Specified by:
mouseReleased in interface MouseListener
Overrides:
mouseReleased in class MouseAdapter

mouseDragged

public void mouseDragged(MouseEvent e)

Specified by:
mouseDragged in interface MouseMotionListener
Overrides:
mouseDragged in class PlotterMouseListener

getCursor

public Cursor getCursor()

Overrides:
getCursor in class PlotterMouseListener
Returns:
the default cursor for this mouse listener.

toString

public String toString()

Overrides:
toString in class Object


Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.