| 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 _FileWriterWrappingImplementation extends DOMWrapperBase implements FileWr
iter { | |
| 8 _FileWriterWrappingImplementation() : super() {} | |
| 9 | |
| 10 static create__FileWriterWrappingImplementation() native { | |
| 11 return new _FileWriterWrappingImplementation(); | |
| 12 } | |
| 13 | |
| 14 FileError get error() { return _get_error(this); } | |
| 15 static FileError _get_error(var _this) native; | |
| 16 | |
| 17 int get length() { return _get_length(this); } | |
| 18 static int _get_length(var _this) native; | |
| 19 | |
| 20 EventListener get onabort() { return _get_onabort(this); } | |
| 21 static EventListener _get_onabort(var _this) native; | |
| 22 | |
| 23 void set onabort(EventListener value) { _set_onabort(this, value); } | |
| 24 static void _set_onabort(var _this, EventListener value) native; | |
| 25 | |
| 26 EventListener get onerror() { return _get_onerror(this); } | |
| 27 static EventListener _get_onerror(var _this) native; | |
| 28 | |
| 29 void set onerror(EventListener value) { _set_onerror(this, value); } | |
| 30 static void _set_onerror(var _this, EventListener value) native; | |
| 31 | |
| 32 EventListener get onprogress() { return _get_onprogress(this); } | |
| 33 static EventListener _get_onprogress(var _this) native; | |
| 34 | |
| 35 void set onprogress(EventListener value) { _set_onprogress(this, value); } | |
| 36 static void _set_onprogress(var _this, EventListener value) native; | |
| 37 | |
| 38 EventListener get onwrite() { return _get_onwrite(this); } | |
| 39 static EventListener _get_onwrite(var _this) native; | |
| 40 | |
| 41 void set onwrite(EventListener value) { _set_onwrite(this, value); } | |
| 42 static void _set_onwrite(var _this, EventListener value) native; | |
| 43 | |
| 44 EventListener get onwriteend() { return _get_onwriteend(this); } | |
| 45 static EventListener _get_onwriteend(var _this) native; | |
| 46 | |
| 47 void set onwriteend(EventListener value) { _set_onwriteend(this, value); } | |
| 48 static void _set_onwriteend(var _this, EventListener value) native; | |
| 49 | |
| 50 EventListener get onwritestart() { return _get_onwritestart(this); } | |
| 51 static EventListener _get_onwritestart(var _this) native; | |
| 52 | |
| 53 void set onwritestart(EventListener value) { _set_onwritestart(this, value); } | |
| 54 static void _set_onwritestart(var _this, EventListener value) native; | |
| 55 | |
| 56 int get position() { return _get_position(this); } | |
| 57 static int _get_position(var _this) native; | |
| 58 | |
| 59 int get readyState() { return _get_readyState(this); } | |
| 60 static int _get_readyState(var _this) native; | |
| 61 | |
| 62 void abort() { | |
| 63 _abort(this); | |
| 64 return; | |
| 65 } | |
| 66 static void _abort(receiver) native; | |
| 67 | |
| 68 void seek(int position) { | |
| 69 _seek(this, position); | |
| 70 return; | |
| 71 } | |
| 72 static void _seek(receiver, position) native; | |
| 73 | |
| 74 void truncate(int size) { | |
| 75 _truncate(this, size); | |
| 76 return; | |
| 77 } | |
| 78 static void _truncate(receiver, size) native; | |
| 79 | |
| 80 void write(Blob data) { | |
| 81 _write(this, data); | |
| 82 return; | |
| 83 } | |
| 84 static void _write(receiver, data) native; | |
| 85 | |
| 86 String get typeName() { return "FileWriter"; } | |
| 87 } | |
| OLD | NEW |