W
- @JsType(namespace="xgl.events") public class TapEvent<W extends Widget<? extends Element<?>,W>> extends Event<TapHandler<W>>
Event.Type<H extends EventHandler>
Modifier and Type | Field and Description |
---|---|
protected int |
clientX |
protected int |
clientY |
protected int |
screenX |
protected int |
screenY |
protected Object |
target |
static Event.Type<TapHandler<? extends Widget<? extends Element,?>>> |
TYPE |
Constructor and Description |
---|
TapEvent() |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(TapHandler<W> handler) |
int |
getClientX() |
int |
getClientY() |
int |
getScreenX() |
int |
getScreenY() |
Object |
getTarget() |
Event.Type<TapHandler<W>> |
getType() |
void |
setClientX(int clientX) |
void |
setClientY(int clientY) |
void |
setScreenX(int screenX) |
void |
setScreenY(int screenY) |
void |
setTarget(Object target) |
assertLive, cast, checkIsInEventThread, getEventPhase, getSource, isLive, isPreventDefault, isStopPropagation, kill, preventDefault, releaseCapture, revive, setCapture, setCapture, setSource, stopPropagation
public static final Event.Type<TapHandler<? extends Widget<? extends Element,?>>> TYPE
protected Object target
protected int clientX
protected int clientY
protected int screenX
protected int screenY
public Event.Type<TapHandler<W>> getType()
protected void dispatch(TapHandler<W> handler)
public void setTarget(Object target)
target
- the target to setpublic Object getTarget()
public int getClientX()
public int getClientY()
public int getScreenX()
public int getScreenY()
public void setClientX(int clientX)
public void setClientY(int clientY)
public void setScreenX(int screenX)
public void setScreenY(int screenY)
Copyright © 2018 Xalys. All rights reserved.