MouseDownHandler
,
MouseUpHandler
,
MouseOverHandler
,
MouseMoveHandler
, and/or
MouseOutHandler
instead@Deprecated public class MouseListenerAdapter extends Object implements MouseListener
Constructor and Description |
---|
MouseListenerAdapter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
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 |
onMouseUp(Widget sender,
int x,
int y)
Deprecated.
Fired when the user releases the mouse button over a widget.
|
public void onMouseDown(Widget sender, int x, int y)
MouseListener
onMouseDown
in interface MouseListener
sender
- the widget sending the eventx
- the x coordinate of the mousey
- the y coordinate of the mousepublic void onMouseEnter(Widget sender)
MouseListener
onMouseEnter
in interface MouseListener
sender
- the widget sending the eventpublic void onMouseLeave(Widget sender)
MouseListener
onMouseLeave
in interface MouseListener
sender
- the widget sending the eventpublic void onMouseMove(Widget sender, int x, int y)
MouseListener
onMouseMove
in interface MouseListener
sender
- the widget sending the eventx
- the x coordinate of the mousey
- the y coordinate of the mousepublic void onMouseUp(Widget sender, int x, int y)
MouseListener
onMouseUp
in interface MouseListener
sender
- the widget sending the eventx
- the x coordinate of the mousey
- the y coordinate of the mouseCopyright © 2016. All rights reserved.