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 ButtonElementWrappingImplementation extends ElementWrappingImplementation
implements ButtonElement { | |
8 ButtonElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | |
9 | |
10 String get accessKey() { return _ptr.accessKey; } | |
11 | |
12 void set accessKey(String value) { _ptr.accessKey = value; } | |
13 | |
14 bool get autofocus() { return _ptr.autofocus; } | |
15 | |
16 void set autofocus(bool value) { _ptr.autofocus = value; } | |
17 | |
18 bool get disabled() { return _ptr.disabled; } | |
19 | |
20 void set disabled(bool value) { _ptr.disabled = value; } | |
21 | |
22 FormElement get form() { return LevelDom.wrapFormElement(_ptr.form); } | |
23 | |
24 String get formAction() { return _ptr.formAction; } | |
25 | |
26 void set formAction(String value) { _ptr.formAction = value; } | |
27 | |
28 String get formEnctype() { return _ptr.formEnctype; } | |
29 | |
30 void set formEnctype(String value) { _ptr.formEnctype = value; } | |
31 | |
32 String get formMethod() { return _ptr.formMethod; } | |
33 | |
34 void set formMethod(String value) { _ptr.formMethod = value; } | |
35 | |
36 bool get formNoValidate() { return _ptr.formNoValidate; } | |
37 | |
38 void set formNoValidate(bool value) { _ptr.formNoValidate = value; } | |
39 | |
40 String get formTarget() { return _ptr.formTarget; } | |
41 | |
42 void set formTarget(String value) { _ptr.formTarget = value; } | |
43 | |
44 ElementList get labels() { return LevelDom.wrapElementList(_ptr.labels); } | |
45 | |
46 String get name() { return _ptr.name; } | |
47 | |
48 void set name(String value) { _ptr.name = value; } | |
49 | |
50 String get type() { return _ptr.type; } | |
51 | |
52 String get validationMessage() { return _ptr.validationMessage; } | |
53 | |
54 ValidityState get validity() { return LevelDom.wrapValidityState(_ptr.validity
); } | |
55 | |
56 String get value() { return _ptr.value; } | |
57 | |
58 void set value(String value) { _ptr.value = value; } | |
59 | |
60 bool get willValidate() { return _ptr.willValidate; } | |
61 | |
62 bool checkValidity() { | |
63 return _ptr.checkValidity(); | |
64 } | |
65 | |
66 void click() { | |
67 _ptr.click(); | |
68 return; | |
69 } | |
70 | |
71 void setCustomValidity(String error) { | |
72 _ptr.setCustomValidity(error); | |
73 return; | |
74 } | |
75 } | |
OLD | NEW |