OLD | NEW |
1 | 1 |
2 class FileReaderJs extends DOMTypeJs implements FileReader native "*FileReader"
{ | 2 class _FileReaderJs extends _DOMTypeJs implements FileReader native "*FileReader
" { |
3 FileReader() native; | 3 FileReader() native; |
4 | 4 |
5 | 5 |
6 static final int DONE = 2; | 6 static final int DONE = 2; |
7 | 7 |
8 static final int EMPTY = 0; | 8 static final int EMPTY = 0; |
9 | 9 |
10 static final int LOADING = 1; | 10 static final int LOADING = 1; |
11 | 11 |
12 FileErrorJs get error() native "return this.error;"; | 12 _FileErrorJs get error() native "return this.error;"; |
13 | 13 |
14 EventListener get onabort() native "return this.onabort;"; | 14 EventListener get onabort() native "return this.onabort;"; |
15 | 15 |
16 void set onabort(EventListener value) native "this.onabort = value;"; | 16 void set onabort(EventListener value) native "this.onabort = value;"; |
17 | 17 |
18 EventListener get onerror() native "return this.onerror;"; | 18 EventListener get onerror() native "return this.onerror;"; |
19 | 19 |
20 void set onerror(EventListener value) native "this.onerror = value;"; | 20 void set onerror(EventListener value) native "this.onerror = value;"; |
21 | 21 |
22 EventListener get onload() native "return this.onload;"; | 22 EventListener get onload() native "return this.onload;"; |
(...skipping 13 matching lines...) Expand all Loading... |
36 void set onprogress(EventListener value) native "this.onprogress = value;"; | 36 void set onprogress(EventListener value) native "this.onprogress = value;"; |
37 | 37 |
38 int get readyState() native "return this.readyState;"; | 38 int get readyState() native "return this.readyState;"; |
39 | 39 |
40 Object get result() native "return this.result;"; | 40 Object get result() native "return this.result;"; |
41 | 41 |
42 void abort() native; | 42 void abort() native; |
43 | 43 |
44 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; | 44 void addEventListener(String type, EventListener listener, [bool useCapture =
null]) native; |
45 | 45 |
46 bool dispatchEvent(EventJs evt) native; | 46 bool dispatchEvent(_EventJs evt) native; |
47 | 47 |
48 void readAsArrayBuffer(BlobJs blob) native; | 48 void readAsArrayBuffer(_BlobJs blob) native; |
49 | 49 |
50 void readAsBinaryString(BlobJs blob) native; | 50 void readAsBinaryString(_BlobJs blob) native; |
51 | 51 |
52 void readAsDataURL(BlobJs blob) native; | 52 void readAsDataURL(_BlobJs blob) native; |
53 | 53 |
54 void readAsText(BlobJs blob, [String encoding = null]) native; | 54 void readAsText(_BlobJs blob, [String encoding = null]) native; |
55 | 55 |
56 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; | 56 void removeEventListener(String type, EventListener listener, [bool useCapture
= null]) native; |
57 } | 57 } |
OLD | NEW |