public class MouseEventImpl extends UIEventImpl implements MouseEvent
MouseEvent
interface.bubbles, cancelable, currentTarget, eventPhase, initialized, preventDefault, stopPropagation, target, timeStamp, type
AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE
Constructor and Description |
---|
MouseEventImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
getAltKey() |
short |
getButton() |
int |
getClientX() |
int |
getClientY() |
boolean |
getCtrlKey() |
boolean |
getMetaKey() |
EventTarget |
getRelatedTarget() |
int |
getScreenX() |
int |
getScreenY() |
boolean |
getShiftKey() |
void |
initMouseEvent(String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
AbstractView viewArg,
int detailArg,
int screenXArg,
int screenYArg,
int clientXArg,
int clientYArg,
boolean ctrlKeyArg,
boolean altKeyArg,
boolean shiftKeyArg,
boolean metaKeyArg,
short buttonArg,
EventTarget relatedTargetArg) |
getDetail, getView, initUIEvent
getBubbles, getCancelable, getCurrentTarget, getEventPhase, getTarget, getTimeStamp, getType, initEvent, preventDefault, stopPropagation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDetail, getView, initUIEvent
getBubbles, getCancelable, getCurrentTarget, getEventPhase, getTarget, getTimeStamp, getType, initEvent, preventDefault, stopPropagation
public int getScreenX()
getScreenX
in interface MouseEvent
public int getScreenY()
getScreenY
in interface MouseEvent
public int getClientX()
getClientX
in interface MouseEvent
public int getClientY()
getClientY
in interface MouseEvent
public boolean getCtrlKey()
getCtrlKey
in interface MouseEvent
public boolean getAltKey()
getAltKey
in interface MouseEvent
public boolean getShiftKey()
getShiftKey
in interface MouseEvent
public boolean getMetaKey()
getMetaKey
in interface MouseEvent
public short getButton()
getButton
in interface MouseEvent
public EventTarget getRelatedTarget()
getRelatedTarget
in interface MouseEvent
public void initMouseEvent(String typeArg, boolean canBubbleArg, boolean cancelableArg, AbstractView viewArg, int detailArg, int screenXArg, int screenYArg, int clientXArg, int clientYArg, boolean ctrlKeyArg, boolean altKeyArg, boolean shiftKeyArg, boolean metaKeyArg, short buttonArg, EventTarget relatedTargetArg)
initMouseEvent
in interface MouseEvent
Copyright © 2016 JBoss by Red Hat. All rights reserved.