|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.google.gwt.dom.client.NodeCollection<T>
T - the type of contained nodepublic class NodeCollection<T extends Node>
An ElementCollection is a list of nodes. An individual node may be accessed by either ordinal index or the node's name or id attributes. Note: Collections in the HTML DOM are assumed to be live meaning that they are automatically updated when the underlying document is changed.
| Method Summary | |
|---|---|
T |
getItem(int index)
This method retrieves a node specified by ordinal index. |
int |
getLength()
This attribute specifies the length or size of the list. |
T |
getNamedItem(java.lang.String name)
This method retrieves a Node using a name. |
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
|---|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public final T getItem(int index)
index - The index of the node to be fetched. The index origin is 0.
public final int getLength()
public final T getNamedItem(java.lang.String name)
name - The name of the Node to be fetched.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||