W
- public class RowContextMenuEvent<W extends Widget<? extends Element<?>,W>,E> extends Event<RowContextMenuHandler<W,E>>
Event.Type<H extends EventHandler>
Modifier and Type | Field and Description |
---|---|
protected boolean |
altKey |
protected int |
clientX |
protected int |
clientY |
protected boolean |
ctrlKey |
protected E |
entity |
protected boolean |
metaKey |
protected int |
screenX |
protected int |
screenY |
protected Object |
target |
static Event.Type<RowContextMenuHandler<? extends Widget<? extends Element,?>,?>> |
TYPE |
Constructor and Description |
---|
RowContextMenuEvent() |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(RowContextMenuHandler<W,E> handler) |
int |
getClientX() |
int |
getClientY() |
<E extends Element<?>> |
getRelativeX(E target) |
int |
getRelativeX(Widget<?,?> target) |
<E extends Element<?>> |
getRelativeY(E target) |
int |
getRelativeY(Widget<?,?> target) |
int |
getScreenX() |
int |
getScreenY() |
Object |
getTarget() |
Event.Type<RowContextMenuHandler<W,E>> |
getType() |
int |
getX() |
int |
getY() |
boolean |
isAltKey() |
boolean |
isCtrlKey() |
boolean |
isMetaKey() |
void |
setAltKey(boolean altKey) |
void |
setClientX(int clientX) |
void |
setClientY(int clientY) |
void |
setCtrlKey(boolean ctrlKey) |
void |
setMetaKey(boolean metaKey) |
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 Event.Type<RowContextMenuHandler<? extends Widget<? extends Element,?>,?>> TYPE
protected Object target
protected int clientX
protected int clientY
protected int screenX
protected int screenY
protected boolean altKey
protected boolean ctrlKey
protected boolean metaKey
protected E entity
public Event.Type<RowContextMenuHandler<W,E>> getType()
protected void dispatch(RowContextMenuHandler<W,E> handler)
public void setTarget(Object target)
target
- the target to setpublic Object getTarget()
public int getClientX()
public int getClientY()
public <E extends Element<?>> int getRelativeX(E target)
public <E extends Element<?>> int getRelativeY(E target)
public int getRelativeX(Widget<?,?> target)
public int getRelativeY(Widget<?,?> target)
public int getScreenX()
public int getScreenY()
public int getX()
public int getY()
public boolean isAltKey()
public boolean isCtrlKey()
public boolean isMetaKey()
public void setClientX(int clientX)
public void setClientY(int clientY)
public void setScreenX(int screenX)
public void setScreenY(int screenY)
public void setAltKey(boolean altKey)
public void setCtrlKey(boolean ctrlKey)
public void setMetaKey(boolean metaKey)
Copyright © 2018 Xalys. All rights reserved.