Movatterモバイル変換


[0]ホーム

URL:


menu
  1. Dart
  2. dart:html
  3. ElementList<T extendsElement> class
ElementList
description

ElementList<T extends Element> classabstract

An immutable list containing HTML elements. This list contains someadditional methods when compared to regular lists for ease of CSSmanipulation on a group of elements.

Inheritance

Constructors

ElementList()

Properties

borderEdgeCssRect
Access dimensions and position of the firstElement's content + padding +border box in this list.
no setter
classesCssClassSet
The union of all CSS classes applied to the elements in this list.
getter/setter pair
contentEdgeCssRect
Access dimensions and position of theElements in this list.
no setter
first↔ T
The first element.
getter/setter pairinherited
hashCodeint
The hash code for this object.
no setterinherited
isEmptybool
Whether this collection has no elements.
no setterinherited
isNotEmptybool
Whether this collection has at least one element.
no setterinherited
iteratorIterator<T>
A newIterator that allows iterating the elements of thisIterable.
no setterinherited
last↔ T
The last element.
getter/setter pairinherited
lengthint
The number of objects in this list.
getter/setter pairinherited
marginEdgeCssRect
Access dimensions and position of the firstElement's content + padding +border + margin box in this list.
no setter
onAbortElementStream<Event>
Stream ofabort events handled by thisElement.
no setter
onBeforeCopyElementStream<Event>
Stream ofbeforecopy events handled by thisElement.
no setter
onBeforeCutElementStream<Event>
Stream ofbeforecut events handled by thisElement.
no setter
onBeforePasteElementStream<Event>
Stream ofbeforepaste events handled by thisElement.
no setter
onBlurElementStream<Event>
Stream ofblur events handled by thisElement.
no setter
onCanPlayElementStream<Event>
no setter
onCanPlayThroughElementStream<Event>
no setter
onChangeElementStream<Event>
Stream ofchange events handled by thisElement.
no setter
onClickElementStream<MouseEvent>
Stream ofclick events handled by thisElement.
no setter
onContextMenuElementStream<MouseEvent>
Stream ofcontextmenu events handled by thisElement.
no setter
onCopyElementStream<ClipboardEvent>
Stream ofcopy events handled by thisElement.
no setter
onCutElementStream<ClipboardEvent>
Stream ofcut events handled by thisElement.
no setter
onDoubleClickElementStream<Event>
Stream ofdoubleclick events handled by thisElement.
no setter
onDragElementStream<MouseEvent>
A stream ofdrag events fired when this element currently being dragged.
no setter
onDragEndElementStream<MouseEvent>
A stream ofdragend events fired when this element completes a dragoperation.
no setter
onDragEnterElementStream<MouseEvent>
A stream ofdragenter events fired when a dragged object is first draggedover this element.
no setter
onDragLeaveElementStream<MouseEvent>
A stream ofdragleave events fired when an object being dragged over thiselement leaves this element's target area.
no setter
onDragOverElementStream<MouseEvent>
A stream ofdragover events fired when a dragged object is currentlybeing dragged over this element.
no setter
onDragStartElementStream<MouseEvent>
A stream ofdragstart events fired when this element starts beingdragged.
no setter
onDropElementStream<MouseEvent>
A stream ofdrop events fired when a dragged object is dropped on thiselement.
no setter
onDurationChangeElementStream<Event>
no setter
onEmptiedElementStream<Event>
no setter
onEndedElementStream<Event>
no setter
onErrorElementStream<Event>
Stream oferror events handled by thisElement.
no setter
onFocusElementStream<Event>
Stream offocus events handled by thisElement.
no setter
onFullscreenChangeElementStream<Event>
Stream offullscreenchange events handled by thisElement.
no setter
onFullscreenErrorElementStream<Event>
Stream offullscreenerror events handled by thisElement.
no setter
onInputElementStream<Event>
Stream ofinput events handled by thisElement.
no setter
onInvalidElementStream<Event>
Stream ofinvalid events handled by thisElement.
no setter
onKeyDownElementStream<KeyboardEvent>
Stream ofkeydown events handled by thisElement.
no setter
onKeyPressElementStream<KeyboardEvent>
Stream ofkeypress events handled by thisElement.
no setter
onKeyUpElementStream<KeyboardEvent>
Stream ofkeyup events handled by thisElement.
no setter
onLoadElementStream<Event>
Stream ofload events handled by thisElement.
no setter
onLoadedDataElementStream<Event>
no setter
onLoadedMetadataElementStream<Event>
no setter
onMouseDownElementStream<MouseEvent>
Stream ofmousedown events handled by thisElement.
no setter
onMouseEnterElementStream<MouseEvent>
Stream ofmouseenter events handled by thisElement.
no setter
onMouseLeaveElementStream<MouseEvent>
Stream ofmouseleave events handled by thisElement.
no setter
onMouseMoveElementStream<MouseEvent>
Stream ofmousemove events handled by thisElement.
no setter
onMouseOutElementStream<MouseEvent>
Stream ofmouseout events handled by thisElement.
no setter
onMouseOverElementStream<MouseEvent>
Stream ofmouseover events handled by thisElement.
no setter
onMouseUpElementStream<MouseEvent>
Stream ofmouseup events handled by thisElement.
no setter
onMouseWheelElementStream<WheelEvent>
Stream ofmousewheel events handled by thisElement.
no setter
onPasteElementStream<ClipboardEvent>
Stream ofpaste events handled by thisElement.
no setter
onPauseElementStream<Event>
no setter
onPlayElementStream<Event>
no setter
onPlayingElementStream<Event>
no setter
onRateChangeElementStream<Event>
no setter
onResetElementStream<Event>
Stream ofreset events handled by thisElement.
no setter
onResizeElementStream<Event>
no setter
onScrollElementStream<Event>
Stream ofscroll events handled by thisElement.
no setter
onSearchElementStream<Event>
Stream ofsearch events handled by thisElement.
no setter
onSeekedElementStream<Event>
no setter
onSeekingElementStream<Event>
no setter
onSelectElementStream<Event>
Stream ofselect events handled by thisElement.
no setter
onSelectStartElementStream<Event>
Stream ofselectstart events handled by thisElement.
no setter
onStalledElementStream<Event>
no setter
onSubmitElementStream<Event>
Stream ofsubmit events handled by thisElement.
no setter
onSuspendElementStream<Event>
no setter
onTimeUpdateElementStream<Event>
no setter
onTouchCancelElementStream<TouchEvent>
Stream oftouchcancel events handled by thisElement.
no setter
onTouchEndElementStream<TouchEvent>
Stream oftouchend events handled by thisElement.
no setter
onTouchEnterElementStream<TouchEvent>
Stream oftouchenter events handled by thisElement.
no setter
onTouchLeaveElementStream<TouchEvent>
Stream oftouchleave events handled by thisElement.
no setter
onTouchMoveElementStream<TouchEvent>
Stream oftouchmove events handled by thisElement.
no setter
onTouchStartElementStream<TouchEvent>
Stream oftouchstart events handled by thisElement.
no setter
onTransitionEndElementStream<TransitionEvent>
Stream oftransitionend events handled by thisElement.
no setter
onVolumeChangeElementStream<Event>
no setter
onWaitingElementStream<Event>
no setter
onWheelElementStream<WheelEvent>
no setter
paddingEdgeCssRect
Access dimensions and position of the firstElement's content + paddingbox in this list.
no setter
reversedIterable<T>
AnIterable of the objects in this list in reverse order.
no setterinherited
runtimeTypeType
A representation of the runtime type of the object.
no setterinherited
single→ T
Checks that this iterable has only one element, and returns that element.
no setterinherited
styleCssStyleDeclarationBase
Access the union of allCssStyleDeclarations that are associated with anElementList.
no setter

