FileDocCategorySizeDatePackage
MouseEventImpl.javaAPI DocApache Xerces 3.0.13065Fri Sep 14 20:33:52 BST 2007org.apache.xerces.dom.events

MouseEventImpl

public class MouseEventImpl extends UIEventImpl implements MouseEvent
An implementation of the DOM Level 2 MouseEvent interface.
xerces.internal
version
$Id: MouseEventImpl.java 533574 2007-04-30 00:29:47Z mrglavas $

Fields Summary
private int
fScreenX
private int
fScreenY
private int
fClientX
private int
fClientY
private boolean
fCtrlKey
private boolean
fAltKey
private boolean
fShiftKey
private boolean
fMetaKey
private short
fButton
private EventTarget
fRelatedTarget
Constructors Summary
Methods Summary
public booleangetAltKey()

        return fAltKey;
    
public shortgetButton()

        return fButton;
    
public intgetClientX()

        return fClientX;
    
public intgetClientY()

        return fClientY;
    
public booleangetCtrlKey()

        return fCtrlKey;
    
public booleangetMetaKey()

        return fMetaKey;
    
public org.w3c.dom.events.EventTargetgetRelatedTarget()

        return fRelatedTarget;
    
public intgetScreenX()

        return fScreenX;
    
public intgetScreenY()

        return fScreenY;
    
public booleangetShiftKey()

        return fShiftKey;
    
public voidinitMouseEvent(java.lang.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, org.w3c.dom.events.EventTarget relatedTargetArg)

        fScreenX = screenXArg;
        fScreenY = screenYArg;
        fClientX = clientXArg;
        fClientY = clientYArg;
        fCtrlKey = ctrlKeyArg;
        fAltKey = altKeyArg;
        fShiftKey = shiftKeyArg;
        fMetaKey = metaKeyArg;
        fButton = buttonArg;
        fRelatedTarget = relatedTargetArg;
        super.initUIEvent(typeArg, canBubbleArg, cancelableArg, viewArg, detailArg);