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 _HTMLButtonElementWrappingImplementation extends _HTMLElementWrappingImple
mentation implements HTMLButtonElement { | |
8 _HTMLButtonElementWrappingImplementation() : super() {} | |
9 | |
10 static create__HTMLButtonElementWrappingImplementation() native { | |
11 return new _HTMLButtonElementWrappingImplementation(); | |
12 } | |
13 | |
14 bool get autofocus() { return _get_autofocus(this); } | |
15 static bool _get_autofocus(var _this) native; | |
16 | |
17 void set autofocus(bool value) { _set_autofocus(this, value); } | |
18 static void _set_autofocus(var _this, bool value) native; | |
19 | |
20 bool get disabled() { return _get_disabled(this); } | |
21 static bool _get_disabled(var _this) native; | |
22 | |
23 void set disabled(bool value) { _set_disabled(this, value); } | |
24 static void _set_disabled(var _this, bool value) native; | |
25 | |
26 HTMLFormElement get form() { return _get_form(this); } | |
27 static HTMLFormElement _get_form(var _this) native; | |
28 | |
29 String get formAction() { return _get_formAction(this); } | |
30 static String _get_formAction(var _this) native; | |
31 | |
32 void set formAction(String value) { _set_formAction(this, value); } | |
33 static void _set_formAction(var _this, String value) native; | |
34 | |
35 String get formEnctype() { return _get_formEnctype(this); } | |
36 static String _get_formEnctype(var _this) native; | |
37 | |
38 void set formEnctype(String value) { _set_formEnctype(this, value); } | |
39 static void _set_formEnctype(var _this, String value) native; | |
40 | |
41 String get formMethod() { return _get_formMethod(this); } | |
42 static String _get_formMethod(var _this) native; | |
43 | |
44 void set formMethod(String value) { _set_formMethod(this, value); } | |
45 static void _set_formMethod(var _this, String value) native; | |
46 | |
47 bool get formNoValidate() { return _get_formNoValidate(this); } | |
48 static bool _get_formNoValidate(var _this) native; | |
49 | |
50 void set formNoValidate(bool value) { _set_formNoValidate(this, value); } | |
51 static void _set_formNoValidate(var _this, bool value) native; | |
52 | |
53 String get formTarget() { return _get_formTarget(this); } | |
54 static String _get_formTarget(var _this) native; | |
55 | |
56 void set formTarget(String value) { _set_formTarget(this, value); } | |
57 static void _set_formTarget(var _this, String value) native; | |
58 | |
59 NodeList get labels() { return _get_labels(this); } | |
60 static NodeList _get_labels(var _this) native; | |
61 | |
62 String get name() { return _get_name(this); } | |
63 static String _get_name(var _this) native; | |
64 | |
65 void set name(String value) { _set_name(this, value); } | |
66 static void _set_name(var _this, String value) native; | |
67 | |
68 String get type() { return _get_type(this); } | |
69 static String _get_type(var _this) native; | |
70 | |
71 String get validationMessage() { return _get_validationMessage(this); } | |
72 static String _get_validationMessage(var _this) native; | |
73 | |
74 ValidityState get validity() { return _get_validity(this); } | |
75 static ValidityState _get_validity(var _this) native; | |
76 | |
77 String get value() { return _get_value(this); } | |
78 static String _get_value(var _this) native; | |
79 | |
80 void set value(String value) { _set_value(this, value); } | |
81 static void _set_value(var _this, String value) native; | |
82 | |
83 bool get willValidate() { return _get_willValidate(this); } | |
84 static bool _get_willValidate(var _this) native; | |
85 | |
86 bool checkValidity() { | |
87 return _checkValidity(this); | |
88 } | |
89 static bool _checkValidity(receiver) native; | |
90 | |
91 void setCustomValidity(String error) { | |
92 _setCustomValidity(this, error); | |
93 return; | |
94 } | |
95 static void _setCustomValidity(receiver, error) native; | |
96 | |
97 String get typeName() { return "HTMLButtonElement"; } | |
98 } | |
OLD | NEW |