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 TextAreaElementWrappingImplementation extends ElementWrappingImplementatio
n implements TextAreaElement { | |
8 TextAreaElementWrappingImplementation._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 int get cols() { return _ptr.cols; } | |
19 | |
20 void set cols(int value) { _ptr.cols = value; } | |
21 | |
22 String get defaultValue() { return _ptr.defaultValue; } | |
23 | |
24 void set defaultValue(String value) { _ptr.defaultValue = value; } | |
25 | |
26 bool get disabled() { return _ptr.disabled; } | |
27 | |
28 void set disabled(bool value) { _ptr.disabled = value; } | |
29 | |
30 FormElement get form() { return LevelDom.wrapFormElement(_ptr.form); } | |
31 | |
32 ElementList get labels() { return LevelDom.wrapElementList(_ptr.labels); } | |
33 | |
34 int get maxLength() { return _ptr.maxLength; } | |
35 | |
36 void set maxLength(int value) { _ptr.maxLength = value; } | |
37 | |
38 String get name() { return _ptr.name; } | |
39 | |
40 void set name(String value) { _ptr.name = value; } | |
41 | |
42 String get placeholder() { return _ptr.placeholder; } | |
43 | |
44 void set placeholder(String value) { _ptr.placeholder = value; } | |
45 | |
46 bool get readOnly() { return _ptr.readOnly; } | |
47 | |
48 void set readOnly(bool value) { _ptr.readOnly = value; } | |
49 | |
50 bool get required() { return _ptr.required; } | |
51 | |
52 void set required(bool value) { _ptr.required = value; } | |
53 | |
54 int get rows() { return _ptr.rows; } | |
55 | |
56 void set rows(int value) { _ptr.rows = value; } | |
57 | |
58 String get selectionDirection() { return _ptr.selectionDirection; } | |
59 | |
60 void set selectionDirection(String value) { _ptr.selectionDirection = value; } | |
61 | |
62 int get selectionEnd() { return _ptr.selectionEnd; } | |
63 | |
64 void set selectionEnd(int value) { _ptr.selectionEnd = value; } | |
65 | |
66 int get selectionStart() { return _ptr.selectionStart; } | |
67 | |
68 void set selectionStart(int value) { _ptr.selectionStart = value; } | |
69 | |
70 int get textLength() { return _ptr.textLength; } | |
71 | |
72 String get type() { return _ptr.type; } | |
73 | |
74 String get validationMessage() { return _ptr.validationMessage; } | |
75 | |
76 ValidityState get validity() { return LevelDom.wrapValidityState(_ptr.validity
); } | |
77 | |
78 String get value() { return _ptr.value; } | |
79 | |
80 void set value(String value) { _ptr.value = value; } | |
81 | |
82 bool get willValidate() { return _ptr.willValidate; } | |
83 | |
84 String get wrap() { return _ptr.wrap; } | |
85 | |
86 void set wrap(String value) { _ptr.wrap = value; } | |
87 | |
88 bool checkValidity() { | |
89 return _ptr.checkValidity(); | |
90 } | |
91 | |
92 void select() { | |
93 _ptr.select(); | |
94 return; | |
95 } | |
96 | |
97 void setCustomValidity(String error) { | |
98 _ptr.setCustomValidity(error); | |
99 return; | |
100 } | |
101 | |
102 void setSelectionRange(int start, int end, [String direction]) { | |
103 if (direction === null) { | |
104 _ptr.setSelectionRange(start, end); | |
105 return; | |
106 } else { | |
107 _ptr.setSelectionRange(start, end, direction); | |
108 return; | |
109 } | |
110 } | |
111 } | |
OLD | NEW |