public interface

MouseListener

implements EventListener
com.google.gwt.user.client.ui.MouseListener
Known Indirect Subclasses

This interface is deprecated.
use MouseDownHandler, MouseUpHandler, MouseOverHandler, MouseMoveHandler, and MouseOutHandler instead

Class Overview

Event listener interface for mouse events.

Summary

Public Methods
abstract void onMouseDown(Widget sender, int x, int y)
This method is deprecated. use onMouseDown(com.google.gwt.event.dom.client.MouseDownEvent) instead
abstract void onMouseEnter(Widget sender)
This method is deprecated. use onMouseOver(com.google.gwt.event.dom.client.MouseOverEvent) instead
abstract void onMouseLeave(Widget sender)
This method is deprecated. use onMouseOut(com.google.gwt.event.dom.client.MouseOutEvent) instead
abstract void onMouseMove(Widget sender, int x, int y)
This method is deprecated. use onMouseMove(com.google.gwt.event.dom.client.MouseMoveEvent) instead
abstract void onMouseUp(Widget sender, int x, int y)
This method is deprecated. use onMouseUp(com.google.gwt.event.dom.client.MouseUpEvent) instead

Public Methods

public abstract void onMouseDown (Widget sender, int x, int y)

This method is deprecated.
use onMouseDown(com.google.gwt.event.dom.client.MouseDownEvent) instead

Fired when the user depresses the mouse button over a widget.

Parameters
sender the widget sending the event
x the x coordinate of the mouse
y the y coordinate of the mouse

public abstract void onMouseEnter (Widget sender)

This method is deprecated.
use onMouseOver(com.google.gwt.event.dom.client.MouseOverEvent) instead

Fired when the mouse enters a widget's area.

Parameters
sender the widget sending the event

public abstract void onMouseLeave (Widget sender)

This method is deprecated.
use onMouseOut(com.google.gwt.event.dom.client.MouseOutEvent) instead

Fired when the mouse leaves a widget's area.

Parameters
sender the widget sending the event

public abstract void onMouseMove (Widget sender, int x, int y)

This method is deprecated.
use onMouseMove(com.google.gwt.event.dom.client.MouseMoveEvent) instead

Fired when the user moves the mouse over a widget.

Parameters
sender the widget sending the event
x the x coordinate of the mouse
y the y coordinate of the mouse

public abstract void onMouseUp (Widget sender, int x, int y)

This method is deprecated.
use onMouseUp(com.google.gwt.event.dom.client.MouseUpEvent) instead

Fired when the user releases the mouse button over a widget.

Parameters
sender the widget sending the event
x the x coordinate of the mouse
y the y coordinate of the mouse