| OLD | NEW |
| 1 library dart.dom.svg; | 1 library dart.dom.svg; |
| 2 | 2 |
| 3 import 'dart:async'; | 3 import 'dart:async'; |
| 4 import 'dart:collection'; | 4 import 'dart:collection'; |
| 5 import 'dart:_collection-dev'; | 5 import 'dart:_collection-dev'; |
| 6 import 'dart:html'; | 6 import 'dart:html'; |
| 7 import 'dart:html_common'; | 7 import 'dart:html_common'; |
| 8 import 'dart:nativewrappers'; | 8 import 'dart:nativewrappers'; |
| 9 // DO NOT EDIT | 9 // DO NOT EDIT |
| 10 // Auto-generated dart:svg library. | 10 // Auto-generated dart:svg library. |
| (...skipping 3248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3259 } | 3259 } |
| 3260 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3260 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3261 // for details. All rights reserved. Use of this source code is governed by a | 3261 // for details. All rights reserved. Use of this source code is governed by a |
| 3262 // BSD-style license that can be found in the LICENSE file. | 3262 // BSD-style license that can be found in the LICENSE file. |
| 3263 | 3263 |
| 3264 // WARNING: Do not edit - generated code. | 3264 // WARNING: Do not edit - generated code. |
| 3265 | 3265 |
| 3266 | 3266 |
| 3267 @DocsEditable | 3267 @DocsEditable |
| 3268 @DomName('SVGLengthList') | 3268 @DomName('SVGLengthList') |
| 3269 class LengthList extends NativeFieldWrapperClass1 implements List<Length> { | 3269 class LengthList extends NativeFieldWrapperClass1 with ListMixin<Length>, Immuta
bleListMixin<Length> implements List<Length> { |
| 3270 LengthList.internal(); | 3270 LengthList.internal(); |
| 3271 | 3271 |
| 3272 @DomName('SVGLengthList.numberOfItems') | 3272 @DomName('SVGLengthList.numberOfItems') |
| 3273 @DocsEditable | 3273 @DocsEditable |
| 3274 int get numberOfItems native "SVGLengthList_numberOfItems_Getter"; | 3274 int get numberOfItems native "SVGLengthList_numberOfItems_Getter"; |
| 3275 | 3275 |
| 3276 Length operator[](int index) native "SVGLengthList_item_Callback"; | 3276 Length operator[](int index) native "SVGLengthList_item_Callback"; |
| 3277 | 3277 |
| 3278 void operator[]=(int index, Length value) { | 3278 void operator[]=(int index, Length value) { |
| 3279 throw new UnsupportedError("Cannot assign element of immutable List."); | 3279 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 3280 } | 3280 } |
| 3281 // -- start List<Length> mixins. | 3281 // -- start List<Length> mixins. |
| 3282 // Length is the element type. | 3282 // Length is the element type. |
| 3283 | 3283 |
| 3284 // From Iterable<Length>: | |
| 3285 | |
| 3286 Iterator<Length> get iterator { | |
| 3287 // Note: NodeLists are not fixed size. And most probably length shouldn't | |
| 3288 // be cached in both iterator _and_ forEach method. For now caching it | |
| 3289 // for consistency. | |
| 3290 return new FixedSizeListIterator<Length>(this); | |
| 3291 } | |
| 3292 | |
| 3293 // SVG Collections expose numberOfItems rather than length. | 3284 // SVG Collections expose numberOfItems rather than length. |
| 3294 int get length => numberOfItems; | 3285 int get length => numberOfItems; |
| 3295 Length reduce(Length combine(Length value, Length element)) { | |
| 3296 return IterableMixinWorkaround.reduce(this, combine); | |
| 3297 } | |
| 3298 | 3286 |
| 3299 dynamic fold(dynamic initialValue, | |
| 3300 dynamic combine(dynamic previousValue, Length element)) { | |
| 3301 return IterableMixinWorkaround.fold(this, initialValue, combine); | |
| 3302 } | |
| 3303 | |
| 3304 bool contains(Length element) => IterableMixinWorkaround.contains(this, elemen
t); | |
| 3305 | |
| 3306 void forEach(void f(Length element)) => IterableMixinWorkaround.forEach(this,
f); | |
| 3307 | |
| 3308 String join([String separator = ""]) => | |
| 3309 IterableMixinWorkaround.joinList(this, separator); | |
| 3310 | |
| 3311 Iterable map(f(Length element)) => | |
| 3312 IterableMixinWorkaround.mapList(this, f); | |
| 3313 | |
| 3314 Iterable<Length> where(bool f(Length element)) => | |
| 3315 IterableMixinWorkaround.where(this, f); | |
| 3316 | |
| 3317 Iterable expand(Iterable f(Length element)) => | |
| 3318 IterableMixinWorkaround.expand(this, f); | |
| 3319 | |
| 3320 bool every(bool f(Length element)) => IterableMixinWorkaround.every(this, f); | |
| 3321 | |
| 3322 bool any(bool f(Length element)) => IterableMixinWorkaround.any(this, f); | |
| 3323 | |
| 3324 List<Length> toList({ bool growable: true }) => | |
| 3325 new List<Length>.from(this, growable: growable); | |
| 3326 | |
| 3327 Set<Length> toSet() => new Set<Length>.from(this); | |
| 3328 | |
| 3329 bool get isEmpty => this.length == 0; | |
| 3330 | |
| 3331 Iterable<Length> take(int n) => IterableMixinWorkaround.takeList(this, n); | |
| 3332 | |
| 3333 Iterable<Length> takeWhile(bool test(Length value)) { | |
| 3334 return IterableMixinWorkaround.takeWhile(this, test); | |
| 3335 } | |
| 3336 | |
| 3337 Iterable<Length> skip(int n) => IterableMixinWorkaround.skipList(this, n); | |
| 3338 | |
| 3339 Iterable<Length> skipWhile(bool test(Length value)) { | |
| 3340 return IterableMixinWorkaround.skipWhile(this, test); | |
| 3341 } | |
| 3342 | |
| 3343 Length firstWhere(bool test(Length value), { Length orElse() }) { | |
| 3344 return IterableMixinWorkaround.firstWhere(this, test, orElse); | |
| 3345 } | |
| 3346 | |
| 3347 Length lastWhere(bool test(Length value), {Length orElse()}) { | |
| 3348 return IterableMixinWorkaround.lastWhereList(this, test, orElse); | |
| 3349 } | |
| 3350 | |
| 3351 Length singleWhere(bool test(Length value)) { | |
| 3352 return IterableMixinWorkaround.singleWhere(this, test); | |
| 3353 } | |
| 3354 | |
| 3355 Length elementAt(int index) { | |
| 3356 return this[index]; | |
| 3357 } | |
| 3358 | |
| 3359 // From Collection<Length>: | |
| 3360 | |
| 3361 void add(Length value) { | |
| 3362 throw new UnsupportedError("Cannot add to immutable List."); | |
| 3363 } | |
| 3364 | |
| 3365 void addAll(Iterable<Length> iterable) { | |
| 3366 throw new UnsupportedError("Cannot add to immutable List."); | |
| 3367 } | |
| 3368 | |
| 3369 // From List<Length>: | |
| 3370 void set length(int value) { | 3287 void set length(int value) { |
| 3371 throw new UnsupportedError("Cannot resize immutable List."); | 3288 throw new UnsupportedError("Cannot resize immutable List."); |
| 3372 } | 3289 } |
| 3373 | 3290 |
| 3374 // clear() defined by IDL. | |
| 3375 | |
| 3376 Iterable<Length> get reversed { | |
| 3377 return IterableMixinWorkaround.reversedList(this); | |
| 3378 } | |
| 3379 | |
| 3380 void sort([int compare(Length a, Length b)]) { | |
| 3381 throw new UnsupportedError("Cannot sort immutable List."); | |
| 3382 } | |
| 3383 | |
| 3384 int indexOf(Length element, [int start = 0]) => | |
| 3385 Lists.indexOf(this, element, start, this.length); | |
| 3386 | |
| 3387 int lastIndexOf(Length element, [int start]) { | |
| 3388 if (start == null) start = length - 1; | |
| 3389 return Lists.lastIndexOf(this, element, start); | |
| 3390 } | |
| 3391 | |
| 3392 Length get first { | |
| 3393 if (this.length > 0) return this[0]; | |
| 3394 throw new StateError("No elements"); | |
| 3395 } | |
| 3396 | |
| 3397 Length get last { | |
| 3398 if (this.length > 0) return this[this.length - 1]; | |
| 3399 throw new StateError("No elements"); | |
| 3400 } | |
| 3401 | |
| 3402 Length get single { | |
| 3403 if (length == 1) return this[0]; | |
| 3404 if (length == 0) throw new StateError("No elements"); | |
| 3405 throw new StateError("More than one element"); | |
| 3406 } | |
| 3407 | |
| 3408 void insert(int index, Length element) { | |
| 3409 throw new UnsupportedError("Cannot add to immutable List."); | |
| 3410 } | |
| 3411 | |
| 3412 void insertAll(int index, Iterable<Length> iterable) { | |
| 3413 throw new UnsupportedError("Cannot add to immutable List."); | |
| 3414 } | |
| 3415 | |
| 3416 void setAll(int index, Iterable<Length> iterable) { | |
| 3417 throw new UnsupportedError("Cannot modify an immutable List."); | |
| 3418 } | |
| 3419 | |
| 3420 Length removeAt(int pos) { | |
| 3421 throw new UnsupportedError("Cannot remove from immutable List."); | |
| 3422 } | |
| 3423 | |
| 3424 Length removeLast() { | |
| 3425 throw new UnsupportedError("Cannot remove from immutable List."); | |
| 3426 } | |
| 3427 | |
| 3428 bool remove(Object object) { | |
| 3429 throw new UnsupportedError("Cannot remove from immutable List."); | |
| 3430 } | |
| 3431 | |
| 3432 void removeWhere(bool test(Length element)) { | |
| 3433 throw new UnsupportedError("Cannot remove from immutable List."); | |
| 3434 } | |
| 3435 | |
| 3436 void retainWhere(bool test(Length element)) { | |
| 3437 throw new UnsupportedError("Cannot remove from immutable List."); | |
| 3438 } | |
| 3439 | |
| 3440 void setRange(int start, int end, Iterable<Length> iterable, [int skipCount=0]
) { | |
| 3441 throw new UnsupportedError("Cannot setRange on immutable List."); | |
| 3442 } | |
| 3443 | |
| 3444 void removeRange(int start, int end) { | |
| 3445 throw new UnsupportedError("Cannot removeRange on immutable List."); | |
| 3446 } | |
| 3447 | |
| 3448 void replaceRange(int start, int end, Iterable<Length> iterable) { | |
| 3449 throw new UnsupportedError("Cannot modify an immutable List."); | |
| 3450 } | |
| 3451 | |
| 3452 void fillRange(int start, int end, [Length fillValue]) { | |
| 3453 throw new UnsupportedError("Cannot modify an immutable List."); | |
| 3454 } | |
| 3455 | |
| 3456 Iterable<Length> getRange(int start, int end) => | |
| 3457 IterableMixinWorkaround.getRangeList(this, start, end); | |
| 3458 | |
| 3459 List<Length> sublist(int start, [int end]) { | |
| 3460 if (end == null) end = length; | |
| 3461 return Lists.getRange(this, start, end, <Length>[]); | |
| 3462 } | |
| 3463 | |
| 3464 Map<int, Length> asMap() => | |
| 3465 IterableMixinWorkaround.asMapList(this); | |
| 3466 | |
| 3467 String toString() { | |
| 3468 StringBuffer buffer = new StringBuffer('['); | |
| 3469 buffer.writeAll(this, ', '); | |
| 3470 buffer.write(']'); | |
| 3471 return buffer.toString(); | |
| 3472 } | |
| 3473 | |
| 3474 // -- end List<Length> mixins. | 3291 // -- end List<Length> mixins. |
| 3475 | 3292 |
| 3476 @DomName('SVGLengthList.appendItem') | 3293 @DomName('SVGLengthList.appendItem') |
| 3477 @DocsEditable | 3294 @DocsEditable |
| 3478 Length appendItem(Length item) native "SVGLengthList_appendItem_Callback"; | 3295 Length appendItem(Length item) native "SVGLengthList_appendItem_Callback"; |
| 3479 | 3296 |
| 3480 @DomName('SVGLengthList.clear') | 3297 @DomName('SVGLengthList.clear') |
| 3481 @DocsEditable | 3298 @DocsEditable |
| 3482 void clear() native "SVGLengthList_clear_Callback"; | 3299 void clear() native "SVGLengthList_clear_Callback"; |
| 3483 | 3300 |
| (...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3980 } | 3797 } |
| 3981 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3798 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3982 // for details. All rights reserved. Use of this source code is governed by a | 3799 // for details. All rights reserved. Use of this source code is governed by a |
| 3983 // BSD-style license that can be found in the LICENSE file. | 3800 // BSD-style license that can be found in the LICENSE file. |
| 3984 | 3801 |
| 3985 // WARNING: Do not edit - generated code. | 3802 // WARNING: Do not edit - generated code. |
| 3986 | 3803 |
| 3987 | 3804 |
| 3988 @DocsEditable | 3805 @DocsEditable |
| 3989 @DomName('SVGNumberList') | 3806 @DomName('SVGNumberList') |
| 3990 class NumberList extends NativeFieldWrapperClass1 implements List<Number> { | 3807 class NumberList extends NativeFieldWrapperClass1 with ListMixin<Number>, Immuta
bleListMixin<Number> implements List<Number> { |
| 3991 NumberList.internal(); | 3808 NumberList.internal(); |
| 3992 | 3809 |
| 3993 @DomName('SVGNumberList.numberOfItems') | 3810 @DomName('SVGNumberList.numberOfItems') |
| 3994 @DocsEditable | 3811 @DocsEditable |
| 3995 int get numberOfItems native "SVGNumberList_numberOfItems_Getter"; | 3812 int get numberOfItems native "SVGNumberList_numberOfItems_Getter"; |
| 3996 | 3813 |
| 3997 Number operator[](int index) native "SVGNumberList_item_Callback"; | 3814 Number operator[](int index) native "SVGNumberList_item_Callback"; |
| 3998 | 3815 |
| 3999 void operator[]=(int index, Number value) { | 3816 void operator[]=(int index, Number value) { |
| 4000 throw new UnsupportedError("Cannot assign element of immutable List."); | 3817 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 4001 } | 3818 } |
| 4002 // -- start List<Number> mixins. | 3819 // -- start List<Number> mixins. |
| 4003 // Number is the element type. | 3820 // Number is the element type. |
| 4004 | 3821 |
| 4005 // From Iterable<Number>: | |
| 4006 | |
| 4007 Iterator<Number> get iterator { | |
| 4008 // Note: NodeLists are not fixed size. And most probably length shouldn't | |
| 4009 // be cached in both iterator _and_ forEach method. For now caching it | |
| 4010 // for consistency. | |
| 4011 return new FixedSizeListIterator<Number>(this); | |
| 4012 } | |
| 4013 | |
| 4014 // SVG Collections expose numberOfItems rather than length. | 3822 // SVG Collections expose numberOfItems rather than length. |
| 4015 int get length => numberOfItems; | 3823 int get length => numberOfItems; |
| 4016 Number reduce(Number combine(Number value, Number element)) { | |
| 4017 return IterableMixinWorkaround.reduce(this, combine); | |
| 4018 } | |
| 4019 | 3824 |
| 4020 dynamic fold(dynamic initialValue, | |
| 4021 dynamic combine(dynamic previousValue, Number element)) { | |
| 4022 return IterableMixinWorkaround.fold(this, initialValue, combine); | |
| 4023 } | |
| 4024 | |
| 4025 bool contains(Number element) => IterableMixinWorkaround.contains(this, elemen
t); | |
| 4026 | |
| 4027 void forEach(void f(Number element)) => IterableMixinWorkaround.forEach(this,
f); | |
| 4028 | |
| 4029 String join([String separator = ""]) => | |
| 4030 IterableMixinWorkaround.joinList(this, separator); | |
| 4031 | |
| 4032 Iterable map(f(Number element)) => | |
| 4033 IterableMixinWorkaround.mapList(this, f); | |
| 4034 | |
| 4035 Iterable<Number> where(bool f(Number element)) => | |
| 4036 IterableMixinWorkaround.where(this, f); | |
| 4037 | |
| 4038 Iterable expand(Iterable f(Number element)) => | |
| 4039 IterableMixinWorkaround.expand(this, f); | |
| 4040 | |
| 4041 bool every(bool f(Number element)) => IterableMixinWorkaround.every(this, f); | |
| 4042 | |
| 4043 bool any(bool f(Number element)) => IterableMixinWorkaround.any(this, f); | |
| 4044 | |
| 4045 List<Number> toList({ bool growable: true }) => | |
| 4046 new List<Number>.from(this, growable: growable); | |
| 4047 | |
| 4048 Set<Number> toSet() => new Set<Number>.from(this); | |
| 4049 | |
| 4050 bool get isEmpty => this.length == 0; | |
| 4051 | |
| 4052 Iterable<Number> take(int n) => IterableMixinWorkaround.takeList(this, n); | |
| 4053 | |
| 4054 Iterable<Number> takeWhile(bool test(Number value)) { | |
| 4055 return IterableMixinWorkaround.takeWhile(this, test); | |
| 4056 } | |
| 4057 | |
| 4058 Iterable<Number> skip(int n) => IterableMixinWorkaround.skipList(this, n); | |
| 4059 | |
| 4060 Iterable<Number> skipWhile(bool test(Number value)) { | |
| 4061 return IterableMixinWorkaround.skipWhile(this, test); | |
| 4062 } | |
| 4063 | |
| 4064 Number firstWhere(bool test(Number value), { Number orElse() }) { | |
| 4065 return IterableMixinWorkaround.firstWhere(this, test, orElse); | |
| 4066 } | |
| 4067 | |
| 4068 Number lastWhere(bool test(Number value), {Number orElse()}) { | |
| 4069 return IterableMixinWorkaround.lastWhereList(this, test, orElse); | |
| 4070 } | |
| 4071 | |
| 4072 Number singleWhere(bool test(Number value)) { | |
| 4073 return IterableMixinWorkaround.singleWhere(this, test); | |
| 4074 } | |
| 4075 | |
| 4076 Number elementAt(int index) { | |
| 4077 return this[index]; | |
| 4078 } | |
| 4079 | |
| 4080 // From Collection<Number>: | |
| 4081 | |
| 4082 void add(Number value) { | |
| 4083 throw new UnsupportedError("Cannot add to immutable List."); | |
| 4084 } | |
| 4085 | |
| 4086 void addAll(Iterable<Number> iterable) { | |
| 4087 throw new UnsupportedError("Cannot add to immutable List."); | |
| 4088 } | |
| 4089 | |
| 4090 // From List<Number>: | |
| 4091 void set length(int value) { | 3825 void set length(int value) { |
| 4092 throw new UnsupportedError("Cannot resize immutable List."); | 3826 throw new UnsupportedError("Cannot resize immutable List."); |
| 4093 } | 3827 } |
| 4094 | 3828 |
| 4095 // clear() defined by IDL. | |
| 4096 | |
| 4097 Iterable<Number> get reversed { | |
| 4098 return IterableMixinWorkaround.reversedList(this); | |
| 4099 } | |
| 4100 | |
| 4101 void sort([int compare(Number a, Number b)]) { | |
| 4102 throw new UnsupportedError("Cannot sort immutable List."); | |
| 4103 } | |
| 4104 | |
| 4105 int indexOf(Number element, [int start = 0]) => | |
| 4106 Lists.indexOf(this, element, start, this.length); | |
| 4107 | |
| 4108 int lastIndexOf(Number element, [int start]) { | |
| 4109 if (start == null) start = length - 1; | |
| 4110 return Lists.lastIndexOf(this, element, start); | |
| 4111 } | |
| 4112 | |
| 4113 Number get first { | |
| 4114 if (this.length > 0) return this[0]; | |
| 4115 throw new StateError("No elements"); | |
| 4116 } | |
| 4117 | |
| 4118 Number get last { | |
| 4119 if (this.length > 0) return this[this.length - 1]; | |
| 4120 throw new StateError("No elements"); | |
| 4121 } | |
| 4122 | |
| 4123 Number get single { | |
| 4124 if (length == 1) return this[0]; | |
| 4125 if (length == 0) throw new StateError("No elements"); | |
| 4126 throw new StateError("More than one element"); | |
| 4127 } | |
| 4128 | |
| 4129 void insert(int index, Number element) { | |
| 4130 throw new UnsupportedError("Cannot add to immutable List."); | |
| 4131 } | |
| 4132 | |
| 4133 void insertAll(int index, Iterable<Number> iterable) { | |
| 4134 throw new UnsupportedError("Cannot add to immutable List."); | |
| 4135 } | |
| 4136 | |
| 4137 void setAll(int index, Iterable<Number> iterable) { | |
| 4138 throw new UnsupportedError("Cannot modify an immutable List."); | |
| 4139 } | |
| 4140 | |
| 4141 Number removeAt(int pos) { | |
| 4142 throw new UnsupportedError("Cannot remove from immutable List."); | |
| 4143 } | |
| 4144 | |
| 4145 Number removeLast() { | |
| 4146 throw new UnsupportedError("Cannot remove from immutable List."); | |
| 4147 } | |
| 4148 | |
| 4149 bool remove(Object object) { | |
| 4150 throw new UnsupportedError("Cannot remove from immutable List."); | |
| 4151 } | |
| 4152 | |
| 4153 void removeWhere(bool test(Number element)) { | |
| 4154 throw new UnsupportedError("Cannot remove from immutable List."); | |
| 4155 } | |
| 4156 | |
| 4157 void retainWhere(bool test(Number element)) { | |
| 4158 throw new UnsupportedError("Cannot remove from immutable List."); | |
| 4159 } | |
| 4160 | |
| 4161 void setRange(int start, int end, Iterable<Number> iterable, [int skipCount=0]
) { | |
| 4162 throw new UnsupportedError("Cannot setRange on immutable List."); | |
| 4163 } | |
| 4164 | |
| 4165 void removeRange(int start, int end) { | |
| 4166 throw new UnsupportedError("Cannot removeRange on immutable List."); | |
| 4167 } | |
| 4168 | |
| 4169 void replaceRange(int start, int end, Iterable<Number> iterable) { | |
| 4170 throw new UnsupportedError("Cannot modify an immutable List."); | |
| 4171 } | |
| 4172 | |
| 4173 void fillRange(int start, int end, [Number fillValue]) { | |
| 4174 throw new UnsupportedError("Cannot modify an immutable List."); | |
| 4175 } | |
| 4176 | |
| 4177 Iterable<Number> getRange(int start, int end) => | |
| 4178 IterableMixinWorkaround.getRangeList(this, start, end); | |
| 4179 | |
| 4180 List<Number> sublist(int start, [int end]) { | |
| 4181 if (end == null) end = length; | |
| 4182 return Lists.getRange(this, start, end, <Number>[]); | |
| 4183 } | |
| 4184 | |
| 4185 Map<int, Number> asMap() => | |
| 4186 IterableMixinWorkaround.asMapList(this); | |
| 4187 | |
| 4188 String toString() { | |
| 4189 StringBuffer buffer = new StringBuffer('['); | |
| 4190 buffer.writeAll(this, ', '); | |
| 4191 buffer.write(']'); | |
| 4192 return buffer.toString(); | |
| 4193 } | |
| 4194 | |
| 4195 // -- end List<Number> mixins. | 3829 // -- end List<Number> mixins. |
| 4196 | 3830 |
| 4197 @DomName('SVGNumberList.appendItem') | 3831 @DomName('SVGNumberList.appendItem') |
| 4198 @DocsEditable | 3832 @DocsEditable |
| 4199 Number appendItem(Number item) native "SVGNumberList_appendItem_Callback"; | 3833 Number appendItem(Number item) native "SVGNumberList_appendItem_Callback"; |
| 4200 | 3834 |
| 4201 @DomName('SVGNumberList.clear') | 3835 @DomName('SVGNumberList.clear') |
| 4202 @DocsEditable | 3836 @DocsEditable |
| 4203 void clear() native "SVGNumberList_clear_Callback"; | 3837 void clear() native "SVGNumberList_clear_Callback"; |
| 4204 | 3838 |
| (...skipping 923 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5128 } | 4762 } |
| 5129 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4763 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5130 // for details. All rights reserved. Use of this source code is governed by a | 4764 // for details. All rights reserved. Use of this source code is governed by a |
| 5131 // BSD-style license that can be found in the LICENSE file. | 4765 // BSD-style license that can be found in the LICENSE file. |
| 5132 | 4766 |
| 5133 // WARNING: Do not edit - generated code. | 4767 // WARNING: Do not edit - generated code. |
| 5134 | 4768 |
| 5135 | 4769 |
| 5136 @DocsEditable | 4770 @DocsEditable |
| 5137 @DomName('SVGPathSegList') | 4771 @DomName('SVGPathSegList') |
| 5138 class PathSegList extends NativeFieldWrapperClass1 implements List<PathSeg> { | 4772 class PathSegList extends NativeFieldWrapperClass1 with ListMixin<PathSeg>, Immu
tableListMixin<PathSeg> implements List<PathSeg> { |
| 5139 PathSegList.internal(); | 4773 PathSegList.internal(); |
| 5140 | 4774 |
| 5141 @DomName('SVGPathSegList.numberOfItems') | 4775 @DomName('SVGPathSegList.numberOfItems') |
| 5142 @DocsEditable | 4776 @DocsEditable |
| 5143 int get numberOfItems native "SVGPathSegList_numberOfItems_Getter"; | 4777 int get numberOfItems native "SVGPathSegList_numberOfItems_Getter"; |
| 5144 | 4778 |
| 5145 PathSeg operator[](int index) native "SVGPathSegList_item_Callback"; | 4779 PathSeg operator[](int index) native "SVGPathSegList_item_Callback"; |
| 5146 | 4780 |
| 5147 void operator[]=(int index, PathSeg value) { | 4781 void operator[]=(int index, PathSeg value) { |
| 5148 throw new UnsupportedError("Cannot assign element of immutable List."); | 4782 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 5149 } | 4783 } |
| 5150 // -- start List<PathSeg> mixins. | 4784 // -- start List<PathSeg> mixins. |
| 5151 // PathSeg is the element type. | 4785 // PathSeg is the element type. |
| 5152 | 4786 |
| 5153 // From Iterable<PathSeg>: | |
| 5154 | |
| 5155 Iterator<PathSeg> get iterator { | |
| 5156 // Note: NodeLists are not fixed size. And most probably length shouldn't | |
| 5157 // be cached in both iterator _and_ forEach method. For now caching it | |
| 5158 // for consistency. | |
| 5159 return new FixedSizeListIterator<PathSeg>(this); | |
| 5160 } | |
| 5161 | |
| 5162 // SVG Collections expose numberOfItems rather than length. | 4787 // SVG Collections expose numberOfItems rather than length. |
| 5163 int get length => numberOfItems; | 4788 int get length => numberOfItems; |
| 5164 PathSeg reduce(PathSeg combine(PathSeg value, PathSeg element)) { | |
| 5165 return IterableMixinWorkaround.reduce(this, combine); | |
| 5166 } | |
| 5167 | 4789 |
| 5168 dynamic fold(dynamic initialValue, | |
| 5169 dynamic combine(dynamic previousValue, PathSeg element)) { | |
| 5170 return IterableMixinWorkaround.fold(this, initialValue, combine); | |
| 5171 } | |
| 5172 | |
| 5173 bool contains(PathSeg element) => IterableMixinWorkaround.contains(this, eleme
nt); | |
| 5174 | |
| 5175 void forEach(void f(PathSeg element)) => IterableMixinWorkaround.forEach(this,
f); | |
| 5176 | |
| 5177 String join([String separator = ""]) => | |
| 5178 IterableMixinWorkaround.joinList(this, separator); | |
| 5179 | |
| 5180 Iterable map(f(PathSeg element)) => | |
| 5181 IterableMixinWorkaround.mapList(this, f); | |
| 5182 | |
| 5183 Iterable<PathSeg> where(bool f(PathSeg element)) => | |
| 5184 IterableMixinWorkaround.where(this, f); | |
| 5185 | |
| 5186 Iterable expand(Iterable f(PathSeg element)) => | |
| 5187 IterableMixinWorkaround.expand(this, f); | |
| 5188 | |
| 5189 bool every(bool f(PathSeg element)) => IterableMixinWorkaround.every(this, f); | |
| 5190 | |
| 5191 bool any(bool f(PathSeg element)) => IterableMixinWorkaround.any(this, f); | |
| 5192 | |
| 5193 List<PathSeg> toList({ bool growable: true }) => | |
| 5194 new List<PathSeg>.from(this, growable: growable); | |
| 5195 | |
| 5196 Set<PathSeg> toSet() => new Set<PathSeg>.from(this); | |
| 5197 | |
| 5198 bool get isEmpty => this.length == 0; | |
| 5199 | |
| 5200 Iterable<PathSeg> take(int n) => IterableMixinWorkaround.takeList(this, n); | |
| 5201 | |
| 5202 Iterable<PathSeg> takeWhile(bool test(PathSeg value)) { | |
| 5203 return IterableMixinWorkaround.takeWhile(this, test); | |
| 5204 } | |
| 5205 | |
| 5206 Iterable<PathSeg> skip(int n) => IterableMixinWorkaround.skipList(this, n); | |
| 5207 | |
| 5208 Iterable<PathSeg> skipWhile(bool test(PathSeg value)) { | |
| 5209 return IterableMixinWorkaround.skipWhile(this, test); | |
| 5210 } | |
| 5211 | |
| 5212 PathSeg firstWhere(bool test(PathSeg value), { PathSeg orElse() }) { | |
| 5213 return IterableMixinWorkaround.firstWhere(this, test, orElse); | |
| 5214 } | |
| 5215 | |
| 5216 PathSeg lastWhere(bool test(PathSeg value), {PathSeg orElse()}) { | |
| 5217 return IterableMixinWorkaround.lastWhereList(this, test, orElse); | |
| 5218 } | |
| 5219 | |
| 5220 PathSeg singleWhere(bool test(PathSeg value)) { | |
| 5221 return IterableMixinWorkaround.singleWhere(this, test); | |
| 5222 } | |
| 5223 | |
| 5224 PathSeg elementAt(int index) { | |
| 5225 return this[index]; | |
| 5226 } | |
| 5227 | |
| 5228 // From Collection<PathSeg>: | |
| 5229 | |
| 5230 void add(PathSeg value) { | |
| 5231 throw new UnsupportedError("Cannot add to immutable List."); | |
| 5232 } | |
| 5233 | |
| 5234 void addAll(Iterable<PathSeg> iterable) { | |
| 5235 throw new UnsupportedError("Cannot add to immutable List."); | |
| 5236 } | |
| 5237 | |
| 5238 // From List<PathSeg>: | |
| 5239 void set length(int value) { | 4790 void set length(int value) { |
| 5240 throw new UnsupportedError("Cannot resize immutable List."); | 4791 throw new UnsupportedError("Cannot resize immutable List."); |
| 5241 } | 4792 } |
| 5242 | 4793 |
| 5243 // clear() defined by IDL. | |
| 5244 | |
| 5245 Iterable<PathSeg> get reversed { | |
| 5246 return IterableMixinWorkaround.reversedList(this); | |
| 5247 } | |
| 5248 | |
| 5249 void sort([int compare(PathSeg a, PathSeg b)]) { | |
| 5250 throw new UnsupportedError("Cannot sort immutable List."); | |
| 5251 } | |
| 5252 | |
| 5253 int indexOf(PathSeg element, [int start = 0]) => | |
| 5254 Lists.indexOf(this, element, start, this.length); | |
| 5255 | |
| 5256 int lastIndexOf(PathSeg element, [int start]) { | |
| 5257 if (start == null) start = length - 1; | |
| 5258 return Lists.lastIndexOf(this, element, start); | |
| 5259 } | |
| 5260 | |
| 5261 PathSeg get first { | |
| 5262 if (this.length > 0) return this[0]; | |
| 5263 throw new StateError("No elements"); | |
| 5264 } | |
| 5265 | |
| 5266 PathSeg get last { | |
| 5267 if (this.length > 0) return this[this.length - 1]; | |
| 5268 throw new StateError("No elements"); | |
| 5269 } | |
| 5270 | |
| 5271 PathSeg get single { | |
| 5272 if (length == 1) return this[0]; | |
| 5273 if (length == 0) throw new StateError("No elements"); | |
| 5274 throw new StateError("More than one element"); | |
| 5275 } | |
| 5276 | |
| 5277 void insert(int index, PathSeg element) { | |
| 5278 throw new UnsupportedError("Cannot add to immutable List."); | |
| 5279 } | |
| 5280 | |
| 5281 void insertAll(int index, Iterable<PathSeg> iterable) { | |
| 5282 throw new UnsupportedError("Cannot add to immutable List."); | |
| 5283 } | |
| 5284 | |
| 5285 void setAll(int index, Iterable<PathSeg> iterable) { | |
| 5286 throw new UnsupportedError("Cannot modify an immutable List."); | |
| 5287 } | |
| 5288 | |
| 5289 PathSeg removeAt(int pos) { | |
| 5290 throw new UnsupportedError("Cannot remove from immutable List."); | |
| 5291 } | |
| 5292 | |
| 5293 PathSeg removeLast() { | |
| 5294 throw new UnsupportedError("Cannot remove from immutable List."); | |
| 5295 } | |
| 5296 | |
| 5297 bool remove(Object object) { | |
| 5298 throw new UnsupportedError("Cannot remove from immutable List."); | |
| 5299 } | |
| 5300 | |
| 5301 void removeWhere(bool test(PathSeg element)) { | |
| 5302 throw new UnsupportedError("Cannot remove from immutable List."); | |
| 5303 } | |
| 5304 | |
| 5305 void retainWhere(bool test(PathSeg element)) { | |
| 5306 throw new UnsupportedError("Cannot remove from immutable List."); | |
| 5307 } | |
| 5308 | |
| 5309 void setRange(int start, int end, Iterable<PathSeg> iterable, [int skipCount=0
]) { | |
| 5310 throw new UnsupportedError("Cannot setRange on immutable List."); | |
| 5311 } | |
| 5312 | |
| 5313 void removeRange(int start, int end) { | |
| 5314 throw new UnsupportedError("Cannot removeRange on immutable List."); | |
| 5315 } | |
| 5316 | |
| 5317 void replaceRange(int start, int end, Iterable<PathSeg> iterable) { | |
| 5318 throw new UnsupportedError("Cannot modify an immutable List."); | |
| 5319 } | |
| 5320 | |
| 5321 void fillRange(int start, int end, [PathSeg fillValue]) { | |
| 5322 throw new UnsupportedError("Cannot modify an immutable List."); | |
| 5323 } | |
| 5324 | |
| 5325 Iterable<PathSeg> getRange(int start, int end) => | |
| 5326 IterableMixinWorkaround.getRangeList(this, start, end); | |
| 5327 | |
| 5328 List<PathSeg> sublist(int start, [int end]) { | |
| 5329 if (end == null) end = length; | |
| 5330 return Lists.getRange(this, start, end, <PathSeg>[]); | |
| 5331 } | |
| 5332 | |
| 5333 Map<int, PathSeg> asMap() => | |
| 5334 IterableMixinWorkaround.asMapList(this); | |
| 5335 | |
| 5336 String toString() { | |
| 5337 StringBuffer buffer = new StringBuffer('['); | |
| 5338 buffer.writeAll(this, ', '); | |
| 5339 buffer.write(']'); | |
| 5340 return buffer.toString(); | |
| 5341 } | |
| 5342 | |
| 5343 // -- end List<PathSeg> mixins. | 4794 // -- end List<PathSeg> mixins. |
| 5344 | 4795 |
| 5345 @DomName('SVGPathSegList.appendItem') | 4796 @DomName('SVGPathSegList.appendItem') |
| 5346 @DocsEditable | 4797 @DocsEditable |
| 5347 PathSeg appendItem(PathSeg newItem) native "SVGPathSegList_appendItem_Callback
"; | 4798 PathSeg appendItem(PathSeg newItem) native "SVGPathSegList_appendItem_Callback
"; |
| 5348 | 4799 |
| 5349 @DomName('SVGPathSegList.clear') | 4800 @DomName('SVGPathSegList.clear') |
| 5350 @DocsEditable | 4801 @DocsEditable |
| 5351 void clear() native "SVGPathSegList_clear_Callback"; | 4802 void clear() native "SVGPathSegList_clear_Callback"; |
| 5352 | 4803 |
| (...skipping 777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6130 } | 5581 } |
| 6131 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5582 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6132 // for details. All rights reserved. Use of this source code is governed by a | 5583 // for details. All rights reserved. Use of this source code is governed by a |
| 6133 // BSD-style license that can be found in the LICENSE file. | 5584 // BSD-style license that can be found in the LICENSE file. |
| 6134 | 5585 |
| 6135 // WARNING: Do not edit - generated code. | 5586 // WARNING: Do not edit - generated code. |
| 6136 | 5587 |
| 6137 | 5588 |
| 6138 @DocsEditable | 5589 @DocsEditable |
| 6139 @DomName('SVGStringList') | 5590 @DomName('SVGStringList') |
| 6140 class StringList extends NativeFieldWrapperClass1 implements List<String> { | 5591 class StringList extends NativeFieldWrapperClass1 with ListMixin<String>, Immuta
bleListMixin<String> implements List<String> { |
| 6141 StringList.internal(); | 5592 StringList.internal(); |
| 6142 | 5593 |
| 6143 @DomName('SVGStringList.numberOfItems') | 5594 @DomName('SVGStringList.numberOfItems') |
| 6144 @DocsEditable | 5595 @DocsEditable |
| 6145 int get numberOfItems native "SVGStringList_numberOfItems_Getter"; | 5596 int get numberOfItems native "SVGStringList_numberOfItems_Getter"; |
| 6146 | 5597 |
| 6147 String operator[](int index) native "SVGStringList_item_Callback"; | 5598 String operator[](int index) native "SVGStringList_item_Callback"; |
| 6148 | 5599 |
| 6149 void operator[]=(int index, String value) { | 5600 void operator[]=(int index, String value) { |
| 6150 throw new UnsupportedError("Cannot assign element of immutable List."); | 5601 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 6151 } | 5602 } |
| 6152 // -- start List<String> mixins. | 5603 // -- start List<String> mixins. |
| 6153 // String is the element type. | 5604 // String is the element type. |
| 6154 | 5605 |
| 6155 // From Iterable<String>: | |
| 6156 | |
| 6157 Iterator<String> get iterator { | |
| 6158 // Note: NodeLists are not fixed size. And most probably length shouldn't | |
| 6159 // be cached in both iterator _and_ forEach method. For now caching it | |
| 6160 // for consistency. | |
| 6161 return new FixedSizeListIterator<String>(this); | |
| 6162 } | |
| 6163 | |
| 6164 // SVG Collections expose numberOfItems rather than length. | 5606 // SVG Collections expose numberOfItems rather than length. |
| 6165 int get length => numberOfItems; | 5607 int get length => numberOfItems; |
| 6166 String reduce(String combine(String value, String element)) { | |
| 6167 return IterableMixinWorkaround.reduce(this, combine); | |
| 6168 } | |
| 6169 | 5608 |
| 6170 dynamic fold(dynamic initialValue, | |
| 6171 dynamic combine(dynamic previousValue, String element)) { | |
| 6172 return IterableMixinWorkaround.fold(this, initialValue, combine); | |
| 6173 } | |
| 6174 | |
| 6175 bool contains(String element) => IterableMixinWorkaround.contains(this, elemen
t); | |
| 6176 | |
| 6177 void forEach(void f(String element)) => IterableMixinWorkaround.forEach(this,
f); | |
| 6178 | |
| 6179 String join([String separator = ""]) => | |
| 6180 IterableMixinWorkaround.joinList(this, separator); | |
| 6181 | |
| 6182 Iterable map(f(String element)) => | |
| 6183 IterableMixinWorkaround.mapList(this, f); | |
| 6184 | |
| 6185 Iterable<String> where(bool f(String element)) => | |
| 6186 IterableMixinWorkaround.where(this, f); | |
| 6187 | |
| 6188 Iterable expand(Iterable f(String element)) => | |
| 6189 IterableMixinWorkaround.expand(this, f); | |
| 6190 | |
| 6191 bool every(bool f(String element)) => IterableMixinWorkaround.every(this, f); | |
| 6192 | |
| 6193 bool any(bool f(String element)) => IterableMixinWorkaround.any(this, f); | |
| 6194 | |
| 6195 List<String> toList({ bool growable: true }) => | |
| 6196 new List<String>.from(this, growable: growable); | |
| 6197 | |
| 6198 Set<String> toSet() => new Set<String>.from(this); | |
| 6199 | |
| 6200 bool get isEmpty => this.length == 0; | |
| 6201 | |
| 6202 Iterable<String> take(int n) => IterableMixinWorkaround.takeList(this, n); | |
| 6203 | |
| 6204 Iterable<String> takeWhile(bool test(String value)) { | |
| 6205 return IterableMixinWorkaround.takeWhile(this, test); | |
| 6206 } | |
| 6207 | |
| 6208 Iterable<String> skip(int n) => IterableMixinWorkaround.skipList(this, n); | |
| 6209 | |
| 6210 Iterable<String> skipWhile(bool test(String value)) { | |
| 6211 return IterableMixinWorkaround.skipWhile(this, test); | |
| 6212 } | |
| 6213 | |
| 6214 String firstWhere(bool test(String value), { String orElse() }) { | |
| 6215 return IterableMixinWorkaround.firstWhere(this, test, orElse); | |
| 6216 } | |
| 6217 | |
| 6218 String lastWhere(bool test(String value), {String orElse()}) { | |
| 6219 return IterableMixinWorkaround.lastWhereList(this, test, orElse); | |
| 6220 } | |
| 6221 | |
| 6222 String singleWhere(bool test(String value)) { | |
| 6223 return IterableMixinWorkaround.singleWhere(this, test); | |
| 6224 } | |
| 6225 | |
| 6226 String elementAt(int index) { | |
| 6227 return this[index]; | |
| 6228 } | |
| 6229 | |
| 6230 // From Collection<String>: | |
| 6231 | |
| 6232 void add(String value) { | |
| 6233 throw new UnsupportedError("Cannot add to immutable List."); | |
| 6234 } | |
| 6235 | |
| 6236 void addAll(Iterable<String> iterable) { | |
| 6237 throw new UnsupportedError("Cannot add to immutable List."); | |
| 6238 } | |
| 6239 | |
| 6240 // From List<String>: | |
| 6241 void set length(int value) { | 5609 void set length(int value) { |
| 6242 throw new UnsupportedError("Cannot resize immutable List."); | 5610 throw new UnsupportedError("Cannot resize immutable List."); |
| 6243 } | 5611 } |
| 6244 | 5612 |
| 6245 // clear() defined by IDL. | |
| 6246 | |
| 6247 Iterable<String> get reversed { | |
| 6248 return IterableMixinWorkaround.reversedList(this); | |
| 6249 } | |
| 6250 | |
| 6251 void sort([int compare(String a, String b)]) { | |
| 6252 throw new UnsupportedError("Cannot sort immutable List."); | |
| 6253 } | |
| 6254 | |
| 6255 int indexOf(String element, [int start = 0]) => | |
| 6256 Lists.indexOf(this, element, start, this.length); | |
| 6257 | |
| 6258 int lastIndexOf(String element, [int start]) { | |
| 6259 if (start == null) start = length - 1; | |
| 6260 return Lists.lastIndexOf(this, element, start); | |
| 6261 } | |
| 6262 | |
| 6263 String get first { | |
| 6264 if (this.length > 0) return this[0]; | |
| 6265 throw new StateError("No elements"); | |
| 6266 } | |
| 6267 | |
| 6268 String get last { | |
| 6269 if (this.length > 0) return this[this.length - 1]; | |
| 6270 throw new StateError("No elements"); | |
| 6271 } | |
| 6272 | |
| 6273 String get single { | |
| 6274 if (length == 1) return this[0]; | |
| 6275 if (length == 0) throw new StateError("No elements"); | |
| 6276 throw new StateError("More than one element"); | |
| 6277 } | |
| 6278 | |
| 6279 void insert(int index, String element) { | |
| 6280 throw new UnsupportedError("Cannot add to immutable List."); | |
| 6281 } | |
| 6282 | |
| 6283 void insertAll(int index, Iterable<String> iterable) { | |
| 6284 throw new UnsupportedError("Cannot add to immutable List."); | |
| 6285 } | |
| 6286 | |
| 6287 void setAll(int index, Iterable<String> iterable) { | |
| 6288 throw new UnsupportedError("Cannot modify an immutable List."); | |
| 6289 } | |
| 6290 | |
| 6291 String removeAt(int pos) { | |
| 6292 throw new UnsupportedError("Cannot remove from immutable List."); | |
| 6293 } | |
| 6294 | |
| 6295 String removeLast() { | |
| 6296 throw new UnsupportedError("Cannot remove from immutable List."); | |
| 6297 } | |
| 6298 | |
| 6299 bool remove(Object object) { | |
| 6300 throw new UnsupportedError("Cannot remove from immutable List."); | |
| 6301 } | |
| 6302 | |
| 6303 void removeWhere(bool test(String element)) { | |
| 6304 throw new UnsupportedError("Cannot remove from immutable List."); | |
| 6305 } | |
| 6306 | |
| 6307 void retainWhere(bool test(String element)) { | |
| 6308 throw new UnsupportedError("Cannot remove from immutable List."); | |
| 6309 } | |
| 6310 | |
| 6311 void setRange(int start, int end, Iterable<String> iterable, [int skipCount=0]
) { | |
| 6312 throw new UnsupportedError("Cannot setRange on immutable List."); | |
| 6313 } | |
| 6314 | |
| 6315 void removeRange(int start, int end) { | |
| 6316 throw new UnsupportedError("Cannot removeRange on immutable List."); | |
| 6317 } | |
| 6318 | |
| 6319 void replaceRange(int start, int end, Iterable<String> iterable) { | |
| 6320 throw new UnsupportedError("Cannot modify an immutable List."); | |
| 6321 } | |
| 6322 | |
| 6323 void fillRange(int start, int end, [String fillValue]) { | |
| 6324 throw new UnsupportedError("Cannot modify an immutable List."); | |
| 6325 } | |
| 6326 | |
| 6327 Iterable<String> getRange(int start, int end) => | |
| 6328 IterableMixinWorkaround.getRangeList(this, start, end); | |
| 6329 | |
| 6330 List<String> sublist(int start, [int end]) { | |
| 6331 if (end == null) end = length; | |
| 6332 return Lists.getRange(this, start, end, <String>[]); | |
| 6333 } | |
| 6334 | |
| 6335 Map<int, String> asMap() => | |
| 6336 IterableMixinWorkaround.asMapList(this); | |
| 6337 | |
| 6338 String toString() { | |
| 6339 StringBuffer buffer = new StringBuffer('['); | |
| 6340 buffer.writeAll(this, ', '); | |
| 6341 buffer.write(']'); | |
| 6342 return buffer.toString(); | |
| 6343 } | |
| 6344 | |
| 6345 // -- end List<String> mixins. | 5613 // -- end List<String> mixins. |
| 6346 | 5614 |
| 6347 @DomName('SVGStringList.appendItem') | 5615 @DomName('SVGStringList.appendItem') |
| 6348 @DocsEditable | 5616 @DocsEditable |
| 6349 String appendItem(String item) native "SVGStringList_appendItem_Callback"; | 5617 String appendItem(String item) native "SVGStringList_appendItem_Callback"; |
| 6350 | 5618 |
| 6351 @DomName('SVGStringList.clear') | 5619 @DomName('SVGStringList.clear') |
| 6352 @DocsEditable | 5620 @DocsEditable |
| 6353 void clear() native "SVGStringList_clear_Callback"; | 5621 void clear() native "SVGStringList_clear_Callback"; |
| 6354 | 5622 |
| (...skipping 1042 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7397 } | 6665 } |
| 7398 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6666 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7399 // for details. All rights reserved. Use of this source code is governed by a | 6667 // for details. All rights reserved. Use of this source code is governed by a |
| 7400 // BSD-style license that can be found in the LICENSE file. | 6668 // BSD-style license that can be found in the LICENSE file. |
| 7401 | 6669 |
| 7402 // WARNING: Do not edit - generated code. | 6670 // WARNING: Do not edit - generated code. |
| 7403 | 6671 |
| 7404 | 6672 |
| 7405 @DocsEditable | 6673 @DocsEditable |
| 7406 @DomName('SVGTransformList') | 6674 @DomName('SVGTransformList') |
| 7407 class TransformList extends NativeFieldWrapperClass1 implements List<Transform>
{ | 6675 class TransformList extends NativeFieldWrapperClass1 with ListMixin<Transform>,
ImmutableListMixin<Transform> implements List<Transform> { |
| 7408 TransformList.internal(); | 6676 TransformList.internal(); |
| 7409 | 6677 |
| 7410 @DomName('SVGTransformList.numberOfItems') | 6678 @DomName('SVGTransformList.numberOfItems') |
| 7411 @DocsEditable | 6679 @DocsEditable |
| 7412 int get numberOfItems native "SVGTransformList_numberOfItems_Getter"; | 6680 int get numberOfItems native "SVGTransformList_numberOfItems_Getter"; |
| 7413 | 6681 |
| 7414 Transform operator[](int index) native "SVGTransformList_item_Callback"; | 6682 Transform operator[](int index) native "SVGTransformList_item_Callback"; |
| 7415 | 6683 |
| 7416 void operator[]=(int index, Transform value) { | 6684 void operator[]=(int index, Transform value) { |
| 7417 throw new UnsupportedError("Cannot assign element of immutable List."); | 6685 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 7418 } | 6686 } |
| 7419 // -- start List<Transform> mixins. | 6687 // -- start List<Transform> mixins. |
| 7420 // Transform is the element type. | 6688 // Transform is the element type. |
| 7421 | 6689 |
| 7422 // From Iterable<Transform>: | |
| 7423 | |
| 7424 Iterator<Transform> get iterator { | |
| 7425 // Note: NodeLists are not fixed size. And most probably length shouldn't | |
| 7426 // be cached in both iterator _and_ forEach method. For now caching it | |
| 7427 // for consistency. | |
| 7428 return new FixedSizeListIterator<Transform>(this); | |
| 7429 } | |
| 7430 | |
| 7431 // SVG Collections expose numberOfItems rather than length. | 6690 // SVG Collections expose numberOfItems rather than length. |
| 7432 int get length => numberOfItems; | 6691 int get length => numberOfItems; |
| 7433 Transform reduce(Transform combine(Transform value, Transform element)) { | |
| 7434 return IterableMixinWorkaround.reduce(this, combine); | |
| 7435 } | |
| 7436 | 6692 |
| 7437 dynamic fold(dynamic initialValue, | |
| 7438 dynamic combine(dynamic previousValue, Transform element)) { | |
| 7439 return IterableMixinWorkaround.fold(this, initialValue, combine); | |
| 7440 } | |
| 7441 | |
| 7442 bool contains(Transform element) => IterableMixinWorkaround.contains(this, ele
ment); | |
| 7443 | |
| 7444 void forEach(void f(Transform element)) => IterableMixinWorkaround.forEach(thi
s, f); | |
| 7445 | |
| 7446 String join([String separator = ""]) => | |
| 7447 IterableMixinWorkaround.joinList(this, separator); | |
| 7448 | |
| 7449 Iterable map(f(Transform element)) => | |
| 7450 IterableMixinWorkaround.mapList(this, f); | |
| 7451 | |
| 7452 Iterable<Transform> where(bool f(Transform element)) => | |
| 7453 IterableMixinWorkaround.where(this, f); | |
| 7454 | |
| 7455 Iterable expand(Iterable f(Transform element)) => | |
| 7456 IterableMixinWorkaround.expand(this, f); | |
| 7457 | |
| 7458 bool every(bool f(Transform element)) => IterableMixinWorkaround.every(this, f
); | |
| 7459 | |
| 7460 bool any(bool f(Transform element)) => IterableMixinWorkaround.any(this, f); | |
| 7461 | |
| 7462 List<Transform> toList({ bool growable: true }) => | |
| 7463 new List<Transform>.from(this, growable: growable); | |
| 7464 | |
| 7465 Set<Transform> toSet() => new Set<Transform>.from(this); | |
| 7466 | |
| 7467 bool get isEmpty => this.length == 0; | |
| 7468 | |
| 7469 Iterable<Transform> take(int n) => IterableMixinWorkaround.takeList(this, n); | |
| 7470 | |
| 7471 Iterable<Transform> takeWhile(bool test(Transform value)) { | |
| 7472 return IterableMixinWorkaround.takeWhile(this, test); | |
| 7473 } | |
| 7474 | |
| 7475 Iterable<Transform> skip(int n) => IterableMixinWorkaround.skipList(this, n); | |
| 7476 | |
| 7477 Iterable<Transform> skipWhile(bool test(Transform value)) { | |
| 7478 return IterableMixinWorkaround.skipWhile(this, test); | |
| 7479 } | |
| 7480 | |
| 7481 Transform firstWhere(bool test(Transform value), { Transform orElse() }) { | |
| 7482 return IterableMixinWorkaround.firstWhere(this, test, orElse); | |
| 7483 } | |
| 7484 | |
| 7485 Transform lastWhere(bool test(Transform value), {Transform orElse()}) { | |
| 7486 return IterableMixinWorkaround.lastWhereList(this, test, orElse); | |
| 7487 } | |
| 7488 | |
| 7489 Transform singleWhere(bool test(Transform value)) { | |
| 7490 return IterableMixinWorkaround.singleWhere(this, test); | |
| 7491 } | |
| 7492 | |
| 7493 Transform elementAt(int index) { | |
| 7494 return this[index]; | |
| 7495 } | |
| 7496 | |
| 7497 // From Collection<Transform>: | |
| 7498 | |
| 7499 void add(Transform value) { | |
| 7500 throw new UnsupportedError("Cannot add to immutable List."); | |
| 7501 } | |
| 7502 | |
| 7503 void addAll(Iterable<Transform> iterable) { | |
| 7504 throw new UnsupportedError("Cannot add to immutable List."); | |
| 7505 } | |
| 7506 | |
| 7507 // From List<Transform>: | |
| 7508 void set length(int value) { | 6693 void set length(int value) { |
| 7509 throw new UnsupportedError("Cannot resize immutable List."); | 6694 throw new UnsupportedError("Cannot resize immutable List."); |
| 7510 } | 6695 } |
| 7511 | 6696 |
| 7512 // clear() defined by IDL. | |
| 7513 | |
| 7514 Iterable<Transform> get reversed { | |
| 7515 return IterableMixinWorkaround.reversedList(this); | |
| 7516 } | |
| 7517 | |
| 7518 void sort([int compare(Transform a, Transform b)]) { | |
| 7519 throw new UnsupportedError("Cannot sort immutable List."); | |
| 7520 } | |
| 7521 | |
| 7522 int indexOf(Transform element, [int start = 0]) => | |
| 7523 Lists.indexOf(this, element, start, this.length); | |
| 7524 | |
| 7525 int lastIndexOf(Transform element, [int start]) { | |
| 7526 if (start == null) start = length - 1; | |
| 7527 return Lists.lastIndexOf(this, element, start); | |
| 7528 } | |
| 7529 | |
| 7530 Transform get first { | |
| 7531 if (this.length > 0) return this[0]; | |
| 7532 throw new StateError("No elements"); | |
| 7533 } | |
| 7534 | |
| 7535 Transform get last { | |
| 7536 if (this.length > 0) return this[this.length - 1]; | |
| 7537 throw new StateError("No elements"); | |
| 7538 } | |
| 7539 | |
| 7540 Transform get single { | |
| 7541 if (length == 1) return this[0]; | |
| 7542 if (length == 0) throw new StateError("No elements"); | |
| 7543 throw new StateError("More than one element"); | |
| 7544 } | |
| 7545 | |
| 7546 void insert(int index, Transform element) { | |
| 7547 throw new UnsupportedError("Cannot add to immutable List."); | |
| 7548 } | |
| 7549 | |
| 7550 void insertAll(int index, Iterable<Transform> iterable) { | |
| 7551 throw new UnsupportedError("Cannot add to immutable List."); | |
| 7552 } | |
| 7553 | |
| 7554 void setAll(int index, Iterable<Transform> iterable) { | |
| 7555 throw new UnsupportedError("Cannot modify an immutable List."); | |
| 7556 } | |
| 7557 | |
| 7558 Transform removeAt(int pos) { | |
| 7559 throw new UnsupportedError("Cannot remove from immutable List."); | |
| 7560 } | |
| 7561 | |
| 7562 Transform removeLast() { | |
| 7563 throw new UnsupportedError("Cannot remove from immutable List."); | |
| 7564 } | |
| 7565 | |
| 7566 bool remove(Object object) { | |
| 7567 throw new UnsupportedError("Cannot remove from immutable List."); | |
| 7568 } | |
| 7569 | |
| 7570 void removeWhere(bool test(Transform element)) { | |
| 7571 throw new UnsupportedError("Cannot remove from immutable List."); | |
| 7572 } | |
| 7573 | |
| 7574 void retainWhere(bool test(Transform element)) { | |
| 7575 throw new UnsupportedError("Cannot remove from immutable List."); | |
| 7576 } | |
| 7577 | |
| 7578 void setRange(int start, int end, Iterable<Transform> iterable, [int skipCount
=0]) { | |
| 7579 throw new UnsupportedError("Cannot setRange on immutable List."); | |
| 7580 } | |
| 7581 | |
| 7582 void removeRange(int start, int end) { | |
| 7583 throw new UnsupportedError("Cannot removeRange on immutable List."); | |
| 7584 } | |
| 7585 | |
| 7586 void replaceRange(int start, int end, Iterable<Transform> iterable) { | |
| 7587 throw new UnsupportedError("Cannot modify an immutable List."); | |
| 7588 } | |
| 7589 | |
| 7590 void fillRange(int start, int end, [Transform fillValue]) { | |
| 7591 throw new UnsupportedError("Cannot modify an immutable List."); | |
| 7592 } | |
| 7593 | |
| 7594 Iterable<Transform> getRange(int start, int end) => | |
| 7595 IterableMixinWorkaround.getRangeList(this, start, end); | |
| 7596 | |
| 7597 List<Transform> sublist(int start, [int end]) { | |
| 7598 if (end == null) end = length; | |
| 7599 return Lists.getRange(this, start, end, <Transform>[]); | |
| 7600 } | |
| 7601 | |
| 7602 Map<int, Transform> asMap() => | |
| 7603 IterableMixinWorkaround.asMapList(this); | |
| 7604 | |
| 7605 String toString() { | |
| 7606 StringBuffer buffer = new StringBuffer('['); | |
| 7607 buffer.writeAll(this, ', '); | |
| 7608 buffer.write(']'); | |
| 7609 return buffer.toString(); | |
| 7610 } | |
| 7611 | |
| 7612 // -- end List<Transform> mixins. | 6697 // -- end List<Transform> mixins. |
| 7613 | 6698 |
| 7614 @DomName('SVGTransformList.appendItem') | 6699 @DomName('SVGTransformList.appendItem') |
| 7615 @DocsEditable | 6700 @DocsEditable |
| 7616 Transform appendItem(Transform item) native "SVGTransformList_appendItem_Callb
ack"; | 6701 Transform appendItem(Transform item) native "SVGTransformList_appendItem_Callb
ack"; |
| 7617 | 6702 |
| 7618 @DomName('SVGTransformList.clear') | 6703 @DomName('SVGTransformList.clear') |
| 7619 @DocsEditable | 6704 @DocsEditable |
| 7620 void clear() native "SVGTransformList_clear_Callback"; | 6705 void clear() native "SVGTransformList_clear_Callback"; |
| 7621 | 6706 |
| (...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7990 } | 7075 } |
| 7991 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7076 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7992 // for details. All rights reserved. Use of this source code is governed by a | 7077 // for details. All rights reserved. Use of this source code is governed by a |
| 7993 // BSD-style license that can be found in the LICENSE file. | 7078 // BSD-style license that can be found in the LICENSE file. |
| 7994 | 7079 |
| 7995 // WARNING: Do not edit - generated code. | 7080 // WARNING: Do not edit - generated code. |
| 7996 | 7081 |
| 7997 | 7082 |
| 7998 @DocsEditable | 7083 @DocsEditable |
| 7999 @DomName('SVGElementInstanceList') | 7084 @DomName('SVGElementInstanceList') |
| 8000 class _ElementInstanceList extends NativeFieldWrapperClass1 implements List<Elem
entInstance> { | 7085 class _ElementInstanceList extends NativeFieldWrapperClass1 with ListMixin<Eleme
ntInstance>, ImmutableListMixin<ElementInstance> implements List<ElementInstance
> { |
| 8001 _ElementInstanceList.internal(); | 7086 _ElementInstanceList.internal(); |
| 8002 | 7087 |
| 8003 @DomName('SVGElementInstanceList.length') | 7088 @DomName('SVGElementInstanceList.length') |
| 8004 @DocsEditable | 7089 @DocsEditable |
| 8005 int get length native "SVGElementInstanceList_length_Getter"; | 7090 int get length native "SVGElementInstanceList_length_Getter"; |
| 8006 | 7091 |
| 8007 ElementInstance operator[](int index) native "SVGElementInstanceList_item_Call
back"; | 7092 ElementInstance operator[](int index) native "SVGElementInstanceList_item_Call
back"; |
| 8008 | 7093 |
| 8009 void operator[]=(int index, ElementInstance value) { | 7094 void operator[]=(int index, ElementInstance value) { |
| 8010 throw new UnsupportedError("Cannot assign element of immutable List."); | 7095 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 8011 } | 7096 } |
| 8012 // -- start List<ElementInstance> mixins. | 7097 // -- start List<ElementInstance> mixins. |
| 8013 // ElementInstance is the element type. | 7098 // ElementInstance is the element type. |
| 8014 | 7099 |
| 8015 // From Iterable<ElementInstance>: | |
| 8016 | 7100 |
| 8017 Iterator<ElementInstance> get iterator { | |
| 8018 // Note: NodeLists are not fixed size. And most probably length shouldn't | |
| 8019 // be cached in both iterator _and_ forEach method. For now caching it | |
| 8020 // for consistency. | |
| 8021 return new FixedSizeListIterator<ElementInstance>(this); | |
| 8022 } | |
| 8023 | |
| 8024 ElementInstance reduce(ElementInstance combine(ElementInstance value, ElementI
nstance element)) { | |
| 8025 return IterableMixinWorkaround.reduce(this, combine); | |
| 8026 } | |
| 8027 | |
| 8028 dynamic fold(dynamic initialValue, | |
| 8029 dynamic combine(dynamic previousValue, ElementInstance element))
{ | |
| 8030 return IterableMixinWorkaround.fold(this, initialValue, combine); | |
| 8031 } | |
| 8032 | |
| 8033 bool contains(ElementInstance element) => IterableMixinWorkaround.contains(thi
s, element); | |
| 8034 | |
| 8035 void forEach(void f(ElementInstance element)) => IterableMixinWorkaround.forEa
ch(this, f); | |
| 8036 | |
| 8037 String join([String separator = ""]) => | |
| 8038 IterableMixinWorkaround.joinList(this, separator); | |
| 8039 | |
| 8040 Iterable map(f(ElementInstance element)) => | |
| 8041 IterableMixinWorkaround.mapList(this, f); | |
| 8042 | |
| 8043 Iterable<ElementInstance> where(bool f(ElementInstance element)) => | |
| 8044 IterableMixinWorkaround.where(this, f); | |
| 8045 | |
| 8046 Iterable expand(Iterable f(ElementInstance element)) => | |
| 8047 IterableMixinWorkaround.expand(this, f); | |
| 8048 | |
| 8049 bool every(bool f(ElementInstance element)) => IterableMixinWorkaround.every(t
his, f); | |
| 8050 | |
| 8051 bool any(bool f(ElementInstance element)) => IterableMixinWorkaround.any(this,
f); | |
| 8052 | |
| 8053 List<ElementInstance> toList({ bool growable: true }) => | |
| 8054 new List<ElementInstance>.from(this, growable: growable); | |
| 8055 | |
| 8056 Set<ElementInstance> toSet() => new Set<ElementInstance>.from(this); | |
| 8057 | |
| 8058 bool get isEmpty => this.length == 0; | |
| 8059 | |
| 8060 Iterable<ElementInstance> take(int n) => IterableMixinWorkaround.takeList(this
, n); | |
| 8061 | |
| 8062 Iterable<ElementInstance> takeWhile(bool test(ElementInstance value)) { | |
| 8063 return IterableMixinWorkaround.takeWhile(this, test); | |
| 8064 } | |
| 8065 | |
| 8066 Iterable<ElementInstance> skip(int n) => IterableMixinWorkaround.skipList(this
, n); | |
| 8067 | |
| 8068 Iterable<ElementInstance> skipWhile(bool test(ElementInstance value)) { | |
| 8069 return IterableMixinWorkaround.skipWhile(this, test); | |
| 8070 } | |
| 8071 | |
| 8072 ElementInstance firstWhere(bool test(ElementInstance value), { ElementInstance
orElse() }) { | |
| 8073 return IterableMixinWorkaround.firstWhere(this, test, orElse); | |
| 8074 } | |
| 8075 | |
| 8076 ElementInstance lastWhere(bool test(ElementInstance value), {ElementInstance o
rElse()}) { | |
| 8077 return IterableMixinWorkaround.lastWhereList(this, test, orElse); | |
| 8078 } | |
| 8079 | |
| 8080 ElementInstance singleWhere(bool test(ElementInstance value)) { | |
| 8081 return IterableMixinWorkaround.singleWhere(this, test); | |
| 8082 } | |
| 8083 | |
| 8084 ElementInstance elementAt(int index) { | |
| 8085 return this[index]; | |
| 8086 } | |
| 8087 | |
| 8088 // From Collection<ElementInstance>: | |
| 8089 | |
| 8090 void add(ElementInstance value) { | |
| 8091 throw new UnsupportedError("Cannot add to immutable List."); | |
| 8092 } | |
| 8093 | |
| 8094 void addAll(Iterable<ElementInstance> iterable) { | |
| 8095 throw new UnsupportedError("Cannot add to immutable List."); | |
| 8096 } | |
| 8097 | |
| 8098 // From List<ElementInstance>: | |
| 8099 void set length(int value) { | 7101 void set length(int value) { |
| 8100 throw new UnsupportedError("Cannot resize immutable List."); | 7102 throw new UnsupportedError("Cannot resize immutable List."); |
| 8101 } | 7103 } |
| 8102 | 7104 |
| 8103 void clear() { | |
| 8104 throw new UnsupportedError("Cannot clear immutable List."); | |
| 8105 } | |
| 8106 | |
| 8107 Iterable<ElementInstance> get reversed { | |
| 8108 return IterableMixinWorkaround.reversedList(this); | |
| 8109 } | |
| 8110 | |
| 8111 void sort([int compare(ElementInstance a, ElementInstance b)]) { | |
| 8112 throw new UnsupportedError("Cannot sort immutable List."); | |
| 8113 } | |
| 8114 | |
| 8115 int indexOf(ElementInstance element, [int start = 0]) => | |
| 8116 Lists.indexOf(this, element, start, this.length); | |
| 8117 | |
| 8118 int lastIndexOf(ElementInstance element, [int start]) { | |
| 8119 if (start == null) start = length - 1; | |
| 8120 return Lists.lastIndexOf(this, element, start); | |
| 8121 } | |
| 8122 | |
| 8123 ElementInstance get first { | |
| 8124 if (this.length > 0) return this[0]; | |
| 8125 throw new StateError("No elements"); | |
| 8126 } | |
| 8127 | |
| 8128 ElementInstance get last { | |
| 8129 if (this.length > 0) return this[this.length - 1]; | |
| 8130 throw new StateError("No elements"); | |
| 8131 } | |
| 8132 | |
| 8133 ElementInstance get single { | |
| 8134 if (length == 1) return this[0]; | |
| 8135 if (length == 0) throw new StateError("No elements"); | |
| 8136 throw new StateError("More than one element"); | |
| 8137 } | |
| 8138 | |
| 8139 void insert(int index, ElementInstance element) { | |
| 8140 throw new UnsupportedError("Cannot add to immutable List."); | |
| 8141 } | |
| 8142 | |
| 8143 void insertAll(int index, Iterable<ElementInstance> iterable) { | |
| 8144 throw new UnsupportedError("Cannot add to immutable List."); | |
| 8145 } | |
| 8146 | |
| 8147 void setAll(int index, Iterable<ElementInstance> iterable) { | |
| 8148 throw new UnsupportedError("Cannot modify an immutable List."); | |
| 8149 } | |
| 8150 | |
| 8151 ElementInstance removeAt(int pos) { | |
| 8152 throw new UnsupportedError("Cannot remove from immutable List."); | |
| 8153 } | |
| 8154 | |
| 8155 ElementInstance removeLast() { | |
| 8156 throw new UnsupportedError("Cannot remove from immutable List."); | |
| 8157 } | |
| 8158 | |
| 8159 bool remove(Object object) { | |
| 8160 throw new UnsupportedError("Cannot remove from immutable List."); | |
| 8161 } | |
| 8162 | |
| 8163 void removeWhere(bool test(ElementInstance element)) { | |
| 8164 throw new UnsupportedError("Cannot remove from immutable List."); | |
| 8165 } | |
| 8166 | |
| 8167 void retainWhere(bool test(ElementInstance element)) { | |
| 8168 throw new UnsupportedError("Cannot remove from immutable List."); | |
| 8169 } | |
| 8170 | |
| 8171 void setRange(int start, int end, Iterable<ElementInstance> iterable, [int ski
pCount=0]) { | |
| 8172 throw new UnsupportedError("Cannot setRange on immutable List."); | |
| 8173 } | |
| 8174 | |
| 8175 void removeRange(int start, int end) { | |
| 8176 throw new UnsupportedError("Cannot removeRange on immutable List."); | |
| 8177 } | |
| 8178 | |
| 8179 void replaceRange(int start, int end, Iterable<ElementInstance> iterable) { | |
| 8180 throw new UnsupportedError("Cannot modify an immutable List."); | |
| 8181 } | |
| 8182 | |
| 8183 void fillRange(int start, int end, [ElementInstance fillValue]) { | |
| 8184 throw new UnsupportedError("Cannot modify an immutable List."); | |
| 8185 } | |
| 8186 | |
| 8187 Iterable<ElementInstance> getRange(int start, int end) => | |
| 8188 IterableMixinWorkaround.getRangeList(this, start, end); | |
| 8189 | |
| 8190 List<ElementInstance> sublist(int start, [int end]) { | |
| 8191 if (end == null) end = length; | |
| 8192 return Lists.getRange(this, start, end, <ElementInstance>[]); | |
| 8193 } | |
| 8194 | |
| 8195 Map<int, ElementInstance> asMap() => | |
| 8196 IterableMixinWorkaround.asMapList(this); | |
| 8197 | |
| 8198 String toString() { | |
| 8199 StringBuffer buffer = new StringBuffer('['); | |
| 8200 buffer.writeAll(this, ', '); | |
| 8201 buffer.write(']'); | |
| 8202 return buffer.toString(); | |
| 8203 } | |
| 8204 | |
| 8205 // -- end List<ElementInstance> mixins. | 7105 // -- end List<ElementInstance> mixins. |
| 8206 | 7106 |
| 8207 @DomName('SVGElementInstanceList.item') | 7107 @DomName('SVGElementInstanceList.item') |
| 8208 @DocsEditable | 7108 @DocsEditable |
| 8209 ElementInstance item(int index) native "SVGElementInstanceList_item_Callback"; | 7109 ElementInstance item(int index) native "SVGElementInstanceList_item_Callback"; |
| 8210 | 7110 |
| 8211 } | 7111 } |
| 8212 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 7112 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 8213 // for details. All rights reserved. Use of this source code is governed by a | 7113 // for details. All rights reserved. Use of this source code is governed by a |
| 8214 // BSD-style license that can be found in the LICENSE file. | 7114 // BSD-style license that can be found in the LICENSE file. |
| (...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8542 @DocsEditable | 7442 @DocsEditable |
| 8543 @DomName('SVGVKernElement') | 7443 @DomName('SVGVKernElement') |
| 8544 abstract class _SVGVKernElement extends SvgElement { | 7444 abstract class _SVGVKernElement extends SvgElement { |
| 8545 _SVGVKernElement.internal() : super.internal(); | 7445 _SVGVKernElement.internal() : super.internal(); |
| 8546 | 7446 |
| 8547 @DomName('SVGVKernElement.SVGVKernElement') | 7447 @DomName('SVGVKernElement.SVGVKernElement') |
| 8548 @DocsEditable | 7448 @DocsEditable |
| 8549 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); | 7449 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); |
| 8550 | 7450 |
| 8551 } | 7451 } |
| OLD | NEW |