H
- E
- public abstract class UIEvent<H extends EventHandler,E extends NativeEvent<?>> extends Event<H> implements HasNativeEvent<E>
Modifier and Type | Class and Description |
---|---|
static interface |
UIEvent.HasBrowserEvent |
static class |
UIEvent.UIType<H extends EventHandler> |
Event.Type<H extends EventHandler>
Constructor and Description |
---|
UIEvent() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
dispatch(H handler) |
EventPhase |
getEventPhase() |
E |
getNativeEvent() |
static boolean |
isInEventThread() |
void |
preventDefault() |
void |
setNativeEvent(E nativeEvent) |
void |
stopImmediatePropagation() |
void |
stopPropagation() |
assertLive, cast, checkIsInEventThread, getSource, getType, isLive, isPreventDefault, isStopPropagation, kill, releaseCapture, revive, setCapture, setCapture, setSource
public E getNativeEvent()
getNativeEvent
in interface HasNativeEvent<E extends NativeEvent<?>>
public void setNativeEvent(E nativeEvent)
public void stopPropagation()
stopPropagation
in class Event<H extends EventHandler>
@Synchronous public void stopImmediatePropagation()
public void preventDefault()
preventDefault
in class Event<H extends EventHandler>
public EventPhase getEventPhase()
getEventPhase
in class Event<H extends EventHandler>
protected abstract void dispatch(H handler)
dispatch
in class Event<H extends EventHandler>
public static boolean isInEventThread()
Copyright © 2018 Xalys. All rights reserved.