| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 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 | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 class _HTMLSelectElementWrappingImplementation extends _HTMLElementWrappingImple
mentation implements HTMLSelectElement { | 7 class _HTMLSelectElementWrappingImplementation extends _HTMLElementWrappingImple
mentation implements HTMLSelectElement { |
| 8 _HTMLSelectElementWrappingImplementation() : super() {} | 8 _HTMLSelectElementWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__HTMLSelectElementWrappingImplementation() native { | 10 static create__HTMLSelectElementWrappingImplementation() native { |
| 11 return new _HTMLSelectElementWrappingImplementation(); | 11 return new _HTMLSelectElementWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 bool get autofocus() { return _get__HTMLSelectElement_autofocus(this); } | 14 bool get autofocus() { return _get_autofocus(this); } |
| 15 static bool _get__HTMLSelectElement_autofocus(var _this) native; | 15 static bool _get_autofocus(var _this) native; |
| 16 | 16 |
| 17 void set autofocus(bool value) { _set__HTMLSelectElement_autofocus(this, value
); } | 17 void set autofocus(bool value) { _set_autofocus(this, value); } |
| 18 static void _set__HTMLSelectElement_autofocus(var _this, bool value) native; | 18 static void _set_autofocus(var _this, bool value) native; |
| 19 | 19 |
| 20 bool get disabled() { return _get__HTMLSelectElement_disabled(this); } | 20 bool get disabled() { return _get_disabled(this); } |
| 21 static bool _get__HTMLSelectElement_disabled(var _this) native; | 21 static bool _get_disabled(var _this) native; |
| 22 | 22 |
| 23 void set disabled(bool value) { _set__HTMLSelectElement_disabled(this, value);
} | 23 void set disabled(bool value) { _set_disabled(this, value); } |
| 24 static void _set__HTMLSelectElement_disabled(var _this, bool value) native; | 24 static void _set_disabled(var _this, bool value) native; |
| 25 | 25 |
| 26 HTMLFormElement get form() { return _get__HTMLSelectElement_form(this); } | 26 HTMLFormElement get form() { return _get_form(this); } |
| 27 static HTMLFormElement _get__HTMLSelectElement_form(var _this) native; | 27 static HTMLFormElement _get_form(var _this) native; |
| 28 | 28 |
| 29 NodeList get labels() { return _get__HTMLSelectElement_labels(this); } | 29 NodeList get labels() { return _get_labels(this); } |
| 30 static NodeList _get__HTMLSelectElement_labels(var _this) native; | 30 static NodeList _get_labels(var _this) native; |
| 31 | 31 |
| 32 int get length() { return _get__HTMLSelectElement_length(this); } | 32 int get length() { return _get_length(this); } |
| 33 static int _get__HTMLSelectElement_length(var _this) native; | 33 static int _get_length(var _this) native; |
| 34 | 34 |
| 35 void set length(int value) { _set__HTMLSelectElement_length(this, value); } | 35 void set length(int value) { _set_length(this, value); } |
| 36 static void _set__HTMLSelectElement_length(var _this, int value) native; | 36 static void _set_length(var _this, int value) native; |
| 37 | 37 |
| 38 bool get multiple() { return _get__HTMLSelectElement_multiple(this); } | 38 bool get multiple() { return _get_multiple(this); } |
| 39 static bool _get__HTMLSelectElement_multiple(var _this) native; | 39 static bool _get_multiple(var _this) native; |
| 40 | 40 |
| 41 void set multiple(bool value) { _set__HTMLSelectElement_multiple(this, value);
} | 41 void set multiple(bool value) { _set_multiple(this, value); } |
| 42 static void _set__HTMLSelectElement_multiple(var _this, bool value) native; | 42 static void _set_multiple(var _this, bool value) native; |
| 43 | 43 |
| 44 String get name() { return _get__HTMLSelectElement_name(this); } | 44 String get name() { return _get_name(this); } |
| 45 static String _get__HTMLSelectElement_name(var _this) native; | 45 static String _get_name(var _this) native; |
| 46 | 46 |
| 47 void set name(String value) { _set__HTMLSelectElement_name(this, value); } | 47 void set name(String value) { _set_name(this, value); } |
| 48 static void _set__HTMLSelectElement_name(var _this, String value) native; | 48 static void _set_name(var _this, String value) native; |
| 49 | 49 |
| 50 HTMLOptionsCollection get options() { return _get__HTMLSelectElement_options(t
his); } | 50 HTMLOptionsCollection get options() { return _get_options(this); } |
| 51 static HTMLOptionsCollection _get__HTMLSelectElement_options(var _this) native
; | 51 static HTMLOptionsCollection _get_options(var _this) native; |
| 52 | 52 |
| 53 bool get required() { return _get__HTMLSelectElement_required(this); } | 53 bool get required() { return _get_required(this); } |
| 54 static bool _get__HTMLSelectElement_required(var _this) native; | 54 static bool _get_required(var _this) native; |
| 55 | 55 |
| 56 void set required(bool value) { _set__HTMLSelectElement_required(this, value);
} | 56 void set required(bool value) { _set_required(this, value); } |
| 57 static void _set__HTMLSelectElement_required(var _this, bool value) native; | 57 static void _set_required(var _this, bool value) native; |
| 58 | 58 |
| 59 int get selectedIndex() { return _get__HTMLSelectElement_selectedIndex(this);
} | 59 int get selectedIndex() { return _get_selectedIndex(this); } |
| 60 static int _get__HTMLSelectElement_selectedIndex(var _this) native; | 60 static int _get_selectedIndex(var _this) native; |
| 61 | 61 |
| 62 void set selectedIndex(int value) { _set__HTMLSelectElement_selectedIndex(this
, value); } | 62 void set selectedIndex(int value) { _set_selectedIndex(this, value); } |
| 63 static void _set__HTMLSelectElement_selectedIndex(var _this, int value) native
; | 63 static void _set_selectedIndex(var _this, int value) native; |
| 64 | 64 |
| 65 int get size() { return _get__HTMLSelectElement_size(this); } | 65 int get size() { return _get_size(this); } |
| 66 static int _get__HTMLSelectElement_size(var _this) native; | 66 static int _get_size(var _this) native; |
| 67 | 67 |
| 68 void set size(int value) { _set__HTMLSelectElement_size(this, value); } | 68 void set size(int value) { _set_size(this, value); } |
| 69 static void _set__HTMLSelectElement_size(var _this, int value) native; | 69 static void _set_size(var _this, int value) native; |
| 70 | 70 |
| 71 String get type() { return _get__HTMLSelectElement_type(this); } | 71 String get type() { return _get_type(this); } |
| 72 static String _get__HTMLSelectElement_type(var _this) native; | 72 static String _get_type(var _this) native; |
| 73 | 73 |
| 74 String get validationMessage() { return _get__HTMLSelectElement_validationMess
age(this); } | 74 String get validationMessage() { return _get_validationMessage(this); } |
| 75 static String _get__HTMLSelectElement_validationMessage(var _this) native; | 75 static String _get_validationMessage(var _this) native; |
| 76 | 76 |
| 77 ValidityState get validity() { return _get__HTMLSelectElement_validity(this);
} | 77 ValidityState get validity() { return _get_validity(this); } |
| 78 static ValidityState _get__HTMLSelectElement_validity(var _this) native; | 78 static ValidityState _get_validity(var _this) native; |
| 79 | 79 |
| 80 String get value() { return _get__HTMLSelectElement_value(this); } | 80 String get value() { return _get_value(this); } |
| 81 static String _get__HTMLSelectElement_value(var _this) native; | 81 static String _get_value(var _this) native; |
| 82 | 82 |
| 83 void set value(String value) { _set__HTMLSelectElement_value(this, value); } | 83 void set value(String value) { _set_value(this, value); } |
| 84 static void _set__HTMLSelectElement_value(var _this, String value) native; | 84 static void _set_value(var _this, String value) native; |
| 85 | 85 |
| 86 bool get willValidate() { return _get__HTMLSelectElement_willValidate(this); } | 86 bool get willValidate() { return _get_willValidate(this); } |
| 87 static bool _get__HTMLSelectElement_willValidate(var _this) native; | 87 static bool _get_willValidate(var _this) native; |
| 88 | 88 |
| 89 void add(HTMLElement element, HTMLElement before) { | 89 void add(HTMLElement element, HTMLElement before) { |
| 90 _add(this, element, before); | 90 _add(this, element, before); |
| 91 return; | 91 return; |
| 92 } | 92 } |
| 93 static void _add(receiver, element, before) native; | 93 static void _add(receiver, element, before) native; |
| 94 | 94 |
| 95 bool checkValidity() { | 95 bool checkValidity() { |
| 96 return _checkValidity(this); | 96 return _checkValidity(this); |
| 97 } | 97 } |
| (...skipping 25 matching lines...) Expand all Loading... |
| 123 static void _remove_2(receiver, index_OR_option) native; | 123 static void _remove_2(receiver, index_OR_option) native; |
| 124 | 124 |
| 125 void setCustomValidity(String error) { | 125 void setCustomValidity(String error) { |
| 126 _setCustomValidity(this, error); | 126 _setCustomValidity(this, error); |
| 127 return; | 127 return; |
| 128 } | 128 } |
| 129 static void _setCustomValidity(receiver, error) native; | 129 static void _setCustomValidity(receiver, error) native; |
| 130 | 130 |
| 131 String get typeName() { return "HTMLSelectElement"; } | 131 String get typeName() { return "HTMLSelectElement"; } |
| 132 } | 132 } |
| OLD | NEW |