OLD | NEW |
1 library svg; | 1 library svg; |
2 | 2 |
3 import 'dart:html'; | 3 import 'dart:html'; |
4 // DO NOT EDIT | 4 // DO NOT EDIT |
5 // Auto-generated dart:svg library. | 5 // Auto-generated dart:svg library. |
6 | 6 |
7 | 7 |
8 | 8 |
9 | 9 |
10 | 10 |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 } | 367 } |
368 | 368 |
369 int indexOf(SVGAnimatedLength element, [int start = 0]) => | 369 int indexOf(SVGAnimatedLength element, [int start = 0]) => |
370 _Lists.indexOf(this, element, start, this.length); | 370 _Lists.indexOf(this, element, start, this.length); |
371 | 371 |
372 int lastIndexOf(SVGAnimatedLength element, [int start]) { | 372 int lastIndexOf(SVGAnimatedLength element, [int start]) { |
373 if (start == null) start = length - 1; | 373 if (start == null) start = length - 1; |
374 return _Lists.lastIndexOf(this, element, start); | 374 return _Lists.lastIndexOf(this, element, start); |
375 } | 375 } |
376 | 376 |
| 377 SVGAnimatedLength get first => this[0]; |
| 378 |
377 SVGAnimatedLength get last => this[length - 1]; | 379 SVGAnimatedLength get last => this[length - 1]; |
378 | 380 |
379 SVGAnimatedLength removeLast() { | 381 SVGAnimatedLength removeLast() { |
380 throw new UnsupportedError("Cannot removeLast on immutable List."); | 382 throw new UnsupportedError("Cannot removeLast on immutable List."); |
381 } | 383 } |
382 | 384 |
383 void setRange(int start, int rangeLength, List<SVGAnimatedLength> from, [int s
tartFrom]) { | 385 void setRange(int start, int rangeLength, List<SVGAnimatedLength> from, [int s
tartFrom]) { |
384 throw new UnsupportedError("Cannot setRange on immutable List."); | 386 throw new UnsupportedError("Cannot setRange on immutable List."); |
385 } | 387 } |
386 | 388 |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 } | 480 } |
479 | 481 |
480 int indexOf(SVGAnimatedNumber element, [int start = 0]) => | 482 int indexOf(SVGAnimatedNumber element, [int start = 0]) => |
481 _Lists.indexOf(this, element, start, this.length); | 483 _Lists.indexOf(this, element, start, this.length); |
482 | 484 |
483 int lastIndexOf(SVGAnimatedNumber element, [int start]) { | 485 int lastIndexOf(SVGAnimatedNumber element, [int start]) { |
484 if (start == null) start = length - 1; | 486 if (start == null) start = length - 1; |
485 return _Lists.lastIndexOf(this, element, start); | 487 return _Lists.lastIndexOf(this, element, start); |
486 } | 488 } |
487 | 489 |
| 490 SVGAnimatedNumber get first => this[0]; |
| 491 |
488 SVGAnimatedNumber get last => this[length - 1]; | 492 SVGAnimatedNumber get last => this[length - 1]; |
489 | 493 |
490 SVGAnimatedNumber removeLast() { | 494 SVGAnimatedNumber removeLast() { |
491 throw new UnsupportedError("Cannot removeLast on immutable List."); | 495 throw new UnsupportedError("Cannot removeLast on immutable List."); |
492 } | 496 } |
493 | 497 |
494 void setRange(int start, int rangeLength, List<SVGAnimatedNumber> from, [int s
tartFrom]) { | 498 void setRange(int start, int rangeLength, List<SVGAnimatedNumber> from, [int s
tartFrom]) { |
495 throw new UnsupportedError("Cannot setRange on immutable List."); | 499 throw new UnsupportedError("Cannot setRange on immutable List."); |
496 } | 500 } |
497 | 501 |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
617 } | 621 } |
618 | 622 |
619 int indexOf(SVGAnimateTransformElement element, [int start = 0]) => | 623 int indexOf(SVGAnimateTransformElement element, [int start = 0]) => |
620 _Lists.indexOf(this, element, start, this.length); | 624 _Lists.indexOf(this, element, start, this.length); |
621 | 625 |
622 int lastIndexOf(SVGAnimateTransformElement element, [int start]) { | 626 int lastIndexOf(SVGAnimateTransformElement element, [int start]) { |
623 if (start == null) start = length - 1; | 627 if (start == null) start = length - 1; |
624 return _Lists.lastIndexOf(this, element, start); | 628 return _Lists.lastIndexOf(this, element, start); |
625 } | 629 } |
626 | 630 |
| 631 SVGAnimateTransformElement get first => this[0]; |
| 632 |
627 SVGAnimateTransformElement get last => this[length - 1]; | 633 SVGAnimateTransformElement get last => this[length - 1]; |
628 | 634 |
629 SVGAnimateTransformElement removeLast() { | 635 SVGAnimateTransformElement removeLast() { |
630 throw new UnsupportedError("Cannot removeLast on immutable List."); | 636 throw new UnsupportedError("Cannot removeLast on immutable List."); |
631 } | 637 } |
632 | 638 |
633 void setRange(int start, int rangeLength, List<SVGAnimateTransformElement> fro
m, [int startFrom]) { | 639 void setRange(int start, int rangeLength, List<SVGAnimateTransformElement> fro
m, [int startFrom]) { |
634 throw new UnsupportedError("Cannot setRange on immutable List."); | 640 throw new UnsupportedError("Cannot setRange on immutable List."); |
635 } | 641 } |
636 | 642 |
(...skipping 2406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3043 } | 3049 } |
3044 | 3050 |
3045 int indexOf(SVGLength element, [int start = 0]) => | 3051 int indexOf(SVGLength element, [int start = 0]) => |
3046 _Lists.indexOf(this, element, start, this.length); | 3052 _Lists.indexOf(this, element, start, this.length); |
3047 | 3053 |
3048 int lastIndexOf(SVGLength element, [int start]) { | 3054 int lastIndexOf(SVGLength element, [int start]) { |
3049 if (start == null) start = length - 1; | 3055 if (start == null) start = length - 1; |
3050 return _Lists.lastIndexOf(this, element, start); | 3056 return _Lists.lastIndexOf(this, element, start); |
3051 } | 3057 } |
3052 | 3058 |
| 3059 SVGLength get first => this[0]; |
| 3060 |
3053 SVGLength get last => this[length - 1]; | 3061 SVGLength get last => this[length - 1]; |
3054 | 3062 |
3055 SVGLength removeLast() { | 3063 SVGLength removeLast() { |
3056 throw new UnsupportedError("Cannot removeLast on immutable List."); | 3064 throw new UnsupportedError("Cannot removeLast on immutable List."); |
3057 } | 3065 } |
3058 | 3066 |
3059 void setRange(int start, int rangeLength, List<SVGLength> from, [int startFrom
]) { | 3067 void setRange(int start, int rangeLength, List<SVGLength> from, [int startFrom
]) { |
3060 throw new UnsupportedError("Cannot setRange on immutable List."); | 3068 throw new UnsupportedError("Cannot setRange on immutable List."); |
3061 } | 3069 } |
3062 | 3070 |
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3532 } | 3540 } |
3533 | 3541 |
3534 int indexOf(SVGNumber element, [int start = 0]) => | 3542 int indexOf(SVGNumber element, [int start = 0]) => |
3535 _Lists.indexOf(this, element, start, this.length); | 3543 _Lists.indexOf(this, element, start, this.length); |
3536 | 3544 |
3537 int lastIndexOf(SVGNumber element, [int start]) { | 3545 int lastIndexOf(SVGNumber element, [int start]) { |
3538 if (start == null) start = length - 1; | 3546 if (start == null) start = length - 1; |
3539 return _Lists.lastIndexOf(this, element, start); | 3547 return _Lists.lastIndexOf(this, element, start); |
3540 } | 3548 } |
3541 | 3549 |
| 3550 SVGNumber get first => this[0]; |
| 3551 |
3542 SVGNumber get last => this[length - 1]; | 3552 SVGNumber get last => this[length - 1]; |
3543 | 3553 |
3544 SVGNumber removeLast() { | 3554 SVGNumber removeLast() { |
3545 throw new UnsupportedError("Cannot removeLast on immutable List."); | 3555 throw new UnsupportedError("Cannot removeLast on immutable List."); |
3546 } | 3556 } |
3547 | 3557 |
3548 void setRange(int start, int rangeLength, List<SVGNumber> from, [int startFrom
]) { | 3558 void setRange(int start, int rangeLength, List<SVGNumber> from, [int startFrom
]) { |
3549 throw new UnsupportedError("Cannot setRange on immutable List."); | 3559 throw new UnsupportedError("Cannot setRange on immutable List."); |
3550 } | 3560 } |
3551 | 3561 |
(...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4191 } | 4201 } |
4192 | 4202 |
4193 int indexOf(SVGPathSeg element, [int start = 0]) => | 4203 int indexOf(SVGPathSeg element, [int start = 0]) => |
4194 _Lists.indexOf(this, element, start, this.length); | 4204 _Lists.indexOf(this, element, start, this.length); |
4195 | 4205 |
4196 int lastIndexOf(SVGPathSeg element, [int start]) { | 4206 int lastIndexOf(SVGPathSeg element, [int start]) { |
4197 if (start == null) start = length - 1; | 4207 if (start == null) start = length - 1; |
4198 return _Lists.lastIndexOf(this, element, start); | 4208 return _Lists.lastIndexOf(this, element, start); |
4199 } | 4209 } |
4200 | 4210 |
| 4211 SVGPathSeg get first => this[0]; |
| 4212 |
4201 SVGPathSeg get last => this[length - 1]; | 4213 SVGPathSeg get last => this[length - 1]; |
4202 | 4214 |
4203 SVGPathSeg removeLast() { | 4215 SVGPathSeg removeLast() { |
4204 throw new UnsupportedError("Cannot removeLast on immutable List."); | 4216 throw new UnsupportedError("Cannot removeLast on immutable List."); |
4205 } | 4217 } |
4206 | 4218 |
4207 void setRange(int start, int rangeLength, List<SVGPathSeg> from, [int startFro
m]) { | 4219 void setRange(int start, int rangeLength, List<SVGPathSeg> from, [int startFro
m]) { |
4208 throw new UnsupportedError("Cannot setRange on immutable List."); | 4220 throw new UnsupportedError("Cannot setRange on immutable List."); |
4209 } | 4221 } |
4210 | 4222 |
(...skipping 849 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5060 } | 5072 } |
5061 | 5073 |
5062 int indexOf(String element, [int start = 0]) => | 5074 int indexOf(String element, [int start = 0]) => |
5063 _Lists.indexOf(this, element, start, this.length); | 5075 _Lists.indexOf(this, element, start, this.length); |
5064 | 5076 |
5065 int lastIndexOf(String element, [int start]) { | 5077 int lastIndexOf(String element, [int start]) { |
5066 if (start == null) start = length - 1; | 5078 if (start == null) start = length - 1; |
5067 return _Lists.lastIndexOf(this, element, start); | 5079 return _Lists.lastIndexOf(this, element, start); |
5068 } | 5080 } |
5069 | 5081 |
| 5082 String get first => this[0]; |
| 5083 |
5070 String get last => this[length - 1]; | 5084 String get last => this[length - 1]; |
5071 | 5085 |
5072 String removeLast() { | 5086 String removeLast() { |
5073 throw new UnsupportedError("Cannot removeLast on immutable List."); | 5087 throw new UnsupportedError("Cannot removeLast on immutable List."); |
5074 } | 5088 } |
5075 | 5089 |
5076 void setRange(int start, int rangeLength, List<String> from, [int startFrom])
{ | 5090 void setRange(int start, int rangeLength, List<String> from, [int startFrom])
{ |
5077 throw new UnsupportedError("Cannot setRange on immutable List."); | 5091 throw new UnsupportedError("Cannot setRange on immutable List."); |
5078 } | 5092 } |
5079 | 5093 |
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5624 } | 5638 } |
5625 | 5639 |
5626 int indexOf(SVGTransform element, [int start = 0]) => | 5640 int indexOf(SVGTransform element, [int start = 0]) => |
5627 _Lists.indexOf(this, element, start, this.length); | 5641 _Lists.indexOf(this, element, start, this.length); |
5628 | 5642 |
5629 int lastIndexOf(SVGTransform element, [int start]) { | 5643 int lastIndexOf(SVGTransform element, [int start]) { |
5630 if (start == null) start = length - 1; | 5644 if (start == null) start = length - 1; |
5631 return _Lists.lastIndexOf(this, element, start); | 5645 return _Lists.lastIndexOf(this, element, start); |
5632 } | 5646 } |
5633 | 5647 |
| 5648 SVGTransform get first => this[0]; |
| 5649 |
5634 SVGTransform get last => this[length - 1]; | 5650 SVGTransform get last => this[length - 1]; |
5635 | 5651 |
5636 SVGTransform removeLast() { | 5652 SVGTransform removeLast() { |
5637 throw new UnsupportedError("Cannot removeLast on immutable List."); | 5653 throw new UnsupportedError("Cannot removeLast on immutable List."); |
5638 } | 5654 } |
5639 | 5655 |
5640 void setRange(int start, int rangeLength, List<SVGTransform> from, [int startF
rom]) { | 5656 void setRange(int start, int rangeLength, List<SVGTransform> from, [int startF
rom]) { |
5641 throw new UnsupportedError("Cannot setRange on immutable List."); | 5657 throw new UnsupportedError("Cannot setRange on immutable List."); |
5642 } | 5658 } |
5643 | 5659 |
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6002 } | 6018 } |
6003 | 6019 |
6004 int indexOf(SVGElementInstance element, [int start = 0]) => | 6020 int indexOf(SVGElementInstance element, [int start = 0]) => |
6005 _Lists.indexOf(this, element, start, this.length); | 6021 _Lists.indexOf(this, element, start, this.length); |
6006 | 6022 |
6007 int lastIndexOf(SVGElementInstance element, [int start]) { | 6023 int lastIndexOf(SVGElementInstance element, [int start]) { |
6008 if (start == null) start = length - 1; | 6024 if (start == null) start = length - 1; |
6009 return _Lists.lastIndexOf(this, element, start); | 6025 return _Lists.lastIndexOf(this, element, start); |
6010 } | 6026 } |
6011 | 6027 |
| 6028 SVGElementInstance get first => this[0]; |
| 6029 |
6012 SVGElementInstance get last => this[length - 1]; | 6030 SVGElementInstance get last => this[length - 1]; |
6013 | 6031 |
6014 SVGElementInstance removeLast() { | 6032 SVGElementInstance removeLast() { |
6015 throw new UnsupportedError("Cannot removeLast on immutable List."); | 6033 throw new UnsupportedError("Cannot removeLast on immutable List."); |
6016 } | 6034 } |
6017 | 6035 |
6018 void setRange(int start, int rangeLength, List<SVGElementInstance> from, [int
startFrom]) { | 6036 void setRange(int start, int rangeLength, List<SVGElementInstance> from, [int
startFrom]) { |
6019 throw new UnsupportedError("Cannot setRange on immutable List."); | 6037 throw new UnsupportedError("Cannot setRange on immutable List."); |
6020 } | 6038 } |
6021 | 6039 |
6022 void removeRange(int start, int rangeLength) { | 6040 void removeRange(int start, int rangeLength) { |
6023 throw new UnsupportedError("Cannot removeRange on immutable List."); | 6041 throw new UnsupportedError("Cannot removeRange on immutable List."); |
6024 } | 6042 } |
6025 | 6043 |
6026 void insertRange(int start, int rangeLength, [SVGElementInstance initialValue]
) { | 6044 void insertRange(int start, int rangeLength, [SVGElementInstance initialValue]
) { |
6027 throw new UnsupportedError("Cannot insertRange on immutable List."); | 6045 throw new UnsupportedError("Cannot insertRange on immutable List."); |
6028 } | 6046 } |
6029 | 6047 |
6030 List<SVGElementInstance> getRange(int start, int rangeLength) => | 6048 List<SVGElementInstance> getRange(int start, int rangeLength) => |
6031 _Lists.getRange(this, start, rangeLength, <SVGElementInstance>[]); | 6049 _Lists.getRange(this, start, rangeLength, <SVGElementInstance>[]); |
6032 | 6050 |
6033 // -- end List<SVGElementInstance> mixins. | 6051 // -- end List<SVGElementInstance> mixins. |
6034 | 6052 |
6035 /** @domName SVGElementInstanceList.item */ | 6053 /** @domName SVGElementInstanceList.item */ |
6036 SVGElementInstance item(int index) native; | 6054 SVGElementInstance item(int index) native; |
6037 } | 6055 } |
OLD | NEW |