public static class Window.ScrollEvent extends GwtEvent<Window.ScrollHandler>
GwtEvent.Type<H>
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.
|
assertLive, getSource, isLive, kill, revive
public final GwtEvent.Type<Window.ScrollHandler> getAssociatedType()
com.google.web.bindery.event.shared.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)
Copyright © 2018. All rights reserved.