OLD | NEW |
1 | 1 |
2 class TextTrackJs extends DOMTypeJs implements TextTrack native "*TextTrack" { | 2 class _TextTrackJs extends _DOMTypeJs implements TextTrack native "*TextTrack" { |
3 | 3 |
4 static final int DISABLED = 0; | 4 static final int DISABLED = 0; |
5 | 5 |
6 static final int HIDDEN = 1; | 6 static final int HIDDEN = 1; |
7 | 7 |
8 static final int SHOWING = 2; | 8 static final int SHOWING = 2; |
9 | 9 |
10 TextTrackCueListJs get activeCues() native "return this.activeCues;"; | 10 _TextTrackCueListJs get activeCues() native "return this.activeCues;"; |
11 | 11 |
12 TextTrackCueListJs get cues() native "return this.cues;"; | 12 _TextTrackCueListJs get cues() native "return this.cues;"; |
13 | 13 |
14 String get kind() native "return this.kind;"; | 14 String get kind() native "return this.kind;"; |
15 | 15 |
16 String get label() native "return this.label;"; | 16 String get label() native "return this.label;"; |
17 | 17 |
18 String get language() native "return this.language;"; | 18 String get language() native "return this.language;"; |
19 | 19 |
20 int get mode() native "return this.mode;"; | 20 int get mode() native "return this.mode;"; |
21 | 21 |
22 void set mode(int value) native "this.mode = value;"; | 22 void set mode(int value) native "this.mode = value;"; |
23 | 23 |
24 EventListener get oncuechange() native "return this.oncuechange;"; | 24 EventListener get oncuechange() native "return this.oncuechange;"; |
25 | 25 |
26 void set oncuechange(EventListener value) native "this.oncuechange = value;"; | 26 void set oncuechange(EventListener value) native "this.oncuechange = value;"; |
27 | 27 |
28 void addCue(TextTrackCueJs cue) native; | 28 void addCue(_TextTrackCueJs cue) native; |
29 | 29 |
30 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 30 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
31 | 31 |
32 bool dispatchEvent(EventJs evt) native; | 32 bool dispatchEvent(_EventJs evt) native; |
33 | 33 |
34 void removeCue(TextTrackCueJs cue) native; | 34 void removeCue(_TextTrackCueJs cue) native; |
35 | 35 |
36 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 36 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
37 } | 37 } |
OLD | NEW |