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 _HTMLTextAreaElementWrappingImplementation extends _HTMLElementWrappingImp
lementation implements HTMLTextAreaElement { | |
8 _HTMLTextAreaElementWrappingImplementation() : super() {} | |
9 | |
10 static create__HTMLTextAreaElementWrappingImplementation() native { | |
11 return new _HTMLTextAreaElementWrappingImplementation(); | |
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 int get cols() { return _get_cols(this); } | |
21 static int _get_cols(var _this) native; | |
22 | |
23 void set cols(int value) { _set_cols(this, value); } | |
24 static void _set_cols(var _this, int value) native; | |
25 | |
26 String get defaultValue() { return _get_defaultValue(this); } | |
27 static String _get_defaultValue(var _this) native; | |
28 | |
29 void set defaultValue(String value) { _set_defaultValue(this, value); } | |
30 static void _set_defaultValue(var _this, String value) native; | |
31 | |
32 String get dirName() { return _get_dirName(this); } | |
33 static String _get_dirName(var _this) native; | |
34 | |
35 void set dirName(String value) { _set_dirName(this, value); } | |
36 static void _set_dirName(var _this, String value) native; | |
37 | |
38 bool get disabled() { return _get_disabled(this); } | |
39 static bool _get_disabled(var _this) native; | |
40 | |
41 void set disabled(bool value) { _set_disabled(this, value); } | |
42 static void _set_disabled(var _this, bool value) native; | |
43 | |
44 HTMLFormElement get form() { return _get_form(this); } | |
45 static HTMLFormElement _get_form(var _this) native; | |
46 | |
47 NodeList get labels() { return _get_labels(this); } | |
48 static NodeList _get_labels(var _this) native; | |
49 | |
50 int get maxLength() { return _get_maxLength(this); } | |
51 static int _get_maxLength(var _this) native; | |
52 | |
53 void set maxLength(int value) { _set_maxLength(this, value); } | |
54 static void _set_maxLength(var _this, int value) native; | |
55 | |
56 String get name() { return _get_name(this); } | |
57 static String _get_name(var _this) native; | |
58 | |
59 void set name(String value) { _set_name(this, value); } | |
60 static void _set_name(var _this, String value) native; | |
61 | |
62 String get placeholder() { return _get_placeholder(this); } | |
63 static String _get_placeholder(var _this) native; | |
64 | |
65 void set placeholder(String value) { _set_placeholder(this, value); } | |
66 static void _set_placeholder(var _this, String value) native; | |
67 | |
68 bool get readOnly() { return _get_readOnly(this); } | |
69 static bool _get_readOnly(var _this) native; | |
70 | |
71 void set readOnly(bool value) { _set_readOnly(this, value); } | |
72 static void _set_readOnly(var _this, bool value) native; | |
73 | |
74 bool get required() { return _get_required(this); } | |
75 static bool _get_required(var _this) native; | |
76 | |
77 void set required(bool value) { _set_required(this, value); } | |
78 static void _set_required(var _this, bool value) native; | |
79 | |
80 int get rows() { return _get_rows(this); } | |
81 static int _get_rows(var _this) native; | |
82 | |
83 void set rows(int value) { _set_rows(this, value); } | |
84 static void _set_rows(var _this, int value) native; | |
85 | |
86 String get selectionDirection() { return _get_selectionDirection(this); } | |
87 static String _get_selectionDirection(var _this) native; | |
88 | |
89 void set selectionDirection(String value) { _set_selectionDirection(this, valu
e); } | |
90 static void _set_selectionDirection(var _this, String value) native; | |
91 | |
92 int get selectionEnd() { return _get_selectionEnd(this); } | |
93 static int _get_selectionEnd(var _this) native; | |
94 | |
95 void set selectionEnd(int value) { _set_selectionEnd(this, value); } | |
96 static void _set_selectionEnd(var _this, int value) native; | |
97 | |
98 int get selectionStart() { return _get_selectionStart(this); } | |
99 static int _get_selectionStart(var _this) native; | |
100 | |
101 void set selectionStart(int value) { _set_selectionStart(this, value); } | |
102 static void _set_selectionStart(var _this, int value) native; | |
103 | |
104 int get textLength() { return _get_textLength(this); } | |
105 static int _get_textLength(var _this) native; | |
106 | |
107 String get type() { return _get_type(this); } | |
108 static String _get_type(var _this) native; | |
109 | |
110 String get validationMessage() { return _get_validationMessage(this); } | |
111 static String _get_validationMessage(var _this) native; | |
112 | |
113 ValidityState get validity() { return _get_validity(this); } | |
114 static ValidityState _get_validity(var _this) native; | |
115 | |
116 String get value() { return _get_value(this); } | |
117 static String _get_value(var _this) native; | |
118 | |
119 void set value(String value) { _set_value(this, value); } | |
120 static void _set_value(var _this, String value) native; | |
121 | |
122 bool get willValidate() { return _get_willValidate(this); } | |
123 static bool _get_willValidate(var _this) native; | |
124 | |
125 String get wrap() { return _get_wrap(this); } | |
126 static String _get_wrap(var _this) native; | |
127 | |
128 void set wrap(String value) { _set_wrap(this, value); } | |
129 static void _set_wrap(var _this, String value) native; | |
130 | |
131 bool checkValidity() { | |
132 return _checkValidity(this); | |
133 } | |
134 static bool _checkValidity(receiver) native; | |
135 | |
136 void select() { | |
137 _select(this); | |
138 return; | |
139 } | |
140 static void _select(receiver) native; | |
141 | |
142 void setCustomValidity(String error) { | |
143 _setCustomValidity(this, error); | |
144 return; | |
145 } | |
146 static void _setCustomValidity(receiver, error) native; | |
147 | |
148 void setSelectionRange(int start, int end, [String direction = null]) { | |
149 if (direction === null) { | |
150 _setSelectionRange(this, start, end); | |
151 return; | |
152 } else { | |
153 _setSelectionRange_2(this, start, end, direction); | |
154 return; | |
155 } | |
156 } | |
157 static void _setSelectionRange(receiver, start, end) native; | |
158 static void _setSelectionRange_2(receiver, start, end, direction) native; | |
159 | |
160 String get typeName() { return "HTMLTextAreaElement"; } | |
161 } | |
OLD | NEW |