OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
2 // for details. All rights reserved. Use of this source code is governed by a | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 // WARNING: Do not edit - generated code. | |
6 | |
7 class _SVGElementInstanceWrappingImplementation extends DOMWrapperBase implement
s SVGElementInstance { | |
8 _SVGElementInstanceWrappingImplementation() : super() {} | |
9 | |
10 static create__SVGElementInstanceWrappingImplementation() native { | |
11 return new _SVGElementInstanceWrappingImplementation(); | |
12 } | |
13 | |
14 SVGElementInstanceList get childNodes() { return _get_childNodes(this); } | |
15 static SVGElementInstanceList _get_childNodes(var _this) native; | |
16 | |
17 SVGElement get correspondingElement() { return _get_correspondingElement(this)
; } | |
18 static SVGElement _get_correspondingElement(var _this) native; | |
19 | |
20 SVGUseElement get correspondingUseElement() { return _get_correspondingUseElem
ent(this); } | |
21 static SVGUseElement _get_correspondingUseElement(var _this) native; | |
22 | |
23 SVGElementInstance get firstChild() { return _get_firstChild(this); } | |
24 static SVGElementInstance _get_firstChild(var _this) native; | |
25 | |
26 SVGElementInstance get lastChild() { return _get_lastChild(this); } | |
27 static SVGElementInstance _get_lastChild(var _this) native; | |
28 | |
29 SVGElementInstance get nextSibling() { return _get_nextSibling(this); } | |
30 static SVGElementInstance _get_nextSibling(var _this) native; | |
31 | |
32 SVGElementInstance get parentNode() { return _get_parentNode(this); } | |
33 static SVGElementInstance _get_parentNode(var _this) native; | |
34 | |
35 SVGElementInstance get previousSibling() { return _get_previousSibling(this);
} | |
36 static SVGElementInstance _get_previousSibling(var _this) native; | |
37 | |
38 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) { | |
39 if (useCapture === null) { | |
40 _addEventListener_SVGElementInstance(this, type, listener); | |
41 return; | |
42 } else { | |
43 _addEventListener_SVGElementInstance_2(this, type, listener, useCapture); | |
44 return; | |
45 } | |
46 } | |
47 static void _addEventListener_SVGElementInstance(receiver, type, listener) nat
ive; | |
48 static void _addEventListener_SVGElementInstance_2(receiver, type, listener, u
seCapture) native; | |
49 | |
50 bool dispatchEvent(Event event) { | |
51 return _dispatchEvent_SVGElementInstance(this, event); | |
52 } | |
53 static bool _dispatchEvent_SVGElementInstance(receiver, event) native; | |
54 | |
55 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) { | |
56 if (useCapture === null) { | |
57 _removeEventListener_SVGElementInstance(this, type, listener); | |
58 return; | |
59 } else { | |
60 _removeEventListener_SVGElementInstance_2(this, type, listener, useCapture
); | |
61 return; | |
62 } | |
63 } | |
64 static void _removeEventListener_SVGElementInstance(receiver, type, listener)
native; | |
65 static void _removeEventListener_SVGElementInstance_2(receiver, type, listener
, useCapture) native; | |
66 | |
67 String get typeName() { return "SVGElementInstance"; } | |
68 } | |
OLD | NEW |