| 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 _HTMLInputElementWrappingImplementation extends _HTMLElementWrappingImplem
entation implements HTMLInputElement { | |
| 8 _HTMLInputElementWrappingImplementation() : super() {} | |
| 9 | |
| 10 static create__HTMLInputElementWrappingImplementation() native { | |
| 11 return new _HTMLInputElementWrappingImplementation(); | |
| 12 } | |
| 13 | |
| 14 String get accept() { return _get_accept(this); } | |
| 15 static String _get_accept(var _this) native; | |
| 16 | |
| 17 void set accept(String value) { _set_accept(this, value); } | |
| 18 static void _set_accept(var _this, String value) native; | |
| 19 | |
| 20 String get align() { return _get_align(this); } | |
| 21 static String _get_align(var _this) native; | |
| 22 | |
| 23 void set align(String value) { _set_align(this, value); } | |
| 24 static void _set_align(var _this, String value) native; | |
| 25 | |
| 26 String get alt() { return _get_alt(this); } | |
| 27 static String _get_alt(var _this) native; | |
| 28 | |
| 29 void set alt(String value) { _set_alt(this, value); } | |
| 30 static void _set_alt(var _this, String value) native; | |
| 31 | |
| 32 String get autocomplete() { return _get_autocomplete(this); } | |
| 33 static String _get_autocomplete(var _this) native; | |
| 34 | |
| 35 void set autocomplete(String value) { _set_autocomplete(this, value); } | |
| 36 static void _set_autocomplete(var _this, String value) native; | |
| 37 | |
| 38 bool get autofocus() { return _get_autofocus(this); } | |
| 39 static bool _get_autofocus(var _this) native; | |
| 40 | |
| 41 void set autofocus(bool value) { _set_autofocus(this, value); } | |
| 42 static void _set_autofocus(var _this, bool value) native; | |
| 43 | |
| 44 bool get checked() { return _get_checked(this); } | |
| 45 static bool _get_checked(var _this) native; | |
| 46 | |
| 47 void set checked(bool value) { _set_checked(this, value); } | |
| 48 static void _set_checked(var _this, bool value) native; | |
| 49 | |
| 50 bool get defaultChecked() { return _get_defaultChecked(this); } | |
| 51 static bool _get_defaultChecked(var _this) native; | |
| 52 | |
| 53 void set defaultChecked(bool value) { _set_defaultChecked(this, value); } | |
| 54 static void _set_defaultChecked(var _this, bool value) native; | |
| 55 | |
| 56 String get defaultValue() { return _get_defaultValue(this); } | |
| 57 static String _get_defaultValue(var _this) native; | |
| 58 | |
| 59 void set defaultValue(String value) { _set_defaultValue(this, value); } | |
| 60 static void _set_defaultValue(var _this, String value) native; | |
| 61 | |
| 62 String get dirName() { return _get_dirName(this); } | |
| 63 static String _get_dirName(var _this) native; | |
| 64 | |
| 65 void set dirName(String value) { _set_dirName(this, value); } | |
| 66 static void _set_dirName(var _this, String value) native; | |
| 67 | |
| 68 bool get disabled() { return _get_disabled(this); } | |
| 69 static bool _get_disabled(var _this) native; | |
| 70 | |
| 71 void set disabled(bool value) { _set_disabled(this, value); } | |
| 72 static void _set_disabled(var _this, bool value) native; | |
| 73 | |
| 74 FileList get files() { return _get_files(this); } | |
| 75 static FileList _get_files(var _this) native; | |
| 76 | |
| 77 HTMLFormElement get form() { return _get_form(this); } | |
| 78 static HTMLFormElement _get_form(var _this) native; | |
| 79 | |
| 80 String get formAction() { return _get_formAction(this); } | |
| 81 static String _get_formAction(var _this) native; | |
| 82 | |
| 83 void set formAction(String value) { _set_formAction(this, value); } | |
| 84 static void _set_formAction(var _this, String value) native; | |
| 85 | |
| 86 String get formEnctype() { return _get_formEnctype(this); } | |
| 87 static String _get_formEnctype(var _this) native; | |
| 88 | |
| 89 void set formEnctype(String value) { _set_formEnctype(this, value); } | |
| 90 static void _set_formEnctype(var _this, String value) native; | |
| 91 | |
| 92 String get formMethod() { return _get_formMethod(this); } | |
| 93 static String _get_formMethod(var _this) native; | |
| 94 | |
| 95 void set formMethod(String value) { _set_formMethod(this, value); } | |
| 96 static void _set_formMethod(var _this, String value) native; | |
| 97 | |
| 98 bool get formNoValidate() { return _get_formNoValidate(this); } | |
| 99 static bool _get_formNoValidate(var _this) native; | |
| 100 | |
| 101 void set formNoValidate(bool value) { _set_formNoValidate(this, value); } | |
| 102 static void _set_formNoValidate(var _this, bool value) native; | |
| 103 | |
| 104 String get formTarget() { return _get_formTarget(this); } | |
| 105 static String _get_formTarget(var _this) native; | |
| 106 | |
| 107 void set formTarget(String value) { _set_formTarget(this, value); } | |
| 108 static void _set_formTarget(var _this, String value) native; | |
| 109 | |
| 110 bool get incremental() { return _get_incremental(this); } | |
| 111 static bool _get_incremental(var _this) native; | |
| 112 | |
| 113 void set incremental(bool value) { _set_incremental(this, value); } | |
| 114 static void _set_incremental(var _this, bool value) native; | |
| 115 | |
| 116 bool get indeterminate() { return _get_indeterminate(this); } | |
| 117 static bool _get_indeterminate(var _this) native; | |
| 118 | |
| 119 void set indeterminate(bool value) { _set_indeterminate(this, value); } | |
| 120 static void _set_indeterminate(var _this, bool value) native; | |
| 121 | |
| 122 NodeList get labels() { return _get_labels(this); } | |
| 123 static NodeList _get_labels(var _this) native; | |
| 124 | |
| 125 String get max() { return _get_max(this); } | |
| 126 static String _get_max(var _this) native; | |
| 127 | |
| 128 void set max(String value) { _set_max(this, value); } | |
| 129 static void _set_max(var _this, String value) native; | |
| 130 | |
| 131 int get maxLength() { return _get_maxLength(this); } | |
| 132 static int _get_maxLength(var _this) native; | |
| 133 | |
| 134 void set maxLength(int value) { _set_maxLength(this, value); } | |
| 135 static void _set_maxLength(var _this, int value) native; | |
| 136 | |
| 137 String get min() { return _get_min(this); } | |
| 138 static String _get_min(var _this) native; | |
| 139 | |
| 140 void set min(String value) { _set_min(this, value); } | |
| 141 static void _set_min(var _this, String value) native; | |
| 142 | |
| 143 bool get multiple() { return _get_multiple(this); } | |
| 144 static bool _get_multiple(var _this) native; | |
| 145 | |
| 146 void set multiple(bool value) { _set_multiple(this, value); } | |
| 147 static void _set_multiple(var _this, bool value) native; | |
| 148 | |
| 149 String get name() { return _get_name(this); } | |
| 150 static String _get_name(var _this) native; | |
| 151 | |
| 152 void set name(String value) { _set_name(this, value); } | |
| 153 static void _set_name(var _this, String value) native; | |
| 154 | |
| 155 String get pattern() { return _get_pattern(this); } | |
| 156 static String _get_pattern(var _this) native; | |
| 157 | |
| 158 void set pattern(String value) { _set_pattern(this, value); } | |
| 159 static void _set_pattern(var _this, String value) native; | |
| 160 | |
| 161 String get placeholder() { return _get_placeholder(this); } | |
| 162 static String _get_placeholder(var _this) native; | |
| 163 | |
| 164 void set placeholder(String value) { _set_placeholder(this, value); } | |
| 165 static void _set_placeholder(var _this, String value) native; | |
| 166 | |
| 167 bool get readOnly() { return _get_readOnly(this); } | |
| 168 static bool _get_readOnly(var _this) native; | |
| 169 | |
| 170 void set readOnly(bool value) { _set_readOnly(this, value); } | |
| 171 static void _set_readOnly(var _this, bool value) native; | |
| 172 | |
| 173 bool get required() { return _get_required(this); } | |
| 174 static bool _get_required(var _this) native; | |
| 175 | |
| 176 void set required(bool value) { _set_required(this, value); } | |
| 177 static void _set_required(var _this, bool value) native; | |
| 178 | |
| 179 String get selectionDirection() { return _get_selectionDirection(this); } | |
| 180 static String _get_selectionDirection(var _this) native; | |
| 181 | |
| 182 void set selectionDirection(String value) { _set_selectionDirection(this, valu
e); } | |
| 183 static void _set_selectionDirection(var _this, String value) native; | |
| 184 | |
| 185 int get selectionEnd() { return _get_selectionEnd(this); } | |
| 186 static int _get_selectionEnd(var _this) native; | |
| 187 | |
| 188 void set selectionEnd(int value) { _set_selectionEnd(this, value); } | |
| 189 static void _set_selectionEnd(var _this, int value) native; | |
| 190 | |
| 191 int get selectionStart() { return _get_selectionStart(this); } | |
| 192 static int _get_selectionStart(var _this) native; | |
| 193 | |
| 194 void set selectionStart(int value) { _set_selectionStart(this, value); } | |
| 195 static void _set_selectionStart(var _this, int value) native; | |
| 196 | |
| 197 int get size() { return _get_size(this); } | |
| 198 static int _get_size(var _this) native; | |
| 199 | |
| 200 void set size(int value) { _set_size(this, value); } | |
| 201 static void _set_size(var _this, int value) native; | |
| 202 | |
| 203 String get src() { return _get_src(this); } | |
| 204 static String _get_src(var _this) native; | |
| 205 | |
| 206 void set src(String value) { _set_src(this, value); } | |
| 207 static void _set_src(var _this, String value) native; | |
| 208 | |
| 209 String get step() { return _get_step(this); } | |
| 210 static String _get_step(var _this) native; | |
| 211 | |
| 212 void set step(String value) { _set_step(this, value); } | |
| 213 static void _set_step(var _this, String value) native; | |
| 214 | |
| 215 String get type() { return _get_type(this); } | |
| 216 static String _get_type(var _this) native; | |
| 217 | |
| 218 void set type(String value) { _set_type(this, value); } | |
| 219 static void _set_type(var _this, String value) native; | |
| 220 | |
| 221 String get useMap() { return _get_useMap(this); } | |
| 222 static String _get_useMap(var _this) native; | |
| 223 | |
| 224 void set useMap(String value) { _set_useMap(this, value); } | |
| 225 static void _set_useMap(var _this, String value) native; | |
| 226 | |
| 227 String get validationMessage() { return _get_validationMessage(this); } | |
| 228 static String _get_validationMessage(var _this) native; | |
| 229 | |
| 230 ValidityState get validity() { return _get_validity(this); } | |
| 231 static ValidityState _get_validity(var _this) native; | |
| 232 | |
| 233 String get value() { return _get_value(this); } | |
| 234 static String _get_value(var _this) native; | |
| 235 | |
| 236 void set value(String value) { _set_value(this, value); } | |
| 237 static void _set_value(var _this, String value) native; | |
| 238 | |
| 239 Date get valueAsDate() { return _get_valueAsDate(this); } | |
| 240 static Date _get_valueAsDate(var _this) native; | |
| 241 | |
| 242 void set valueAsDate(Date value) { _set_valueAsDate(this, value); } | |
| 243 static void _set_valueAsDate(var _this, Date value) native; | |
| 244 | |
| 245 num get valueAsNumber() { return _get_valueAsNumber(this); } | |
| 246 static num _get_valueAsNumber(var _this) native; | |
| 247 | |
| 248 void set valueAsNumber(num value) { _set_valueAsNumber(this, value); } | |
| 249 static void _set_valueAsNumber(var _this, num value) native; | |
| 250 | |
| 251 bool get webkitGrammar() { return _get_webkitGrammar(this); } | |
| 252 static bool _get_webkitGrammar(var _this) native; | |
| 253 | |
| 254 void set webkitGrammar(bool value) { _set_webkitGrammar(this, value); } | |
| 255 static void _set_webkitGrammar(var _this, bool value) native; | |
| 256 | |
| 257 bool get webkitSpeech() { return _get_webkitSpeech(this); } | |
| 258 static bool _get_webkitSpeech(var _this) native; | |
| 259 | |
| 260 void set webkitSpeech(bool value) { _set_webkitSpeech(this, value); } | |
| 261 static void _set_webkitSpeech(var _this, bool value) native; | |
| 262 | |
| 263 bool get webkitdirectory() { return _get_webkitdirectory(this); } | |
| 264 static bool _get_webkitdirectory(var _this) native; | |
| 265 | |
| 266 void set webkitdirectory(bool value) { _set_webkitdirectory(this, value); } | |
| 267 static void _set_webkitdirectory(var _this, bool value) native; | |
| 268 | |
| 269 bool get willValidate() { return _get_willValidate(this); } | |
| 270 static bool _get_willValidate(var _this) native; | |
| 271 | |
| 272 bool checkValidity() { | |
| 273 return _checkValidity(this); | |
| 274 } | |
| 275 static bool _checkValidity(receiver) native; | |
| 276 | |
| 277 void select() { | |
| 278 _select(this); | |
| 279 return; | |
| 280 } | |
| 281 static void _select(receiver) native; | |
| 282 | |
| 283 void setCustomValidity(String error) { | |
| 284 _setCustomValidity(this, error); | |
| 285 return; | |
| 286 } | |
| 287 static void _setCustomValidity(receiver, error) native; | |
| 288 | |
| 289 void setSelectionRange(int start, int end, [String direction = null]) { | |
| 290 if (direction === null) { | |
| 291 _setSelectionRange(this, start, end); | |
| 292 return; | |
| 293 } else { | |
| 294 _setSelectionRange_2(this, start, end, direction); | |
| 295 return; | |
| 296 } | |
| 297 } | |
| 298 static void _setSelectionRange(receiver, start, end) native; | |
| 299 static void _setSelectionRange_2(receiver, start, end, direction) native; | |
| 300 | |
| 301 void stepDown([int n = null]) { | |
| 302 if (n === null) { | |
| 303 _stepDown(this); | |
| 304 return; | |
| 305 } else { | |
| 306 _stepDown_2(this, n); | |
| 307 return; | |
| 308 } | |
| 309 } | |
| 310 static void _stepDown(receiver) native; | |
| 311 static void _stepDown_2(receiver, n) native; | |
| 312 | |
| 313 void stepUp([int n = null]) { | |
| 314 if (n === null) { | |
| 315 _stepUp(this); | |
| 316 return; | |
| 317 } else { | |
| 318 _stepUp_2(this, n); | |
| 319 return; | |
| 320 } | |
| 321 } | |
| 322 static void _stepUp(receiver) native; | |
| 323 static void _stepUp_2(receiver, n) native; | |
| 324 | |
| 325 String get typeName() { return "HTMLInputElement"; } | |
| 326 } | |
| OLD | NEW |