| 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 _HTMLOptionsCollectionWrappingImplementation extends _HTMLCollectionWrappi
ngImplementation implements HTMLOptionsCollection { | 7 class _HTMLOptionsCollectionWrappingImplementation extends _HTMLCollectionWrappi
ngImplementation implements HTMLOptionsCollection { |
| 8 _HTMLOptionsCollectionWrappingImplementation() : super() {} | 8 _HTMLOptionsCollectionWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__HTMLOptionsCollectionWrappingImplementation() native { | 10 static create__HTMLOptionsCollectionWrappingImplementation() native { |
| 11 return new _HTMLOptionsCollectionWrappingImplementation(); | 11 return new _HTMLOptionsCollectionWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 int get length() { return _get__HTMLOptionsCollection_length(this); } | 14 int get length() { return _get_length_HTMLOptionsCollection(this); } |
| 15 static int _get__HTMLOptionsCollection_length(var _this) native; | 15 static int _get_length_HTMLOptionsCollection(var _this) native; |
| 16 | 16 |
| 17 void set length(int value) { _set__HTMLOptionsCollection_length(this, value);
} | 17 void set length(int value) { _set_length_HTMLOptionsCollection(this, value); } |
| 18 static void _set__HTMLOptionsCollection_length(var _this, int value) native; | 18 static void _set_length_HTMLOptionsCollection(var _this, int value) native; |
| 19 | 19 |
| 20 int get selectedIndex() { return _get__HTMLOptionsCollection_selectedIndex(thi
s); } | 20 int get selectedIndex() { return _get_selectedIndex(this); } |
| 21 static int _get__HTMLOptionsCollection_selectedIndex(var _this) native; | 21 static int _get_selectedIndex(var _this) native; |
| 22 | 22 |
| 23 void set selectedIndex(int value) { _set__HTMLOptionsCollection_selectedIndex(
this, value); } | 23 void set selectedIndex(int value) { _set_selectedIndex(this, value); } |
| 24 static void _set__HTMLOptionsCollection_selectedIndex(var _this, int value) na
tive; | 24 static void _set_selectedIndex(var _this, int value) native; |
| 25 | 25 |
| 26 void remove(int index) { | 26 void remove(int index) { |
| 27 _remove(this, index); | 27 _remove(this, index); |
| 28 return; | 28 return; |
| 29 } | 29 } |
| 30 static void _remove(receiver, index) native; | 30 static void _remove(receiver, index) native; |
| 31 | 31 |
| 32 String get typeName() { return "HTMLOptionsCollection"; } | 32 String get typeName() { return "HTMLOptionsCollection"; } |
| 33 } | 33 } |
| OLD | NEW |