Package com.google.gwt.user.client.ui
Class MouseListenerAdapter
- java.lang.Object
-
- com.google.gwt.user.client.ui.MouseListenerAdapter
-
- All Implemented Interfaces:
MouseListener,java.util.EventListener
@Deprecated public class MouseListenerAdapter extends java.lang.Object implements MouseListener
Deprecated.useMouseDownHandler,MouseUpHandler,MouseOverHandler,MouseMoveHandler, and/orMouseOutHandlerinsteadAn adapter to simplify mouse event listeners that do not need all events defined on the MouseListener interface.
-
-
Constructor Summary
Constructors Constructor Description MouseListenerAdapter()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidonMouseDown(Widget sender, int x, int y)Deprecated.Fired when the user depresses the mouse button over a widget.voidonMouseEnter(Widget sender)Deprecated.Fired when the mouse enters a widget's area.voidonMouseLeave(Widget sender)Deprecated.Fired when the mouse leaves a widget's area.voidonMouseMove(Widget sender, int x, int y)Deprecated.Fired when the user moves the mouse over a widget.voidonMouseUp(Widget sender, int x, int y)Deprecated.Fired when the user releases the mouse button over a widget.
-
-
-
Method Detail
-
onMouseDown
public void onMouseDown(Widget sender, int x, int y)
Deprecated.Description copied from interface:MouseListenerFired when the user depresses the mouse button over a widget.- Specified by:
onMouseDownin interfaceMouseListener- Parameters:
sender- the widget sending the eventx- the x coordinate of the mousey- the y coordinate of the mouse
-
onMouseEnter
public void onMouseEnter(Widget sender)
Deprecated.Description copied from interface:MouseListenerFired when the mouse enters a widget's area.- Specified by:
onMouseEnterin interfaceMouseListener- Parameters:
sender- the widget sending the event
-
onMouseLeave
public void onMouseLeave(Widget sender)
Deprecated.Description copied from interface:MouseListenerFired when the mouse leaves a widget's area.- Specified by:
onMouseLeavein interfaceMouseListener- Parameters:
sender- the widget sending the event
-
onMouseMove
public void onMouseMove(Widget sender, int x, int y)
Deprecated.Description copied from interface:MouseListenerFired when the user moves the mouse over a widget.- Specified by:
onMouseMovein interfaceMouseListener- Parameters:
sender- the widget sending the eventx- the x coordinate of the mousey- the y coordinate of the mouse
-
onMouseUp
public void onMouseUp(Widget sender, int x, int y)
Deprecated.Description copied from interface:MouseListenerFired when the user releases the mouse button over a widget.- Specified by:
onMouseUpin interfaceMouseListener- Parameters:
sender- the widget sending the eventx- the x coordinate of the mousey- the y coordinate of the mouse
-
-