aicas logoJamaica 3.2 release 62

java.awt.event
Interface MouseMotionListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
AWTEventMulticaster, MouseMotionAdapter

public interface MouseMotionListener
extends EventListener

This interface is for classes that wish to be notified of mouse movements. This includes moves and drags, but not crossing component boundaries. To track other mouse events, use MouseListener or MouseWheelListener. To watch a subset of these events, use a MouseMotionAdapter.

Since:
1.1
See Also:
MouseMotionAdapter, MouseEvent
Status:
updated to 1.4

Method Summary
 void mouseDragged(MouseEvent event)
          This method is called when the mouse is moved over a component while a button has been pressed.
 void mouseMoved(MouseEvent event)
          This method is called when the mouse is moved over a component while no button is pressed.
 

Method Detail

mouseDragged

void mouseDragged(MouseEvent event)
This method is called when the mouse is moved over a component while a button has been pressed.

Parameters:
event - the MouseEvent indicating the motion

mouseMoved

void mouseMoved(MouseEvent event)
This method is called when the mouse is moved over a component while no button is pressed.

Parameters:
event - the MouseEvent indicating the motion

aicas logoJamaica 3.2 release 62

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2008 aicas GmbH. All Rights Reserved.