| 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 _HTMLButtonElementWrappingImplementation extends _HTMLElementWrappingImple
mentation implements HTMLButtonElement { | 7 class _HTMLButtonElementWrappingImplementation extends _HTMLElementWrappingImple
mentation implements HTMLButtonElement { |
| 8 _HTMLButtonElementWrappingImplementation() : super() {} | 8 _HTMLButtonElementWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__HTMLButtonElementWrappingImplementation() native { | 10 static create__HTMLButtonElementWrappingImplementation() native { |
| 11 return new _HTMLButtonElementWrappingImplementation(); | 11 return new _HTMLButtonElementWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 String get accessKey() { return _get__HTMLButtonElement_accessKey(this); } | 14 String get accessKey() { return _get_accessKey(this); } |
| 15 static String _get__HTMLButtonElement_accessKey(var _this) native; | 15 static String _get_accessKey(var _this) native; |
| 16 | 16 |
| 17 void set accessKey(String value) { _set__HTMLButtonElement_accessKey(this, val
ue); } | 17 void set accessKey(String value) { _set_accessKey(this, value); } |
| 18 static void _set__HTMLButtonElement_accessKey(var _this, String value) native; | 18 static void _set_accessKey(var _this, String value) native; |
| 19 | 19 |
| 20 bool get autofocus() { return _get__HTMLButtonElement_autofocus(this); } | 20 bool get autofocus() { return _get_autofocus(this); } |
| 21 static bool _get__HTMLButtonElement_autofocus(var _this) native; | 21 static bool _get_autofocus(var _this) native; |
| 22 | 22 |
| 23 void set autofocus(bool value) { _set__HTMLButtonElement_autofocus(this, value
); } | 23 void set autofocus(bool value) { _set_autofocus(this, value); } |
| 24 static void _set__HTMLButtonElement_autofocus(var _this, bool value) native; | 24 static void _set_autofocus(var _this, bool value) native; |
| 25 | 25 |
| 26 bool get disabled() { return _get__HTMLButtonElement_disabled(this); } | 26 bool get disabled() { return _get_disabled(this); } |
| 27 static bool _get__HTMLButtonElement_disabled(var _this) native; | 27 static bool _get_disabled(var _this) native; |
| 28 | 28 |
| 29 void set disabled(bool value) { _set__HTMLButtonElement_disabled(this, value);
} | 29 void set disabled(bool value) { _set_disabled(this, value); } |
| 30 static void _set__HTMLButtonElement_disabled(var _this, bool value) native; | 30 static void _set_disabled(var _this, bool value) native; |
| 31 | 31 |
| 32 HTMLFormElement get form() { return _get__HTMLButtonElement_form(this); } | 32 HTMLFormElement get form() { return _get_form(this); } |
| 33 static HTMLFormElement _get__HTMLButtonElement_form(var _this) native; | 33 static HTMLFormElement _get_form(var _this) native; |
| 34 | 34 |
| 35 String get formAction() { return _get__HTMLButtonElement_formAction(this); } | 35 String get formAction() { return _get_formAction(this); } |
| 36 static String _get__HTMLButtonElement_formAction(var _this) native; | 36 static String _get_formAction(var _this) native; |
| 37 | 37 |
| 38 void set formAction(String value) { _set__HTMLButtonElement_formAction(this, v
alue); } | 38 void set formAction(String value) { _set_formAction(this, value); } |
| 39 static void _set__HTMLButtonElement_formAction(var _this, String value) native
; | 39 static void _set_formAction(var _this, String value) native; |
| 40 | 40 |
| 41 String get formEnctype() { return _get__HTMLButtonElement_formEnctype(this); } | 41 String get formEnctype() { return _get_formEnctype(this); } |
| 42 static String _get__HTMLButtonElement_formEnctype(var _this) native; | 42 static String _get_formEnctype(var _this) native; |
| 43 | 43 |
| 44 void set formEnctype(String value) { _set__HTMLButtonElement_formEnctype(this,
value); } | 44 void set formEnctype(String value) { _set_formEnctype(this, value); } |
| 45 static void _set__HTMLButtonElement_formEnctype(var _this, String value) nativ
e; | 45 static void _set_formEnctype(var _this, String value) native; |
| 46 | 46 |
| 47 String get formMethod() { return _get__HTMLButtonElement_formMethod(this); } | 47 String get formMethod() { return _get_formMethod(this); } |
| 48 static String _get__HTMLButtonElement_formMethod(var _this) native; | 48 static String _get_formMethod(var _this) native; |
| 49 | 49 |
| 50 void set formMethod(String value) { _set__HTMLButtonElement_formMethod(this, v
alue); } | 50 void set formMethod(String value) { _set_formMethod(this, value); } |
| 51 static void _set__HTMLButtonElement_formMethod(var _this, String value) native
; | 51 static void _set_formMethod(var _this, String value) native; |
| 52 | 52 |
| 53 bool get formNoValidate() { return _get__HTMLButtonElement_formNoValidate(this
); } | 53 bool get formNoValidate() { return _get_formNoValidate(this); } |
| 54 static bool _get__HTMLButtonElement_formNoValidate(var _this) native; | 54 static bool _get_formNoValidate(var _this) native; |
| 55 | 55 |
| 56 void set formNoValidate(bool value) { _set__HTMLButtonElement_formNoValidate(t
his, value); } | 56 void set formNoValidate(bool value) { _set_formNoValidate(this, value); } |
| 57 static void _set__HTMLButtonElement_formNoValidate(var _this, bool value) nati
ve; | 57 static void _set_formNoValidate(var _this, bool value) native; |
| 58 | 58 |
| 59 String get formTarget() { return _get__HTMLButtonElement_formTarget(this); } | 59 String get formTarget() { return _get_formTarget(this); } |
| 60 static String _get__HTMLButtonElement_formTarget(var _this) native; | 60 static String _get_formTarget(var _this) native; |
| 61 | 61 |
| 62 void set formTarget(String value) { _set__HTMLButtonElement_formTarget(this, v
alue); } | 62 void set formTarget(String value) { _set_formTarget(this, value); } |
| 63 static void _set__HTMLButtonElement_formTarget(var _this, String value) native
; | 63 static void _set_formTarget(var _this, String value) native; |
| 64 | 64 |
| 65 NodeList get labels() { return _get__HTMLButtonElement_labels(this); } | 65 NodeList get labels() { return _get_labels(this); } |
| 66 static NodeList _get__HTMLButtonElement_labels(var _this) native; | 66 static NodeList _get_labels(var _this) native; |
| 67 | 67 |
| 68 String get name() { return _get__HTMLButtonElement_name(this); } | 68 String get name() { return _get_name(this); } |
| 69 static String _get__HTMLButtonElement_name(var _this) native; | 69 static String _get_name(var _this) native; |
| 70 | 70 |
| 71 void set name(String value) { _set__HTMLButtonElement_name(this, value); } | 71 void set name(String value) { _set_name(this, value); } |
| 72 static void _set__HTMLButtonElement_name(var _this, String value) native; | 72 static void _set_name(var _this, String value) native; |
| 73 | 73 |
| 74 String get type() { return _get__HTMLButtonElement_type(this); } | 74 String get type() { return _get_type(this); } |
| 75 static String _get__HTMLButtonElement_type(var _this) native; | 75 static String _get_type(var _this) native; |
| 76 | 76 |
| 77 String get validationMessage() { return _get__HTMLButtonElement_validationMess
age(this); } | 77 String get validationMessage() { return _get_validationMessage(this); } |
| 78 static String _get__HTMLButtonElement_validationMessage(var _this) native; | 78 static String _get_validationMessage(var _this) native; |
| 79 | 79 |
| 80 ValidityState get validity() { return _get__HTMLButtonElement_validity(this);
} | 80 ValidityState get validity() { return _get_validity(this); } |
| 81 static ValidityState _get__HTMLButtonElement_validity(var _this) native; | 81 static ValidityState _get_validity(var _this) native; |
| 82 | 82 |
| 83 String get value() { return _get__HTMLButtonElement_value(this); } | 83 String get value() { return _get_value(this); } |
| 84 static String _get__HTMLButtonElement_value(var _this) native; | 84 static String _get_value(var _this) native; |
| 85 | 85 |
| 86 void set value(String value) { _set__HTMLButtonElement_value(this, value); } | 86 void set value(String value) { _set_value(this, value); } |
| 87 static void _set__HTMLButtonElement_value(var _this, String value) native; | 87 static void _set_value(var _this, String value) native; |
| 88 | 88 |
| 89 bool get willValidate() { return _get__HTMLButtonElement_willValidate(this); } | 89 bool get willValidate() { return _get_willValidate(this); } |
| 90 static bool _get__HTMLButtonElement_willValidate(var _this) native; | 90 static bool _get_willValidate(var _this) native; |
| 91 | 91 |
| 92 bool checkValidity() { | 92 bool checkValidity() { |
| 93 return _checkValidity(this); | 93 return _checkValidity(this); |
| 94 } | 94 } |
| 95 static bool _checkValidity(receiver) native; | 95 static bool _checkValidity(receiver) native; |
| 96 | 96 |
| 97 void click() { | 97 void click() { |
| 98 _click(this); | 98 _click(this); |
| 99 return; | 99 return; |
| 100 } | 100 } |
| 101 static void _click(receiver) native; | 101 static void _click(receiver) native; |
| 102 | 102 |
| 103 void setCustomValidity(String error) { | 103 void setCustomValidity(String error) { |
| 104 _setCustomValidity(this, error); | 104 _setCustomValidity(this, error); |
| 105 return; | 105 return; |
| 106 } | 106 } |
| 107 static void _setCustomValidity(receiver, error) native; | 107 static void _setCustomValidity(receiver, error) native; |
| 108 | 108 |
| 109 String get typeName() { return "HTMLButtonElement"; } | 109 String get typeName() { return "HTMLButtonElement"; } |
| 110 } | 110 } |
| OLD | NEW |