|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.ui.MouseListenerAdapter
An adapter to simplify mouse event listeners that do not need all events defined on the MouseListener interface.
| Constructor Summary | |
MouseListenerAdapter()
|
|
| Method Summary | |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MouseListenerAdapter()
| Method Detail |
public void onMouseDown(Widget sender,
int x,
int y)
MouseListener
onMouseDown in interface MouseListenersender - 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 MouseListenersender - the widget sending the eventpublic void onMouseLeave(Widget sender)
MouseListener
onMouseLeave in interface MouseListenersender - the widget sending the event
public void onMouseMove(Widget sender,
int x,
int y)
MouseListener
onMouseMove in interface MouseListenersender - the widget sending the eventx - the x coordinate of the mousey - the y coordinate of the mouse
public void onMouseUp(Widget sender,
int x,
int y)
MouseListener
onMouseUp in interface MouseListenersender - the widget sending the eventx - the x coordinate of the mousey - the y coordinate of the mouse
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||