public interface

TimeList

org.w3c.dom.smil.TimeList
Known Indirect Subclasses

Class Overview

The TimeList interface provides the abstraction of an ordered collection of times, without defining or constraining how this collection is implemented.

The items in the TimeList are accessible via an integral index, starting from 0.

Summary

Public Methods
abstract int getLength()
The number of times in the list.
abstract Time item(int index)
Returns the index th item in the collection.

Public Methods

public abstract int getLength ()

The number of times in the list. The range of valid child time indices is 0 to length-1 inclusive.

public abstract Time item (int index)

Returns the index th item in the collection. If index is greater than or equal to the number of times in the list, this returns null .

Parameters
index Index into the collection.
Returns
  • The time at the index th position in the TimeList , or null if that is not a valid index.