public abstract class HandlesAllMouseEvents extends Object implements MouseDownHandler, MouseUpHandler, MouseMoveHandler, MouseOutHandler, MouseOverHandler, MouseWheelHandler
Constructor and Description |
---|
HandlesAllMouseEvents()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
handle(HasAllMouseHandlers eventSource)
Convenience method to handle all mouse events from an event source.
|
static <H extends MouseDownHandler & MouseUpHandler & MouseOutHandler & MouseOverHandler & MouseMoveHandler & MouseWheelHandler> |
handle(HasAllMouseHandlers source,
H reciever)
Convenience method used to handle all mouse events from an event source.
|
onMouseDown
onMouseUp
onMouseMove
onMouseOut
onMouseOver
onMouseWheel
public static <H extends MouseDownHandler & MouseUpHandler & MouseOutHandler & MouseOverHandler & MouseMoveHandler & MouseWheelHandler> void handle(HasAllMouseHandlers source, H reciever)
H
- receiver type, must implement all mouse handlerssource
- the event sourcereciever
- the receiver implementing all mouse handlerspublic void handle(HasAllMouseHandlers eventSource)
eventSource
- the event sourceCopyright © 2018. All rights reserved.