| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 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 | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 class _HTMLTextAreaElementWrappingImplementation extends _HTMLElementWrappingImp
lementation implements HTMLTextAreaElement { | 7 class _HTMLTextAreaElementWrappingImplementation extends _HTMLElementWrappingImp
lementation implements HTMLTextAreaElement { |
| 8 _HTMLTextAreaElementWrappingImplementation() : super() {} | 8 _HTMLTextAreaElementWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__HTMLTextAreaElementWrappingImplementation() native { | 10 static create__HTMLTextAreaElementWrappingImplementation() native { |
| 11 return new _HTMLTextAreaElementWrappingImplementation(); | 11 return new _HTMLTextAreaElementWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 String get accessKey() { return _get__HTMLTextAreaElement_accessKey(this); } | 14 String get accessKey() { return _get_accessKey(this); } |
| 15 static String _get__HTMLTextAreaElement_accessKey(var _this) native; | 15 static String _get_accessKey(var _this) native; |
| 16 | 16 |
| 17 void set accessKey(String value) { _set__HTMLTextAreaElement_accessKey(this, v
alue); } | 17 void set accessKey(String value) { _set_accessKey(this, value); } |
| 18 static void _set__HTMLTextAreaElement_accessKey(var _this, String value) nativ
e; | 18 static void _set_accessKey(var _this, String value) native; |
| 19 | 19 |
| 20 bool get autofocus() { return _get__HTMLTextAreaElement_autofocus(this); } | 20 bool get autofocus() { return _get_autofocus(this); } |
| 21 static bool _get__HTMLTextAreaElement_autofocus(var _this) native; | 21 static bool _get_autofocus(var _this) native; |
| 22 | 22 |
| 23 void set autofocus(bool value) { _set__HTMLTextAreaElement_autofocus(this, val
ue); } | 23 void set autofocus(bool value) { _set_autofocus(this, value); } |
| 24 static void _set__HTMLTextAreaElement_autofocus(var _this, bool value) native; | 24 static void _set_autofocus(var _this, bool value) native; |
| 25 | 25 |
| 26 int get cols() { return _get__HTMLTextAreaElement_cols(this); } | 26 int get cols() { return _get_cols(this); } |
| 27 static int _get__HTMLTextAreaElement_cols(var _this) native; | 27 static int _get_cols(var _this) native; |
| 28 | 28 |
| 29 void set cols(int value) { _set__HTMLTextAreaElement_cols(this, value); } | 29 void set cols(int value) { _set_cols(this, value); } |
| 30 static void _set__HTMLTextAreaElement_cols(var _this, int value) native; | 30 static void _set_cols(var _this, int value) native; |
| 31 | 31 |
| 32 String get defaultValue() { return _get__HTMLTextAreaElement_defaultValue(this
); } | 32 String get defaultValue() { return _get_defaultValue(this); } |
| 33 static String _get__HTMLTextAreaElement_defaultValue(var _this) native; | 33 static String _get_defaultValue(var _this) native; |
| 34 | 34 |
| 35 void set defaultValue(String value) { _set__HTMLTextAreaElement_defaultValue(t
his, value); } | 35 void set defaultValue(String value) { _set_defaultValue(this, value); } |
| 36 static void _set__HTMLTextAreaElement_defaultValue(var _this, String value) na
tive; | 36 static void _set_defaultValue(var _this, String value) native; |
| 37 | 37 |
| 38 bool get disabled() { return _get__HTMLTextAreaElement_disabled(this); } | 38 bool get disabled() { return _get_disabled(this); } |
| 39 static bool _get__HTMLTextAreaElement_disabled(var _this) native; | 39 static bool _get_disabled(var _this) native; |
| 40 | 40 |
| 41 void set disabled(bool value) { _set__HTMLTextAreaElement_disabled(this, value
); } | 41 void set disabled(bool value) { _set_disabled(this, value); } |
| 42 static void _set__HTMLTextAreaElement_disabled(var _this, bool value) native; | 42 static void _set_disabled(var _this, bool value) native; |
| 43 | 43 |
| 44 HTMLFormElement get form() { return _get__HTMLTextAreaElement_form(this); } | 44 HTMLFormElement get form() { return _get_form(this); } |
| 45 static HTMLFormElement _get__HTMLTextAreaElement_form(var _this) native; | 45 static HTMLFormElement _get_form(var _this) native; |
| 46 | 46 |
| 47 NodeList get labels() { return _get__HTMLTextAreaElement_labels(this); } | 47 NodeList get labels() { return _get_labels(this); } |
| 48 static NodeList _get__HTMLTextAreaElement_labels(var _this) native; | 48 static NodeList _get_labels(var _this) native; |
| 49 | 49 |
| 50 int get maxLength() { return _get__HTMLTextAreaElement_maxLength(this); } | 50 int get maxLength() { return _get_maxLength(this); } |
| 51 static int _get__HTMLTextAreaElement_maxLength(var _this) native; | 51 static int _get_maxLength(var _this) native; |
| 52 | 52 |
| 53 void set maxLength(int value) { _set__HTMLTextAreaElement_maxLength(this, valu
e); } | 53 void set maxLength(int value) { _set_maxLength(this, value); } |
| 54 static void _set__HTMLTextAreaElement_maxLength(var _this, int value) native; | 54 static void _set_maxLength(var _this, int value) native; |
| 55 | 55 |
| 56 String get name() { return _get__HTMLTextAreaElement_name(this); } | 56 String get name() { return _get_name(this); } |
| 57 static String _get__HTMLTextAreaElement_name(var _this) native; | 57 static String _get_name(var _this) native; |
| 58 | 58 |
| 59 void set name(String value) { _set__HTMLTextAreaElement_name(this, value); } | 59 void set name(String value) { _set_name(this, value); } |
| 60 static void _set__HTMLTextAreaElement_name(var _this, String value) native; | 60 static void _set_name(var _this, String value) native; |
| 61 | 61 |
| 62 String get placeholder() { return _get__HTMLTextAreaElement_placeholder(this);
} | 62 String get placeholder() { return _get_placeholder(this); } |
| 63 static String _get__HTMLTextAreaElement_placeholder(var _this) native; | 63 static String _get_placeholder(var _this) native; |
| 64 | 64 |
| 65 void set placeholder(String value) { _set__HTMLTextAreaElement_placeholder(thi
s, value); } | 65 void set placeholder(String value) { _set_placeholder(this, value); } |
| 66 static void _set__HTMLTextAreaElement_placeholder(var _this, String value) nat
ive; | 66 static void _set_placeholder(var _this, String value) native; |
| 67 | 67 |
| 68 bool get readOnly() { return _get__HTMLTextAreaElement_readOnly(this); } | 68 bool get readOnly() { return _get_readOnly(this); } |
| 69 static bool _get__HTMLTextAreaElement_readOnly(var _this) native; | 69 static bool _get_readOnly(var _this) native; |
| 70 | 70 |
| 71 void set readOnly(bool value) { _set__HTMLTextAreaElement_readOnly(this, value
); } | 71 void set readOnly(bool value) { _set_readOnly(this, value); } |
| 72 static void _set__HTMLTextAreaElement_readOnly(var _this, bool value) native; | 72 static void _set_readOnly(var _this, bool value) native; |
| 73 | 73 |
| 74 bool get required() { return _get__HTMLTextAreaElement_required(this); } | 74 bool get required() { return _get_required(this); } |
| 75 static bool _get__HTMLTextAreaElement_required(var _this) native; | 75 static bool _get_required(var _this) native; |
| 76 | 76 |
| 77 void set required(bool value) { _set__HTMLTextAreaElement_required(this, value
); } | 77 void set required(bool value) { _set_required(this, value); } |
| 78 static void _set__HTMLTextAreaElement_required(var _this, bool value) native; | 78 static void _set_required(var _this, bool value) native; |
| 79 | 79 |
| 80 int get rows() { return _get__HTMLTextAreaElement_rows(this); } | 80 int get rows() { return _get_rows(this); } |
| 81 static int _get__HTMLTextAreaElement_rows(var _this) native; | 81 static int _get_rows(var _this) native; |
| 82 | 82 |
| 83 void set rows(int value) { _set__HTMLTextAreaElement_rows(this, value); } | 83 void set rows(int value) { _set_rows(this, value); } |
| 84 static void _set__HTMLTextAreaElement_rows(var _this, int value) native; | 84 static void _set_rows(var _this, int value) native; |
| 85 | 85 |
| 86 String get selectionDirection() { return _get__HTMLTextAreaElement_selectionDi
rection(this); } | 86 String get selectionDirection() { return _get_selectionDirection(this); } |
| 87 static String _get__HTMLTextAreaElement_selectionDirection(var _this) native; | 87 static String _get_selectionDirection(var _this) native; |
| 88 | 88 |
| 89 void set selectionDirection(String value) { _set__HTMLTextAreaElement_selectio
nDirection(this, value); } | 89 void set selectionDirection(String value) { _set_selectionDirection(this, valu
e); } |
| 90 static void _set__HTMLTextAreaElement_selectionDirection(var _this, String val
ue) native; | 90 static void _set_selectionDirection(var _this, String value) native; |
| 91 | 91 |
| 92 int get selectionEnd() { return _get__HTMLTextAreaElement_selectionEnd(this);
} | 92 int get selectionEnd() { return _get_selectionEnd(this); } |
| 93 static int _get__HTMLTextAreaElement_selectionEnd(var _this) native; | 93 static int _get_selectionEnd(var _this) native; |
| 94 | 94 |
| 95 void set selectionEnd(int value) { _set__HTMLTextAreaElement_selectionEnd(this
, value); } | 95 void set selectionEnd(int value) { _set_selectionEnd(this, value); } |
| 96 static void _set__HTMLTextAreaElement_selectionEnd(var _this, int value) nativ
e; | 96 static void _set_selectionEnd(var _this, int value) native; |
| 97 | 97 |
| 98 int get selectionStart() { return _get__HTMLTextAreaElement_selectionStart(thi
s); } | 98 int get selectionStart() { return _get_selectionStart(this); } |
| 99 static int _get__HTMLTextAreaElement_selectionStart(var _this) native; | 99 static int _get_selectionStart(var _this) native; |
| 100 | 100 |
| 101 void set selectionStart(int value) { _set__HTMLTextAreaElement_selectionStart(
this, value); } | 101 void set selectionStart(int value) { _set_selectionStart(this, value); } |
| 102 static void _set__HTMLTextAreaElement_selectionStart(var _this, int value) nat
ive; | 102 static void _set_selectionStart(var _this, int value) native; |
| 103 | 103 |
| 104 int get textLength() { return _get__HTMLTextAreaElement_textLength(this); } | 104 int get textLength() { return _get_textLength(this); } |
| 105 static int _get__HTMLTextAreaElement_textLength(var _this) native; | 105 static int _get_textLength(var _this) native; |
| 106 | 106 |
| 107 String get type() { return _get__HTMLTextAreaElement_type(this); } | 107 String get type() { return _get_type(this); } |
| 108 static String _get__HTMLTextAreaElement_type(var _this) native; | 108 static String _get_type(var _this) native; |
| 109 | 109 |
| 110 String get validationMessage() { return _get__HTMLTextAreaElement_validationMe
ssage(this); } | 110 String get validationMessage() { return _get_validationMessage(this); } |
| 111 static String _get__HTMLTextAreaElement_validationMessage(var _this) native; | 111 static String _get_validationMessage(var _this) native; |
| 112 | 112 |
| 113 ValidityState get validity() { return _get__HTMLTextAreaElement_validity(this)
; } | 113 ValidityState get validity() { return _get_validity(this); } |
| 114 static ValidityState _get__HTMLTextAreaElement_validity(var _this) native; | 114 static ValidityState _get_validity(var _this) native; |
| 115 | 115 |
| 116 String get value() { return _get__HTMLTextAreaElement_value(this); } | 116 String get value() { return _get_value(this); } |
| 117 static String _get__HTMLTextAreaElement_value(var _this) native; | 117 static String _get_value(var _this) native; |
| 118 | 118 |
| 119 void set value(String value) { _set__HTMLTextAreaElement_value(this, value); } | 119 void set value(String value) { _set_value(this, value); } |
| 120 static void _set__HTMLTextAreaElement_value(var _this, String value) native; | 120 static void _set_value(var _this, String value) native; |
| 121 | 121 |
| 122 bool get willValidate() { return _get__HTMLTextAreaElement_willValidate(this);
} | 122 bool get willValidate() { return _get_willValidate(this); } |
| 123 static bool _get__HTMLTextAreaElement_willValidate(var _this) native; | 123 static bool _get_willValidate(var _this) native; |
| 124 | 124 |
| 125 String get wrap() { return _get__HTMLTextAreaElement_wrap(this); } | 125 String get wrap() { return _get_wrap(this); } |
| 126 static String _get__HTMLTextAreaElement_wrap(var _this) native; | 126 static String _get_wrap(var _this) native; |
| 127 | 127 |
| 128 void set wrap(String value) { _set__HTMLTextAreaElement_wrap(this, value); } | 128 void set wrap(String value) { _set_wrap(this, value); } |
| 129 static void _set__HTMLTextAreaElement_wrap(var _this, String value) native; | 129 static void _set_wrap(var _this, String value) native; |
| 130 | 130 |
| 131 bool checkValidity() { | 131 bool checkValidity() { |
| 132 return _checkValidity(this); | 132 return _checkValidity(this); |
| 133 } | 133 } |
| 134 static bool _checkValidity(receiver) native; | 134 static bool _checkValidity(receiver) native; |
| 135 | 135 |
| 136 void select() { | 136 void select() { |
| 137 _select(this); | 137 _select(this); |
| 138 return; | 138 return; |
| 139 } | 139 } |
| (...skipping 12 matching lines...) Expand all Loading... |
| 152 } else { | 152 } else { |
| 153 _setSelectionRange_2(this, start, end, direction); | 153 _setSelectionRange_2(this, start, end, direction); |
| 154 return; | 154 return; |
| 155 } | 155 } |
| 156 } | 156 } |
| 157 static void _setSelectionRange(receiver, start, end) native; | 157 static void _setSelectionRange(receiver, start, end) native; |
| 158 static void _setSelectionRange_2(receiver, start, end, direction) native; | 158 static void _setSelectionRange_2(receiver, start, end, direction) native; |
| 159 | 159 |
| 160 String get typeName() { return "HTMLTextAreaElement"; } | 160 String get typeName() { return "HTMLTextAreaElement"; } |
| 161 } | 161 } |
| OLD | NEW |