show
Class GridDisplay.MouseCoordinateReader

java.lang.Object
  |
  +--java.awt.event.MouseAdapter
        |
        +--show.GridDisplay.MouseCoordinateReader
All Implemented Interfaces:
java.util.EventListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener
Enclosing class:
GridDisplay

public class GridDisplay.MouseCoordinateReader
extends java.awt.event.MouseAdapter
implements java.awt.event.MouseMotionListener

an inner class to read out mouse coordinates and calculate the corresponding values


Constructor Summary
GridDisplay.MouseCoordinateReader()
           
 
Method Summary
 void mouseDragged(java.awt.event.MouseEvent e)
           
 void mouseMoved(java.awt.event.MouseEvent e)
           
 void mousePressed(java.awt.event.MouseEvent e)
           
 void mouseReleased(java.awt.event.MouseEvent e)
           
 
Methods inherited from class java.awt.event.MouseAdapter
mouseClicked, mouseEntered, mouseExited
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridDisplay.MouseCoordinateReader

public GridDisplay.MouseCoordinateReader()
Method Detail

mouseMoved

public void mouseMoved(java.awt.event.MouseEvent e)
Specified by:
mouseMoved in interface java.awt.event.MouseMotionListener

mousePressed

public void mousePressed(java.awt.event.MouseEvent e)
Overrides:
mousePressed in class java.awt.event.MouseAdapter

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent e)
Specified by:
mouseDragged in interface java.awt.event.MouseMotionListener

mouseReleased

public void mouseReleased(java.awt.event.MouseEvent e)
Overrides:
mouseReleased in class java.awt.event.MouseAdapter