Package com.google.gwt.user.client.ui
Class MouseListenerAdapter
java.lang.Object
com.google.gwt.user.client.ui.MouseListenerAdapter
- All Implemented Interfaces:
MouseListener
,EventListener
Deprecated.
An adapter to simplify mouse event listeners that do not need all events
defined on the MouseListener interface.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
onMouseDown
(Widget sender, int x, int y) Deprecated.Fired when the user depresses the mouse button over a widget.void
onMouseEnter
(Widget sender) Deprecated.Fired when the mouse enters a widget's area.void
onMouseLeave
(Widget sender) Deprecated.Fired when the mouse leaves a widget's area.void
onMouseMove
(Widget sender, int x, int y) Deprecated.Fired when the user moves the mouse over a widget.void
Deprecated.Fired when the user releases the mouse button over a widget.
-
Constructor Details
-
MouseListenerAdapter
public MouseListenerAdapter()Deprecated.
-
-
Method Details
-
onMouseDown
Deprecated.Description copied from interface:MouseListener
Fired when the user depresses the mouse button over a widget.- Specified by:
onMouseDown
in interfaceMouseListener
- Parameters:
sender
- the widget sending the eventx
- the x coordinate of the mousey
- the y coordinate of the mouse
-
onMouseEnter
Deprecated.Description copied from interface:MouseListener
Fired when the mouse enters a widget's area.- Specified by:
onMouseEnter
in interfaceMouseListener
- Parameters:
sender
- the widget sending the event
-
onMouseLeave
Deprecated.Description copied from interface:MouseListener
Fired when the mouse leaves a widget's area.- Specified by:
onMouseLeave
in interfaceMouseListener
- Parameters:
sender
- the widget sending the event
-
onMouseMove
Deprecated.Description copied from interface:MouseListener
Fired when the user moves the mouse over a widget.- Specified by:
onMouseMove
in interfaceMouseListener
- Parameters:
sender
- the widget sending the eventx
- the x coordinate of the mousey
- the y coordinate of the mouse
-
onMouseUp
Deprecated.Description copied from interface:MouseListener
Fired when the user releases the mouse button over a widget.- Specified by:
onMouseUp
in interfaceMouseListener
- Parameters:
sender
- the widget sending the eventx
- the x coordinate of the mousey
- the y coordinate of the mouse
-
MouseDownHandler
,MouseUpHandler
,MouseOverHandler
,MouseMoveHandler
, and/orMouseOutHandler
instead