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
public class MouseEventImpl
- extends UIEventImpl
- implements MouseEvent
An implementation of the DOM Level 2 MouseEvent interface.
- Version:
- $Id: MouseEventImpl.java 533574 2007-04-30 00:29:47Z mrglavas $
|
Method Summary |
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,
org.w3c.dom.views.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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MouseEventImpl
public MouseEventImpl()
getScreenX
public int getScreenX()
- Specified by:
getScreenX in interface MouseEvent
getScreenY
public int getScreenY()
- Specified by:
getScreenY in interface MouseEvent
getClientX
public int getClientX()
- Specified by:
getClientX in interface MouseEvent
getClientY
public int getClientY()
- Specified by:
getClientY in interface MouseEvent
getCtrlKey
public boolean getCtrlKey()
- Specified by:
getCtrlKey in interface MouseEvent
getAltKey
public boolean getAltKey()
- Specified by:
getAltKey in interface MouseEvent
getShiftKey
public boolean getShiftKey()
- Specified by:
getShiftKey in interface MouseEvent
getMetaKey
public boolean getMetaKey()
- Specified by:
getMetaKey in interface MouseEvent
getButton
public short getButton()
- Specified by:
getButton in interface MouseEvent
getRelatedTarget
public EventTarget getRelatedTarget()
- Specified by:
getRelatedTarget in interface MouseEvent
initMouseEvent
public void initMouseEvent(String typeArg,
boolean canBubbleArg,
boolean cancelableArg,
org.w3c.dom.views.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 interface MouseEvent
Copyright © 2011. All Rights Reserved.