@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 |
|---|---|
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(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(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(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.
|
Node |
item(int index)
Returns a node from a NodeList by index.
|
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.
|
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, is, isExtensible, isFrozen, isSealed, keys, preventExtensions, seal, setPrototypeOf, valueOf_, valuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waititerator@JsProperty(name="length") public int length()
@Nullable public Node item(int index)
@Nonnull public JsIterator<java.lang.Double> keys()
@Nonnull public JsIterator<Node> values()
@Nonnull public JsIterator<NodeList.Entry> entries()
public void forEach(@Nonnull
NodeList.ForEachCallback callback)
public void forEach(@Nonnull
NodeList.ForEachCallback2 callback)
public void forEach(@Nonnull
NodeList.ForEachCallback3 callback)