com.maryanovsky.gwtutils.client.ui.mouse.gestures.wheelscroll
Class WheelScrollDownEvent
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<WheelScrollDownHandler,MouseWheelEvent>
com.maryanovsky.gwtutils.client.ui.mouse.gestures.wheelscroll.WheelScrollDownEvent
public class WheelScrollDownEvent
- extends SyntheticMouseGestureEvent<WheelScrollDownHandler,MouseWheelEvent>
Represents a mouse wheel scroll-down event.
- Author:
- Maryanovsky Alexander
| Methods inherited from class com.google.web.bindery.event.shared.Event |
setSource, toDebugString, toString |
WheelScrollDownEvent
public WheelScrollDownEvent(MouseWheelEvent evt,
PointView location)
- Creates a new
WheelScrollDownEvent 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<WheelScrollDownHandler> getType()
- Returns the event type associated with mouse wheel scroll-down events.
getAssociatedType
public GwtEvent.Type<WheelScrollDownHandler> getAssociatedType()
- Returns the event type associated with mouse wheel scroll-down events.
- Overrides:
getAssociatedType in class GwtEvent<WheelScrollDownHandler>
dispatch
protected void dispatch(WheelScrollDownHandler handler)
- Dispatches the event to the handler.
- Specified by:
dispatch in class GwtEvent<WheelScrollDownHandler>