public class GridAppFrame.DisplayMouseListener
extends java.awt.event.MouseAdapter
Constructor and Description |
---|
DisplayMouseListener() |
Modifier and Type | Method and Description |
---|---|
Location |
getMouseLocation(java.awt.event.MouseEvent evt)
Returns the Location in the grid corresponding to the location
of the mouse event.
|
void |
mouseClicked(java.awt.event.MouseEvent evt) |
void |
mousePressed(java.awt.event.MouseEvent evt) |
void |
mouseReleased(java.awt.event.MouseEvent evt) |
public void mouseClicked(java.awt.event.MouseEvent evt)
mouseClicked
in interface java.awt.event.MouseListener
mouseClicked
in class java.awt.event.MouseAdapter
public void mousePressed(java.awt.event.MouseEvent evt)
mousePressed
in interface java.awt.event.MouseListener
mousePressed
in class java.awt.event.MouseAdapter
public void mouseReleased(java.awt.event.MouseEvent evt)
mouseReleased
in interface java.awt.event.MouseListener
mouseReleased
in class java.awt.event.MouseAdapter
public Location getMouseLocation(java.awt.event.MouseEvent evt)