org.knime.base.node.viz.plotter
Class AbstractPlotter.SelectionMouseListener
java.lang.Object
java.awt.event.MouseAdapter
org.knime.base.node.viz.plotter.PlotterMouseListener
org.knime.base.node.viz.plotter.AbstractPlotter.SelectionMouseListener
- All Implemented Interfaces:
- MouseListener, MouseMotionListener, MouseWheelListener, EventListener
- Enclosing class:
- AbstractPlotter
public class AbstractPlotter.SelectionMouseListener
- extends PlotterMouseListener
The selection mouse listener checks the selection status, that is, if the
mouse was dragged, the CTRL key is pressed and so on and calls the
appropriate methods in the AbstractPlotter
. A drawing pane may
be passed in order to let it listen to another drawing pane.
AbstractPlotter.SelectionMouseListener
public AbstractPlotter.SelectionMouseListener()
- Listens to the drawing pane of this plotter.
AbstractPlotter.SelectionMouseListener
public AbstractPlotter.SelectionMouseListener(AbstractDrawingPane pane)
- Parameters:
pane
- the panel the selection listener listenes to.
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
getInternalDrawingPane
public AbstractDrawingPane getInternalDrawingPane()
- Returns:
- the drawing pane this listener listens to.
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.