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 SelectElementWrappingImplementation extends ElementWrappingImplementation
implements SelectElement { | |
8 SelectElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | |
9 | |
10 bool get autofocus() { return _ptr.autofocus; } | |
11 | |
12 void set autofocus(bool value) { _ptr.autofocus = value; } | |
13 | |
14 bool get disabled() { return _ptr.disabled; } | |
15 | |
16 void set disabled(bool value) { _ptr.disabled = value; } | |
17 | |
18 FormElement get form() { return LevelDom.wrapFormElement(_ptr.form); } | |
19 | |
20 ElementList get labels() { return LevelDom.wrapElementList(_ptr.labels); } | |
21 | |
22 int get length() { return _ptr.length; } | |
23 | |
24 void set length(int value) { _ptr.length = value; } | |
25 | |
26 bool get multiple() { return _ptr.multiple; } | |
27 | |
28 void set multiple(bool value) { _ptr.multiple = value; } | |
29 | |
30 String get name() { return _ptr.name; } | |
31 | |
32 void set name(String value) { _ptr.name = value; } | |
33 | |
34 ElementList get options() { return LevelDom.wrapElementList(_ptr.options); } | |
35 | |
36 bool get required() { return _ptr.required; } | |
37 | |
38 void set required(bool value) { _ptr.required = value; } | |
39 | |
40 int get selectedIndex() { return _ptr.selectedIndex; } | |
41 | |
42 void set selectedIndex(int value) { _ptr.selectedIndex = value; } | |
43 | |
44 int get size() { return _ptr.size; } | |
45 | |
46 void set size(int value) { _ptr.size = value; } | |
47 | |
48 String get type() { return _ptr.type; } | |
49 | |
50 String get validationMessage() { return _ptr.validationMessage; } | |
51 | |
52 ValidityState get validity() { return LevelDom.wrapValidityState(_ptr.validity
); } | |
53 | |
54 String get value() { return _ptr.value; } | |
55 | |
56 void set value(String value) { _ptr.value = value; } | |
57 | |
58 bool get willValidate() { return _ptr.willValidate; } | |
59 | |
60 void add(Element element, Element before) { | |
61 _ptr.add(LevelDom.unwrap(element), LevelDom.unwrap(before)); | |
62 return; | |
63 } | |
64 | |
65 bool checkValidity() { | |
66 return _ptr.checkValidity(); | |
67 } | |
68 | |
69 Node item(int index) { | |
70 return LevelDom.wrapNode(_ptr.item(index)); | |
71 } | |
72 | |
73 Node namedItem(String name) { | |
74 return LevelDom.wrapNode(_ptr.namedItem(name)); | |
75 } | |
76 | |
77 void setCustomValidity(String error) { | |
78 _ptr.setCustomValidity(error); | |
79 return; | |
80 } | |
81 } | |
OLD | NEW |