Class MouseEventImpl
- java.lang.Object
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.dom.events.EventImpl
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.dom.events.UIEventImpl
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.dom.events.MouseEventImpl
-
- All Implemented Interfaces:
Event
,MouseEvent
,UIEvent
public class MouseEventImpl extends UIEventImpl implements MouseEvent
An implementation of the DOM Level 2MouseEvent
interface.- Version:
- $Id$
-
-
Field Summary
-
Fields inherited from class org.smooks.engine.delivery.sax.ng.org.apache.xerces.dom.events.EventImpl
bubbles, cancelable, currentTarget, eventPhase, initialized, preventDefault, stopPropagation, target, timeStamp, type
-
Fields inherited from interface org.w3c.dom.events.Event
AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE
-
-
Constructor Summary
Constructors Constructor Description MouseEventImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
Methods inherited from class org.smooks.engine.delivery.sax.ng.org.apache.xerces.dom.events.UIEventImpl
getDetail, getView, initUIEvent
-
Methods inherited from class org.smooks.engine.delivery.sax.ng.org.apache.xerces.dom.events.EventImpl
getBubbles, getCancelable, getCurrentTarget, getEventPhase, getTarget, getTimeStamp, getType, initEvent, preventDefault, stopPropagation
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.w3c.dom.events.Event
getBubbles, getCancelable, getCurrentTarget, getEventPhase, getTarget, getTimeStamp, getType, initEvent, preventDefault, stopPropagation
-
Methods inherited from interface org.w3c.dom.events.UIEvent
getDetail, getView, initUIEvent
-
-
-
-
Method Detail
-
getScreenX
public int getScreenX()
- Specified by:
getScreenX
in interfaceMouseEvent
-
getScreenY
public int getScreenY()
- Specified by:
getScreenY
in interfaceMouseEvent
-
getClientX
public int getClientX()
- Specified by:
getClientX
in interfaceMouseEvent
-
getClientY
public int getClientY()
- Specified by:
getClientY
in interfaceMouseEvent
-
getCtrlKey
public boolean getCtrlKey()
- Specified by:
getCtrlKey
in interfaceMouseEvent
-
getAltKey
public boolean getAltKey()
- Specified by:
getAltKey
in interfaceMouseEvent
-
getShiftKey
public boolean getShiftKey()
- Specified by:
getShiftKey
in interfaceMouseEvent
-
getMetaKey
public boolean getMetaKey()
- Specified by:
getMetaKey
in interfaceMouseEvent
-
getButton
public short getButton()
- Specified by:
getButton
in interfaceMouseEvent
-
getRelatedTarget
public EventTarget getRelatedTarget()
- Specified by:
getRelatedTarget
in interfaceMouseEvent
-
initMouseEvent
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)
- Specified by:
initMouseEvent
in interfaceMouseEvent
-
-