2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
14 * You should have received a copy of the GNU Library General Public License
15 * along with this library; see the file COPYING.LIB. If not, write to
16 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
22 // Introduced in DOM Level 2:
25 ] MouseEvent
: UIEvent
{
26 readonly attribute
long screenX
;
27 readonly attribute
long screenY
;
28 readonly attribute
long clientX
;
29 readonly attribute
long clientY
;
30 readonly attribute
boolean ctrlKey
;
31 readonly attribute
boolean shiftKey
;
32 readonly attribute
boolean altKey
;
33 readonly attribute
boolean metaKey
;
34 readonly attribute
unsigned short button
;
35 readonly attribute EventTarget relatedTarget
;
37 [OldStyleObjC
] void initMouseEvent
(in DOMString type
,
39 in boolean cancelable
,
50 in unsigned short button
,
51 in EventTarget relatedTarget
);
54 readonly attribute
long offsetX
;
55 readonly attribute
long offsetY
;
56 readonly attribute
long x
;
57 readonly attribute
long y
;
58 readonly attribute Node fromElement
;
59 readonly attribute Node toElement
;
61 #if defined
(LANGUAGE_JAVASCRIPT
)
62 readonly attribute Clipboard dataTransfer
;