W
- @JsType(namespace="xgl.events") public class ActionEvent<W extends Widget<? extends Element<?>,W>> extends Event<ActionHandler<W>>
Event.Type<H extends EventHandler>
Modifier and Type | Field and Description |
---|---|
protected ActionType |
actionType |
protected int |
clientX |
protected int |
clientY |
protected Object |
target |
static Event.Type<ActionHandler<? extends Widget<? extends Element,?>>> |
TYPE |
Constructor and Description |
---|
ActionEvent() |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(ActionHandler<W> handler) |
ActionType |
getActionType() |
int |
getClientX() |
int |
getClientY() |
Object |
getTarget() |
Event.Type<ActionHandler<W>> |
getType() |
void |
setActionType(ActionType actionType) |
void |
setClientX(int clientX) |
void |
setClientY(int clientY) |
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<ActionHandler<? extends Widget<? extends Element,?>>> TYPE
protected Object target
protected int clientX
protected int clientY
protected ActionType actionType
public Event.Type<ActionHandler<W>> getType()
protected void dispatch(ActionHandler<W> handler)
public void setTarget(Object target)
target
- the target to setpublic Object getTarget()
public int getClientX()
public int getClientY()
public void setClientX(int clientX)
public void setClientY(int clientY)
public ActionType getActionType()
public void setActionType(ActionType actionType)
actionType
- the actionType to setCopyright © 2018 Xalys. All rights reserved.