Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Friends
DOMCSSStyleRuleImpl Class Reference
Inheritance diagram for DOMCSSStyleRuleImpl:
Inheritance graph
[legend]
Collaboration diagram for DOMCSSStyleRuleImpl:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DOMCSSStyleRuleImpl (nsICSSStyleRule *aRule)
virtual ~DOMCSSStyleRuleImpl ()
NS_DECL_ISUPPORTS
NS_DECL_NSIDOMCSSRULE
NS_DECL_NSIDOMCSSSTYLERULE
NS_IMETHOD 
GetCSSStyleRule (nsICSSStyleRule **aResult)
DOMCSSDeclarationImplDOMDeclaration ()

Public Attributes

attribute DOMString selectorText
readonly attribute
nsIDOMCSSStyleDeclaration 
style
const unsigned short UNKNOWN_RULE = 0
const unsigned short STYLE_RULE = 1
const unsigned short CHARSET_RULE = 2
const unsigned short IMPORT_RULE = 3
const unsigned short MEDIA_RULE = 4
const unsigned short FONT_FACE_RULE = 5
const unsigned short PAGE_RULE = 6
readonly attribute unsigned short type
attribute DOMString cssText
readonly attribute
nsIDOMCSSStyleSheet 
parentStyleSheet
readonly attribute nsIDOMCSSRule parentRule

Protected Member Functions

nsICSSStyleRuleRule ()

Protected Attributes

DOMCSSDeclarationImpl mDOMDeclaration

Friends

class DOMCSSDeclarationImpl

Detailed Description

Definition at line 849 of file nsCSSStyleRule.cpp.


Constructor & Destructor Documentation

Definition at line 1004 of file nsCSSStyleRule.cpp.

  : mDOMDeclaration(aRule)
{
}

Definition at line 1009 of file nsCSSStyleRule.cpp.

{
}

Member Function Documentation

Definition at line 862 of file nsCSSStyleRule.cpp.

{ return &mDOMDeclaration; }

Here is the caller graph for this function:

Implements nsICSSStyleRuleDOMWrapper.

Definition at line 1111 of file nsCSSStyleRule.cpp.

{
  *aResult = Rule();
  NS_IF_ADDREF(*aResult);
  return NS_OK;
}

Here is the call graph for this function:

nsICSSStyleRule* DOMCSSStyleRuleImpl::Rule ( ) [inline, protected]

Definition at line 869 of file nsCSSStyleRule.cpp.

                          {
    return mDOMDeclaration.mRule;
  }

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class DOMCSSDeclarationImpl [friend]

Definition at line 864 of file nsCSSStyleRule.cpp.


Member Data Documentation

const unsigned short nsIDOMCSSRule::CHARSET_RULE = 2 [inherited]

Definition at line 58 of file nsIDOMCSSRule.idl.

attribute DOMString nsIDOMCSSRule::cssText [inherited]

Definition at line 65 of file nsIDOMCSSRule.idl.

const unsigned short nsIDOMCSSRule::FONT_FACE_RULE = 5 [inherited]

Definition at line 61 of file nsIDOMCSSRule.idl.

const unsigned short nsIDOMCSSRule::IMPORT_RULE = 3 [inherited]

Definition at line 59 of file nsIDOMCSSRule.idl.

Definition at line 867 of file nsCSSStyleRule.cpp.

const unsigned short nsIDOMCSSRule::MEDIA_RULE = 4 [inherited]

Definition at line 60 of file nsIDOMCSSRule.idl.

const unsigned short nsIDOMCSSRule::PAGE_RULE = 6 [inherited]

Definition at line 62 of file nsIDOMCSSRule.idl.

Definition at line 69 of file nsIDOMCSSRule.idl.

Definition at line 68 of file nsIDOMCSSRule.idl.

Definition at line 45 of file nsIDOMCSSStyleRule.idl.

Definition at line 48 of file nsIDOMCSSStyleRule.idl.

const unsigned short nsIDOMCSSRule::STYLE_RULE = 1 [inherited]

Definition at line 57 of file nsIDOMCSSRule.idl.

readonly attribute unsigned short nsIDOMCSSRule::type [inherited]

Definition at line 64 of file nsIDOMCSSRule.idl.

const unsigned short nsIDOMCSSRule::UNKNOWN_RULE = 0 [inherited]

Definition at line 56 of file nsIDOMCSSRule.idl.


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