Package org.apache.xerces.dom.events
Class MouseEventImpl
java.lang.Object
org.apache.xerces.dom.events.EventImpl
org.apache.xerces.dom.events.UIEventImpl
org.apache.xerces.dom.events.MouseEventImpl
- All Implemented Interfaces:
Event,MouseEvent,UIEvent
An implementation of the DOM Level 2
MouseEvent interface.
INTERNAL:
- Usage of this class is not supported. It may be altered or removed at any time.
- Version:
- $Id: MouseEventImpl.java 533574 2007-04-30 00:29:47Z mrglavas $
-
Field Summary
Fields inherited from class org.apache.xerces.dom.events.EventImpl
bubbles, cancelable, currentTarget, eventPhase, initialized, preventDefault, stopPropagation, target, timeStamp, typeFields inherited from interface org.w3c.dom.events.Event
AT_TARGET, BUBBLING_PHASE, CAPTURING_PHASE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanshortintintbooleanbooleanintintbooleanvoidinitMouseEvent(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.apache.xerces.dom.events.UIEventImpl
getDetail, getView, initUIEventMethods inherited from class org.apache.xerces.dom.events.EventImpl
getBubbles, getCancelable, getCurrentTarget, getEventPhase, getTarget, getTimeStamp, getType, initEvent, preventDefault, stopPropagationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.w3c.dom.events.Event
getBubbles, getCancelable, getCurrentTarget, getEventPhase, getTarget, getTimeStamp, getType, initEvent, preventDefault, stopPropagationMethods inherited from interface org.w3c.dom.events.UIEvent
getDetail, getView, initUIEvent
-
Constructor Details
-
MouseEventImpl
public MouseEventImpl()
-
-
Method Details
-
getScreenX
public int getScreenX()- Specified by:
getScreenXin interfaceMouseEvent
-
getScreenY
public int getScreenY()- Specified by:
getScreenYin interfaceMouseEvent
-
getClientX
public int getClientX()- Specified by:
getClientXin interfaceMouseEvent
-
getClientY
public int getClientY()- Specified by:
getClientYin interfaceMouseEvent
-
getCtrlKey
public boolean getCtrlKey()- Specified by:
getCtrlKeyin interfaceMouseEvent
-
getAltKey
public boolean getAltKey()- Specified by:
getAltKeyin interfaceMouseEvent
-
getShiftKey
public boolean getShiftKey()- Specified by:
getShiftKeyin interfaceMouseEvent
-
getMetaKey
public boolean getMetaKey()- Specified by:
getMetaKeyin interfaceMouseEvent
-
getButton
public short getButton()- Specified by:
getButtonin interfaceMouseEvent
-
getRelatedTarget
- Specified by:
getRelatedTargetin 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:
initMouseEventin interfaceMouseEvent
-