@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="NodeList")
public class NodeList
extends JsObject
implements JsIterable<NodeList.Entry>
| Modifier and Type | Class and Description |
|---|---|
static class |
NodeList.Entry |
static interface |
NodeList.ForEachCallback |
static interface |
NodeList.ForEachCallback2 |
static interface |
NodeList.ForEachCallback3 |
| Modifier | Constructor and Description |
|---|---|
protected |
NodeList() |
| Modifier and Type | Method and Description |
|---|---|
@JsNonNull JsIterator<NodeList.Entry> |
entries()
The NodeList.entries() method returns an iterator allowing to go through all key/value pairs contained in this object.
|
void |
forEach(@JsNonNull NodeList.ForEachCallback callback)
The forEach() method of the NodeList interface calls the callback given in parameter once for each value pair in the list, in insertion order.
|
void |
forEach(@JsNonNull NodeList.ForEachCallback2 callback)
The forEach() method of the NodeList interface calls the callback given in parameter once for each value pair in the list, in insertion order.
|
void |
forEach(@JsNonNull NodeList.ForEachCallback3 callback)
The forEach() method of the NodeList interface calls the callback given in parameter once for each value pair in the list, in insertion order.
|
@JsNullable Node |
item(int index)
Returns a node from a NodeList by index.
|
@JsNonNull JsIterator<java.lang.Double> |
keys()
The NodeList.keys() method returns an iterator allowing to go through all keys contained in this object.
|
int |
length()
The NodeList.length property returns the number of items in a NodeList.
|
@JsNonNull JsIterator<Node> |
values()
The NodeList.values() method returns an iterator allowing to go through all values contained in this object.
|
assign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, valuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waititerator@JsProperty(name="length") public int length()
public @JsNullable Node item(int index)
public @JsNonNull JsIterator<java.lang.Double> keys()
public @JsNonNull JsIterator<Node> values()
public @JsNonNull JsIterator<NodeList.Entry> entries()
public void forEach(@JsNonNull NodeList.ForEachCallback callback)
public void forEach(@JsNonNull NodeList.ForEachCallback2 callback)
public void forEach(@JsNonNull NodeList.ForEachCallback3 callback)