Packages
 In this topic

*Methods

 

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

 


Interface IUIMouseListener

public interface IUIMouseListener extends IUIBaseEventListener
{
  // Methods
  public void mouseClicked(UIMouseEvent e);
  public void mouseEntered(UIMouseEvent e);
  public void mouseExited(UIMouseEvent e);
  public void mousePressed(UIMouseEvent e);
  public void mouseReleased(UIMouseEvent e);
}

This listener interface receives mouse events on a IUIComponent.

EventListener
  |
  +--IUIBaseEventListener
    |
    +--IUIMouseListener

Methods

mouseClicked

public void mouseClicked(UIMouseEvent e);

Invoked when the mouse has been clicked on an IUIComponent.

Return Value:

No return value.

ParameterDescription
e The MOUSE_CLICKED mouse button event that was posted.

mouseEntered

public void mouseEntered(UIMouseEvent e);

Invoked when the mouse enters an IUIComponent.

Return Value:

No return value.

ParameterDescription
e The MOUSE_ENTERED event that was posted.

mouseExited

public void mouseExited(UIMouseEvent e);

Invoked when the mouse exits an IUIComponent.

Return Value:

No return value.

ParameterDescription
e The MOUSE_EXITED event that was posted.

mousePressed

public void mousePressed(UIMouseEvent e);

Invoked when a mouse button has been pressed on an IUIComponent.

Return Value:

No return value.

ParameterDescription
e The MOUSE_PRESSED mouse button event that was posted.

mouseReleased

public void mouseReleased(UIMouseEvent e);

Invoked when a mouse button has been released on an IUIComponent.

Return Value:

No return value.

ParameterDescription
e The MOUSE_RELEASED mouse button event that was posted.

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