Back to index

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

#include <nsICSSDeclaration.h>

Inheritance diagram for nsICSSDeclaration:
Inheritance graph
Collaboration diagram for nsICSSDeclaration:
Collaboration graph

List of all members.

Public Member Functions

NS_IMETHOD GetPropertyValue (const nsCSSProperty aPropID, nsAString &aValue)=0
 Method analogous to nsIDOMCSSStyleDeclaration::GetPropertyValue, which obeys all the same restrictions.
NS_IMETHOD GetPropertyValue (const nsAString &aPropName, nsAString &aValue)=0
NS_IMETHOD SetPropertyValue (const nsCSSProperty aPropID, const nsAString &aValue)=0
 Method analogous to nsIDOMCSSStyleDeclaration::SetProperty.
DOMString getPropertyValue (in DOMString propertyName)
nsIDOMCSSValue getPropertyCSSValue (in DOMString propertyName)
DOMString removeProperty (in DOMString propertyName) raises (DOMException)
DOMString getPropertyPriority (in DOMString propertyName)
void setProperty (in DOMString propertyName, in DOMString value, in DOMString priority) raises (DOMException)
DOMString item (in unsigned long index)

Public Attributes

attribute DOMString cssText
readonly attribute unsigned long length
readonly attribute nsIDOMCSSRule parentRule

Detailed Description

Definition at line 58 of file nsICSSDeclaration.h.

Member Function Documentation

nsIDOMCSSValue nsIDOMCSSStyleDeclaration::getPropertyCSSValue ( in DOMString  propertyName) [inherited]
DOMString nsIDOMCSSStyleDeclaration::getPropertyPriority ( in DOMString  propertyName) [inherited]
DOMString nsIDOMCSSStyleDeclaration::getPropertyValue ( in DOMString  propertyName) [inherited]
NS_IMETHOD nsICSSDeclaration::GetPropertyValue ( const nsCSSProperty  aPropID,
nsAString &  aValue 
) [pure virtual]

Method analogous to nsIDOMCSSStyleDeclaration::GetPropertyValue, which obeys all the same restrictions.

NS_IMETHOD nsICSSDeclaration::GetPropertyValue ( const nsAString &  aPropName,
nsAString &  aValue 
) [pure virtual]

Implemented in nsDOMCSSDeclaration.

DOMString nsIDOMCSSStyleDeclaration::item ( in unsigned long  index) [inherited]

Here is the caller graph for this function:

DOMString nsIDOMCSSStyleDeclaration::removeProperty ( in DOMString  propertyName) raises (DOMException) [inherited]
void nsIDOMCSSStyleDeclaration::setProperty ( in DOMString  propertyName,
in DOMString  value,
in DOMString  priority 
) raises (DOMException) [inherited]
NS_IMETHOD nsICSSDeclaration::SetPropertyValue ( const nsCSSProperty  aPropID,
const nsAString &  aValue 
) [pure virtual]

Method analogous to nsIDOMCSSStyleDeclaration::SetProperty.

This method does NOT allow setting a priority (the priority will always be set to default priority).

Member Data Documentation

Definition at line 55 of file nsIDOMCSSStyleDeclaration.idl.

readonly attribute unsigned long nsIDOMCSSStyleDeclaration::length [inherited]

Definition at line 67 of file nsIDOMCSSStyleDeclaration.idl.

Definition at line 69 of file nsIDOMCSSStyleDeclaration.idl.

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