public static class Window.ScrollEvent extends GwtEvent<Window.ScrollHandler>
GwtEvent.Type<H>
Modifier and Type | Field and Description |
---|---|
(package private) static GwtEvent.Type<Window.ScrollHandler> |
TYPE
The event type.
|
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(Window.ScrollHandler handler)
Should only be called by
HandlerManager . |
GwtEvent.Type<Window.ScrollHandler> |
getAssociatedType()
Returns the
Event.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class. |
int |
getScrollLeft()
Gets the window's scroll left.
|
int |
getScrollTop()
Get the window's scroll top.
|
(package private) static GwtEvent.Type<Window.ScrollHandler> |
getType() |
assertLive, getSource, isLive, kill, revive
setSource, toDebugString, toString
static final GwtEvent.Type<Window.ScrollHandler> TYPE
static GwtEvent.Type<Window.ScrollHandler> getType()
public final GwtEvent.Type<Window.ScrollHandler> getAssociatedType()
Event
Event.Type
used to register this event, allowing an
EventBus
to find handlers of the appropriate class.getAssociatedType
in class GwtEvent<Window.ScrollHandler>
public int getScrollLeft()
public int getScrollTop()
protected void dispatch(Window.ScrollHandler handler)
GwtEvent
HandlerManager
. In other words, do not use
or call.dispatch
in class GwtEvent<Window.ScrollHandler>
handler
- handlerEventBus.dispatchEvent(Event, Object)