public class

MouseListenerAdapter

extends Object
implements MouseListener
java.lang.Object
   ↳ com.google.gwt.user.client.ui.MouseListenerAdapter

This class is deprecated.
use MouseDownHandler, MouseUpHandler, MouseOverHandler, MouseMoveHandler, and/or MouseOutHandler instead

Class Overview

An adapter to simplify mouse event listeners that do not need all events defined on the MouseListener interface.

Summary

Public Constructors
MouseListenerAdapter()
Public Methods
void onMouseDown(Widget sender, int x, int y)
Fired when the user depresses the mouse button over a widget.
void onMouseEnter(Widget sender)
Fired when the mouse enters a widget's area.
void onMouseLeave(Widget sender)
Fired when the mouse leaves a widget's area.
void onMouseMove(Widget sender, int x, int y)
Fired when the user moves the mouse over a widget.
void onMouseUp(Widget sender, int x, int y)
Fired when the user releases the mouse button over a widget.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.google.gwt.user.client.ui.MouseListener

Public Constructors

public MouseListenerAdapter ()

Public Methods

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

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 void onMouseEnter (Widget sender)

Fired when the mouse enters a widget's area.

Parameters
sender the widget sending the event

public void onMouseLeave (Widget sender)

Fired when the mouse leaves a widget's area.

Parameters
sender the widget sending the event

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

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 void onMouseUp (Widget sender, int x, int y)

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