Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsGenericDOMHTMLCollection Class Reference

This is a base class for a generic HTML collection. More...

#include <nsGenericDOMHTMLCollection.h>

Inheritance diagram for nsGenericDOMHTMLCollection:
Inheritance graph
Collaboration diagram for nsGenericDOMHTMLCollection:
Collaboration graph

List of all members.

Public Member Functions

 nsGenericDOMHTMLCollection ()
virtual ~nsGenericDOMHTMLCollection ()
NS_DECL_ISUPPORTS NS_IMETHOD GetLength (PRUint32 *aLength)=0
NS_IMETHOD Item (PRUint32 aIndex, nsIDOMNode **aReturn)=0
NS_IMETHOD NamedItem (const nsAString &aName, nsIDOMNode **aReturn)=0
nsIDOMNode item (in unsigned long index)
nsIDOMNode namedItem (in DOMString name)

Public Attributes

readonly attribute unsigned long length

Detailed Description

This is a base class for a generic HTML collection.

The base class provides implementations for nsISupports, but it is up to the subclass to implement the core HTML collection

methods: GetLength Item NamedItem

Definition at line 54 of file nsGenericDOMHTMLCollection.h.

Constructor & Destructor Documentation

Definition at line 42 of file nsGenericDOMHTMLCollection.cpp.


Definition at line 46 of file nsGenericDOMHTMLCollection.cpp.


Member Function Documentation

Implemented in TableRowsCollection.

nsIDOMNode nsIDOMHTMLCollection::item ( in unsigned long  index) [inherited]
NS_IMETHOD nsGenericDOMHTMLCollection::Item ( PRUint32  aIndex,
nsIDOMNode **  aReturn 
) [pure virtual]

Implemented in TableRowsCollection.

nsIDOMNode nsIDOMHTMLCollection::namedItem ( in DOMString  name) [inherited]
NS_IMETHOD nsGenericDOMHTMLCollection::NamedItem ( const nsAString &  aName,
nsIDOMNode **  aReturn 
) [pure virtual]

Implemented in TableRowsCollection.

Member Data Documentation

readonly attribute unsigned long nsIDOMHTMLCollection::length [inherited]

Definition at line 55 of file nsIDOMHTMLCollection.idl.

The documentation for this class was generated from the following files: