com.maryanovsky.gwtutils.client.ui.mouse.gestures.wheelscroll
Class WheelScrollUpEvent
java.lang.Object
com.google.web.bindery.event.shared.Event<H>
com.google.gwt.event.shared.GwtEvent<H>
com.maryanovsky.gwtutils.client.event.SyntheticEvent<H,E>
com.maryanovsky.gwtutils.client.ui.mouse.gestures.SyntheticMouseGestureEvent<WheelScrollUpHandler,MouseWheelEvent>
com.maryanovsky.gwtutils.client.ui.mouse.gestures.wheelscroll.WheelScrollUpEvent
public class WheelScrollUpEvent
- extends SyntheticMouseGestureEvent<WheelScrollUpHandler,MouseWheelEvent>
Represents a mouse wheel scroll-up event.
- Author:
- Maryanovsky Alexander
Methods inherited from class com.google.web.bindery.event.shared.Event |
setSource, toDebugString, toString |
WheelScrollUpEvent
public WheelScrollUpEvent(MouseWheelEvent evt,
PointView location)
- Creates a new
WheelScrollUpEvent
from the source
MouseWheelEvent
and location of the mouse.
- Parameters:
evt
- The MouseWheelEvent
that triggered this event.location
- The location of the mouse, in the target element's
coordinate system.
getLocation
public PointView getLocation()
- Returns the location of the mouse, in the target element's coordinate
system.
getType
public static GwtEvent.Type<WheelScrollUpHandler> getType()
- Returns the event type associated with mouse wheel scroll-up events.
getAssociatedType
public GwtEvent.Type<WheelScrollUpHandler> getAssociatedType()
- Returns the event type associated with mouse wheel scroll-up events.
- Overrides:
getAssociatedType
in class GwtEvent<WheelScrollUpHandler>
dispatch
protected void dispatch(WheelScrollUpHandler handler)
- Dispatches the event to the handler.
- Specified by:
dispatch
in class GwtEvent<WheelScrollUpHandler>