Packages
 In this topic

*Methods

 

Packages   PreviousThis PackageNext
Package com.ms.ui.event   Previous This
Package
Next

 


Class UIMouseMotionAdapter

public abstract class UIMouseMotionAdapter implements 
            IUIMouseMotionListener
{
  // Methods
  public void mouseDragged(UIMouseEvent e);
  public void mouseMoved(UIMouseEvent e);
}

This abstract class functions as a MouseMotion Listener.

Methods

mouseDragged

public void mouseDragged(UIMouseEvent e);

Invoked when a mouse button is pressed on a component, and then dragged. Mouse drag events will continue to be delivered to the component where the first event originated until the mouse button is released (regardless of whether the mouse position is within the bounds of the component).

Return Value:

No return value.

ParameterDescription
e The MOUSE_DRAGGED event that was posted.

mouseMoved

public void mouseMoved(UIMouseEvent e);

Invoked when the mouse button has been moved on a component (with no buttons pressed).

Return Value:

No return value.

ParameterDescription
e The MOUSE_MOVED event that was posted.

upnrm.gif © 1998 Microsoft Corporation. All rights reserved. Terms of use.