Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package hu.kazocsaba.imageviewer;
 
Interface for receiving mouse motion events on an image.

Author(s):
Kazó Csaba
 
 public interface ImageMouseMotionListener extends EventListener {
Invoked when the mouse has entered a pixel of an image.

Parameters:
e the event object containing attributes of the event
	public void mouseMoved(ImageMouseEvent e);
Invoked when the mouse has entered the area of an image.

Parameters:
e the event object containing attributes of the event
	public void mouseEntered(ImageMouseEvent e);
Invoked when the mouse has left the area of an image.

Parameters:
e the event object containing attributes of the event
	public void mouseExited(ImageMouseEvent e);
Invoked when the mouse is moved while a button is down. Note that the coordinates for the event can be outside the image bounds.

Parameters:
e the event object containing attributes of the event
	public void mouseDragged(ImageMouseEvent e);
New to GrepCode? Check out our FAQ X