Back to index

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

#include <nsDOMCSSValueList.h>

Inheritance diagram for nsDOMCSSValueList:
Inheritance graph
Collaboration diagram for nsDOMCSSValueList:
Collaboration graph

List of all members.

Public Member Functions

nsDOMCSSValueList (PRBool aCommaDelimited, PRBool aReadonly)
virtual ~nsDOMCSSValueList ()
PRBool AppendCSSValue (nsIDOMCSSValue *aValue)
 Adds a value to this list.
nsIDOMCSSValue item (in unsigned long index)

Public Attributes

readonly attribute unsigned long length
const unsigned short CSS_INHERIT = 0
const unsigned short CSS_PRIMITIVE_VALUE = 1
const unsigned short CSS_VALUE_LIST = 2
const unsigned short CSS_CUSTOM = 3
attribute DOMString cssText
readonly attribute unsigned short cssValueType

Private Attributes

PRPackedBool mCommaDelimited
PRPackedBool mReadonly
nsCOMArray< nsIDOMCSSValuemCSSValues

Detailed Description

Definition at line 47 of file nsDOMCSSValueList.h.

Constructor & Destructor Documentation

nsDOMCSSValueList::nsDOMCSSValueList ( PRBool  aCommaDelimited,
PRBool  aReadonly 

Definition at line 44 of file nsDOMCSSValueList.cpp.

  : mCommaDelimited(aCommaDelimited), mReadonly(aReadonly)

Definition at line 49 of file nsDOMCSSValueList.cpp.


Member Function Documentation

Adds a value to this list.

Return values:
PR_TRUEAdding the value succeeded
PR_FALSEThe value could not be added (Out of memory)

Definition at line 65 of file nsDOMCSSValueList.cpp.

  return mCSSValues.AppendObject(aValue);

Here is the caller graph for this function:

nsIDOMCSSValue nsIDOMCSSValueList::item ( in unsigned long  index) [inherited]

Member Data Documentation

const unsigned short nsIDOMCSSValue::CSS_CUSTOM = 3 [inherited]

Definition at line 58 of file nsIDOMCSSValue.idl.

const unsigned short nsIDOMCSSValue::CSS_INHERIT = 0 [inherited]

Definition at line 55 of file nsIDOMCSSValue.idl.

const unsigned short nsIDOMCSSValue::CSS_PRIMITIVE_VALUE = 1 [inherited]

Definition at line 56 of file nsIDOMCSSValue.idl.

const unsigned short nsIDOMCSSValue::CSS_VALUE_LIST = 2 [inherited]

Definition at line 57 of file nsIDOMCSSValue.idl.

attribute DOMString nsIDOMCSSValue::cssText [inherited]

Definition at line 60 of file nsIDOMCSSValue.idl.

readonly attribute unsigned short nsIDOMCSSValue::cssValueType [inherited]

Definition at line 63 of file nsIDOMCSSValue.idl.

readonly attribute unsigned long nsIDOMCSSValueList::length [inherited]

Definition at line 53 of file nsIDOMCSSValueList.idl.

Definition at line 70 of file nsDOMCSSValueList.h.

Definition at line 76 of file nsDOMCSSValueList.h.

Definition at line 74 of file nsDOMCSSValueList.h.

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