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 InputElementWrappingImplementation extends ElementWrappingImplementation i
mplements InputElement { | |
8 InputElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | |
9 | |
10 String get accept() { return _ptr.accept; } | |
11 | |
12 void set accept(String value) { _ptr.accept = value; } | |
13 | |
14 String get accessKey() { return _ptr.accessKey; } | |
15 | |
16 void set accessKey(String value) { _ptr.accessKey = value; } | |
17 | |
18 String get align() { return _ptr.align; } | |
19 | |
20 void set align(String value) { _ptr.align = value; } | |
21 | |
22 String get alt() { return _ptr.alt; } | |
23 | |
24 void set alt(String value) { _ptr.alt = value; } | |
25 | |
26 String get autocomplete() { return _ptr.autocomplete; } | |
27 | |
28 void set autocomplete(String value) { _ptr.autocomplete = value; } | |
29 | |
30 bool get autofocus() { return _ptr.autofocus; } | |
31 | |
32 void set autofocus(bool value) { _ptr.autofocus = value; } | |
33 | |
34 bool get checked() { return _ptr.checked; } | |
35 | |
36 void set checked(bool value) { _ptr.checked = value; } | |
37 | |
38 bool get defaultChecked() { return _ptr.defaultChecked; } | |
39 | |
40 void set defaultChecked(bool value) { _ptr.defaultChecked = value; } | |
41 | |
42 String get defaultValue() { return _ptr.defaultValue; } | |
43 | |
44 void set defaultValue(String value) { _ptr.defaultValue = value; } | |
45 | |
46 bool get disabled() { return _ptr.disabled; } | |
47 | |
48 void set disabled(bool value) { _ptr.disabled = value; } | |
49 | |
50 FileList get files() { return LevelDom.wrapFileList(_ptr.files); } | |
51 | |
52 FormElement get form() { return LevelDom.wrapFormElement(_ptr.form); } | |
53 | |
54 String get formAction() { return _ptr.formAction; } | |
55 | |
56 void set formAction(String value) { _ptr.formAction = value; } | |
57 | |
58 String get formEnctype() { return _ptr.formEnctype; } | |
59 | |
60 void set formEnctype(String value) { _ptr.formEnctype = value; } | |
61 | |
62 String get formMethod() { return _ptr.formMethod; } | |
63 | |
64 void set formMethod(String value) { _ptr.formMethod = value; } | |
65 | |
66 bool get formNoValidate() { return _ptr.formNoValidate; } | |
67 | |
68 void set formNoValidate(bool value) { _ptr.formNoValidate = value; } | |
69 | |
70 String get formTarget() { return _ptr.formTarget; } | |
71 | |
72 void set formTarget(String value) { _ptr.formTarget = value; } | |
73 | |
74 bool get incremental() { return _ptr.incremental; } | |
75 | |
76 void set incremental(bool value) { _ptr.incremental = value; } | |
77 | |
78 bool get indeterminate() { return _ptr.indeterminate; } | |
79 | |
80 void set indeterminate(bool value) { _ptr.indeterminate = value; } | |
81 | |
82 ElementList get labels() { return LevelDom.wrapElementList(_ptr.labels); } | |
83 | |
84 Element get list() { return LevelDom.wrapElement(_ptr.list); } | |
85 | |
86 String get max() { return _ptr.max; } | |
87 | |
88 void set max(String value) { _ptr.max = value; } | |
89 | |
90 int get maxLength() { return _ptr.maxLength; } | |
91 | |
92 void set maxLength(int value) { _ptr.maxLength = value; } | |
93 | |
94 String get min() { return _ptr.min; } | |
95 | |
96 void set min(String value) { _ptr.min = value; } | |
97 | |
98 bool get multiple() { return _ptr.multiple; } | |
99 | |
100 void set multiple(bool value) { _ptr.multiple = value; } | |
101 | |
102 String get name() { return _ptr.name; } | |
103 | |
104 void set name(String value) { _ptr.name = value; } | |
105 | |
106 String get pattern() { return _ptr.pattern; } | |
107 | |
108 void set pattern(String value) { _ptr.pattern = value; } | |
109 | |
110 String get placeholder() { return _ptr.placeholder; } | |
111 | |
112 void set placeholder(String value) { _ptr.placeholder = value; } | |
113 | |
114 bool get readOnly() { return _ptr.readOnly; } | |
115 | |
116 void set readOnly(bool value) { _ptr.readOnly = value; } | |
117 | |
118 bool get required() { return _ptr.required; } | |
119 | |
120 void set required(bool value) { _ptr.required = value; } | |
121 | |
122 OptionElement get selectedOption() { return LevelDom.wrapOptionElement(_ptr.se
lectedOption); } | |
123 | |
124 String get selectionDirection() { return _ptr.selectionDirection; } | |
125 | |
126 void set selectionDirection(String value) { _ptr.selectionDirection = value; } | |
127 | |
128 int get selectionEnd() { return _ptr.selectionEnd; } | |
129 | |
130 void set selectionEnd(int value) { _ptr.selectionEnd = value; } | |
131 | |
132 int get selectionStart() { return _ptr.selectionStart; } | |
133 | |
134 void set selectionStart(int value) { _ptr.selectionStart = value; } | |
135 | |
136 int get size() { return _ptr.size; } | |
137 | |
138 void set size(int value) { _ptr.size = value; } | |
139 | |
140 String get src() { return _ptr.src; } | |
141 | |
142 void set src(String value) { _ptr.src = value; } | |
143 | |
144 String get step() { return _ptr.step; } | |
145 | |
146 void set step(String value) { _ptr.step = value; } | |
147 | |
148 String get type() { return _ptr.type; } | |
149 | |
150 void set type(String value) { _ptr.type = value; } | |
151 | |
152 String get useMap() { return _ptr.useMap; } | |
153 | |
154 void set useMap(String value) { _ptr.useMap = value; } | |
155 | |
156 String get validationMessage() { return _ptr.validationMessage; } | |
157 | |
158 ValidityState get validity() { return LevelDom.wrapValidityState(_ptr.validity
); } | |
159 | |
160 String get value() { return _ptr.value; } | |
161 | |
162 void set value(String value) { _ptr.value = value; } | |
163 | |
164 Date get valueAsDate() { return _ptr.valueAsDate; } | |
165 | |
166 void set valueAsDate(Date value) { _ptr.valueAsDate = value; } | |
167 | |
168 num get valueAsNumber() { return _ptr.valueAsNumber; } | |
169 | |
170 void set valueAsNumber(num value) { _ptr.valueAsNumber = value; } | |
171 | |
172 bool get webkitGrammar() { return _ptr.webkitGrammar; } | |
173 | |
174 void set webkitGrammar(bool value) { _ptr.webkitGrammar = value; } | |
175 | |
176 bool get webkitSpeech() { return _ptr.webkitSpeech; } | |
177 | |
178 void set webkitSpeech(bool value) { _ptr.webkitSpeech = value; } | |
179 | |
180 bool get webkitdirectory() { return _ptr.webkitdirectory; } | |
181 | |
182 void set webkitdirectory(bool value) { _ptr.webkitdirectory = value; } | |
183 | |
184 bool get willValidate() { return _ptr.willValidate; } | |
185 | |
186 bool checkValidity() { | |
187 return _ptr.checkValidity(); | |
188 } | |
189 | |
190 void click() { | |
191 _ptr.click(); | |
192 return; | |
193 } | |
194 | |
195 void select() { | |
196 _ptr.select(); | |
197 return; | |
198 } | |
199 | |
200 void setCustomValidity(String error) { | |
201 _ptr.setCustomValidity(error); | |
202 return; | |
203 } | |
204 | |
205 void setSelectionRange(int start, int end, [String direction = null]) { | |
206 if (direction === null) { | |
207 _ptr.setSelectionRange(start, end); | |
208 return; | |
209 } else { | |
210 _ptr.setSelectionRange(start, end, direction); | |
211 return; | |
212 } | |
213 } | |
214 | |
215 void stepDown([int n = null]) { | |
216 if (n === null) { | |
217 _ptr.stepDown(); | |
218 return; | |
219 } else { | |
220 _ptr.stepDown(n); | |
221 return; | |
222 } | |
223 } | |
224 | |
225 void stepUp([int n = null]) { | |
226 if (n === null) { | |
227 _ptr.stepUp(); | |
228 return; | |
229 } else { | |
230 _ptr.stepUp(n); | |
231 return; | |
232 } | |
233 } | |
234 } | |
OLD | NEW |