org.vectomatic.dom.svg
Class OMSVGElementInstanceList

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by 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.


Constructor Summary
protected OMSVGElementInstanceList()
           
 
Method Summary
 int getLength()
          The number of OMSVGElementInstance objects in the list.
 OMSVGElementInstance item(int index)
          Returns the indexth item in the collection.
 
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
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OMSVGElementInstanceList

protected OMSVGElementInstanceList()
Method Detail

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.