Packages
 In this topic

*Methods

 

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

 


Interface IUIMouseMotionListener

public interface IUIMouseMotionListener extends IUIBaseEventListener
{
  // Methods
  public void mouseDragged(UIMouseEvent e);
  public void mouseMoved(UIMouseEvent e);
}

This listener interface receives mouse motion events on a IUIComponent.

EventListener
  |
  +--IUIBaseEventListener
    |
    +--IUIMouseMotionListener

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 down).

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.