org.vectomatic.dom.svg
Class OMSVGElementInstanceList
java.lang.Object
com.google.gwt.core.client.JavaScriptObject
org.vectomatic.dom.svg.OMSVGElementInstanceList
public class OMSVGElementInstanceList
- extends com.google.gwt.core.client.JavaScriptObject
The OMSVGElementInstanceList
interface provides
the abstraction of an ordered collection of OMSVGElementInstance
objects, without defining or constraining how this collection is implemented.
Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
OMSVGElementInstanceList
protected OMSVGElementInstanceList()
getLength
public final int getLength()
- The number of
OMSVGElementInstance
objects
in the list. The range of valid child indices is 0 to getLength()
−1
inclusive.
item
public final OMSVGElementInstance item(int index)
- Returns the indexth item in the collection. If index
is greater than or equal to the number of nodes in the list, this returns
null.
- Parameters:
index
- Index into the collection.
- Returns:
- The
OMSVGElementInstance
object
at the indexth position in the OMSVGElementInstanceList
,
or null if that is not a valid index.
Copyright © 2012. All Rights Reserved.