public class MouseDownEvent extends MouseEvent<MouseDownHandler>
DomEvent.Type<H extends EventHandler>
Modifier | Constructor and Description |
---|---|
protected |
MouseDownEvent()
Protected constructor, use
DomEvent.fireNativeEvent(com.google.gwt.dom.client.NativeEvent, com.google.gwt.event.shared.HasHandlers)
to fire mouse down events. |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(MouseDownHandler handler)
Should only be called by
HandlerManager . |
DomEvent.Type<MouseDownHandler> |
getAssociatedType()
Returns the
Event.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class. |
static DomEvent.Type<MouseDownHandler> |
getType()
Gets the event type associated with mouse down events.
|
getClientX, getClientY, getNativeButton, getRelativeX, getRelativeY, getScreenX, getScreenY, getX, getY
isAltKeyDown, isControlKeyDown, isMetaKeyDown, isShiftKeyDown
fireNativeEvent, fireNativeEvent, getNativeEvent, getRelativeElement, preventDefault, setNativeEvent, setRelativeElement, stopPropagation
assertLive, getSource, isLive, kill, revive
protected MouseDownEvent()
DomEvent.fireNativeEvent(com.google.gwt.dom.client.NativeEvent, com.google.gwt.event.shared.HasHandlers)
to fire mouse down events.public static DomEvent.Type<MouseDownHandler> getType()
public final DomEvent.Type<MouseDownHandler> 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 DomEvent<MouseDownHandler>
protected void dispatch(MouseDownHandler handler)
GwtEvent
HandlerManager
. In other words, do not use
or call.dispatch
in class GwtEvent<MouseDownHandler>
handler
- handlerEventBus.dispatchEvent(Event, Object)
Copyright © 2018. All rights reserved.