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 _TextTrackCueWrappingImplementation extends DOMWrapperBase implements Text
TrackCue { | |
8 _TextTrackCueWrappingImplementation() : super() {} | |
9 | |
10 static create__TextTrackCueWrappingImplementation() native { | |
11 return new _TextTrackCueWrappingImplementation(); | |
12 } | |
13 | |
14 String get align() { return _get_align(this); } | |
15 static String _get_align(var _this) native; | |
16 | |
17 void set align(String value) { _set_align(this, value); } | |
18 static void _set_align(var _this, String value) native; | |
19 | |
20 num get endTime() { return _get_endTime(this); } | |
21 static num _get_endTime(var _this) native; | |
22 | |
23 void set endTime(num value) { _set_endTime(this, value); } | |
24 static void _set_endTime(var _this, num value) native; | |
25 | |
26 String get id() { return _get_id(this); } | |
27 static String _get_id(var _this) native; | |
28 | |
29 void set id(String value) { _set_id(this, value); } | |
30 static void _set_id(var _this, String value) native; | |
31 | |
32 int get line() { return _get_line(this); } | |
33 static int _get_line(var _this) native; | |
34 | |
35 void set line(int value) { _set_line(this, value); } | |
36 static void _set_line(var _this, int value) native; | |
37 | |
38 EventListener get onenter() { return _get_onenter(this); } | |
39 static EventListener _get_onenter(var _this) native; | |
40 | |
41 void set onenter(EventListener value) { _set_onenter(this, value); } | |
42 static void _set_onenter(var _this, EventListener value) native; | |
43 | |
44 EventListener get onexit() { return _get_onexit(this); } | |
45 static EventListener _get_onexit(var _this) native; | |
46 | |
47 void set onexit(EventListener value) { _set_onexit(this, value); } | |
48 static void _set_onexit(var _this, EventListener value) native; | |
49 | |
50 bool get pauseOnExit() { return _get_pauseOnExit(this); } | |
51 static bool _get_pauseOnExit(var _this) native; | |
52 | |
53 void set pauseOnExit(bool value) { _set_pauseOnExit(this, value); } | |
54 static void _set_pauseOnExit(var _this, bool value) native; | |
55 | |
56 int get position() { return _get_position(this); } | |
57 static int _get_position(var _this) native; | |
58 | |
59 void set position(int value) { _set_position(this, value); } | |
60 static void _set_position(var _this, int value) native; | |
61 | |
62 int get size() { return _get_size(this); } | |
63 static int _get_size(var _this) native; | |
64 | |
65 void set size(int value) { _set_size(this, value); } | |
66 static void _set_size(var _this, int value) native; | |
67 | |
68 bool get snapToLines() { return _get_snapToLines(this); } | |
69 static bool _get_snapToLines(var _this) native; | |
70 | |
71 void set snapToLines(bool value) { _set_snapToLines(this, value); } | |
72 static void _set_snapToLines(var _this, bool value) native; | |
73 | |
74 num get startTime() { return _get_startTime(this); } | |
75 static num _get_startTime(var _this) native; | |
76 | |
77 void set startTime(num value) { _set_startTime(this, value); } | |
78 static void _set_startTime(var _this, num value) native; | |
79 | |
80 String get text() { return _get_text(this); } | |
81 static String _get_text(var _this) native; | |
82 | |
83 void set text(String value) { _set_text(this, value); } | |
84 static void _set_text(var _this, String value) native; | |
85 | |
86 TextTrack get track() { return _get_track(this); } | |
87 static TextTrack _get_track(var _this) native; | |
88 | |
89 String get vertical() { return _get_vertical(this); } | |
90 static String _get_vertical(var _this) native; | |
91 | |
92 void set vertical(String value) { _set_vertical(this, value); } | |
93 static void _set_vertical(var _this, String value) native; | |
94 | |
95 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) { | |
96 if (useCapture === null) { | |
97 _addEventListener(this, type, listener); | |
98 return; | |
99 } else { | |
100 _addEventListener_2(this, type, listener, useCapture); | |
101 return; | |
102 } | |
103 } | |
104 static void _addEventListener(receiver, type, listener) native; | |
105 static void _addEventListener_2(receiver, type, listener, useCapture) native; | |
106 | |
107 bool dispatchEvent(Event evt) { | |
108 return _dispatchEvent(this, evt); | |
109 } | |
110 static bool _dispatchEvent(receiver, evt) native; | |
111 | |
112 DocumentFragment getCueAsHTML() { | |
113 return _getCueAsHTML(this); | |
114 } | |
115 static DocumentFragment _getCueAsHTML(receiver) native; | |
116 | |
117 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) { | |
118 if (useCapture === null) { | |
119 _removeEventListener(this, type, listener); | |
120 return; | |
121 } else { | |
122 _removeEventListener_2(this, type, listener, useCapture); | |
123 return; | |
124 } | |
125 } | |
126 static void _removeEventListener(receiver, type, listener) native; | |
127 static void _removeEventListener_2(receiver, type, listener, useCapture) nativ
e; | |
128 | |
129 String get typeName() { return "TextTrackCue"; } | |
130 } | |
OLD | NEW |