public class MouseWheelEvent extends BrowserEvent<MouseWheelHandler> implements Cancellable
jsObj
Constructor and Description |
---|
MouseWheelEvent(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Call this method to prevent this event from bubbling to this widget's parent, true or undefined to bubble.
|
protected void |
dispatch(MouseWheelHandler handler) |
static <S extends HasMouseWheelHandlers & com.google.gwt.event.shared.HasHandlers> |
fire(S source,
com.google.gwt.core.client.JavaScriptObject jsObj)
Fires a open event on all registered handlers in the handler manager.If no
such handlers exist, this method will do nothing.
|
com.google.gwt.event.shared.GwtEvent.Type<MouseWheelHandler> |
getAssociatedType() |
static com.google.gwt.event.shared.GwtEvent.Type<MouseWheelHandler> |
getType()
Gets the type associated with this event.
|
float |
getWheelDelta()
Convenience method that returns the value of
EventHandler#getWheelDelta() |
boolean |
isCancelled() |
getX, getY, isAltKeyDown, isCtrlKeyDown, isLeftButtonDown, isRightButtonDown
assertLive, getSource, isLive, kill, revive
public MouseWheelEvent(com.google.gwt.core.client.JavaScriptObject jsObj)
public static <S extends HasMouseWheelHandlers & com.google.gwt.event.shared.HasHandlers> void fire(S source, com.google.gwt.core.client.JavaScriptObject jsObj)
S
- The event sourcesource
- the source of the handlersjsObj
- the native eventpublic static com.google.gwt.event.shared.GwtEvent.Type<MouseWheelHandler> getType()
protected void dispatch(MouseWheelHandler handler)
dispatch
in class com.google.gwt.event.shared.GwtEvent<MouseWheelHandler>
public final com.google.gwt.event.shared.GwtEvent.Type<MouseWheelHandler> getAssociatedType()
getAssociatedType
in class com.google.gwt.event.shared.GwtEvent<MouseWheelHandler>
public void cancel()
cancel
in interface Cancellable
public boolean isCancelled()
isCancelled
in interface Cancellable
public float getWheelDelta()
EventHandler#getWheelDelta()
eventHandler
-