Methods

add(Telement)→ void
Addsvalue to the end of this list,extending the length by one.
inherited
addAll(Iterable<T>iterable)→ void
Appends all objects ofiterable to the end of this list.
inherited
any(booltest(Telement))bool
Checks whether any element of this iterable satisfiestest.
inherited
asMap()Map<int,T>
An unmodifiableMap view of this list.
inherited
cast<R>()List<R>
Returns a view of this list as a list ofR instances.
inherited
clear()→ void
Removes all objects from this list; the length of the list becomes zero.
inherited
contains(Object?element)bool
Whether the collection contains an element equal toelement.
inherited
elementAt(intindex)→ T
Returns theindexth element.
inherited
every(booltest(Telement))bool
Checks whether every element of this iterable satisfiestest.
inherited
expand<T>(Iterable<T>f(Telement))Iterable<T>
Expands each element of thisIterable into zero or more elements.
inherited
fillRange(intstart,intend, [T?fill])→ void
Overwrites a range of elements withfillValue.
inherited
firstWhere(booltest(Telement), {TorElse()?})→ T
The first element that satisfies the given predicatetest.
inherited
fold<T>(TinitialValue,Tcombine(TpreviousValue,Telement))→ T
Reduces a collection to a single value by iteratively combining eachelement of the collection with an existing value
inherited
followedBy(Iterable<T>other)Iterable<T>
Creates the lazy concatenation of this iterable andother.
inherited
forEach(voidaction(Telement))→ void
Invokesaction on each element of this iterable in iteration order.
inherited
getRange(intstart,intend)Iterable<T>
Creates anIterable that iterates over a range of elements.
inherited
indexOf(Object?element, [intstart =0])int
The first index ofelement in this list.
inherited
indexWhere(booltest(Telement), [intstart =0])int
The first index in the list that satisfies the providedtest.
inherited
insert(intindex,Telement)→ void
Insertselement at positionindex in this list.
inherited
insertAll(intindex,Iterable<T>iterable)→ void
Inserts all objects ofiterable at positionindex in this list.
inherited
join([Stringseparator =""])String
Converts each element to aString and concatenates the strings.
inherited
lastIndexOf(Object?element, [int?start])int
The last index ofelement in this list.
inherited
lastIndexWhere(booltest(Telement), [int?start])int
The last index in the list that satisfies the providedtest.
inherited
lastWhere(booltest(Telement), {TorElse()?})→ T
The last element that satisfies the given predicatetest.
inherited
map<T>(Tf(Telement))Iterable<T>
The current elements of this iterable modified bytoElement.
inherited
noSuchMethod(Invocationinvocation)→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reduce(Tcombine(TpreviousValue,Telement))→ T
Reduces a collection to a single value by iteratively combining elementsof the collection using the provided function.
inherited
remove(Object?element)bool
Removes the first occurrence ofvalue from this list.
inherited
removeAt(intindex)→ T
Removes the object at positionindex from this list.
inherited
removeLast()→ T
Removes and returns the last object in this list.
inherited
removeRange(intstart,intend)→ void
Removes a range of elements from the list.
inherited
removeWhere(booltest(Telement))→ void
Removes all objects from this list that satisfytest.
inherited
replaceRange(intstart,intend,Iterable<T>newContents)→ void
Replaces a range of elements with the elements ofreplacements.
inherited
retainWhere(booltest(Telement))→ void
Removes all objects from this list that fail to satisfytest.
inherited
setAll(intindex,Iterable<T>iterable)→ void
Overwrites elements with the objects ofiterable.
inherited
setRange(intstart,intend,Iterable<T>iterable, [intskipCount =0])→ void
Writes some elements ofiterable into a range of this list.
inherited
shuffle([Random?random])→ void
Shuffles the elements of this list randomly.
inherited
singleWhere(booltest(Telement), {TorElse()?})→ T
The single element that satisfiestest.
inherited
skip(intcount)Iterable<T>
Creates anIterable that provides all but the firstcount elements.
inherited
skipWhile(booltest(Telement))Iterable<T>
Creates anIterable that skips leading elements whiletest is satisfied.
inherited
sort([intcompare(Ta,Tb)?])→ void
Sorts this list according to the order specified by thecompare function.
inherited
sublist(intstart, [int?end])List<T>
Returns a new list containing the elements betweenstart andend.
inherited
take(intcount)Iterable<T>
Creates a lazy iterable of thecount first elements of this iterable.
inherited
takeWhile(booltest(Telement))Iterable<T>
Creates a lazy iterable of the leading elements satisfyingtest.
inherited
toList({boolgrowable =true})List<T>
Creates aList containing the elements of thisIterable.
inherited
toSet()Set<T>
Creates aSet containing the same elements as this iterable.
inherited
toString()String
A string representation of this object.
inherited
where(booltest(Telement))Iterable<T>
Creates a new lazyIterable with all elements that satisfy thepredicatetest.
inherited
whereType<T>()Iterable<T>
Creates a new lazyIterable with all elements that have typeT.
inherited

Operators

operator +(List<T>other)List<T>
Returns the concatenation of this list andother.
inherited
operator ==(Objectother)bool
The equality operator.
inherited
operator [](intindex)→ T
The object at the givenindex in the list.
inherited
operator []=(intindex,Tvalue)→ void
Sets the value at the givenindex in the list tovalue.
inherited
  1. Dart
  2. dart:html
  3. ElementList<T extendsElement> class
dart:html library

[8]ページ先頭

©2009-2025 Movatter.jp