Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIXULDocument Class Reference

XUL extensions to nsIDocument. More...

#include <nsIXULDocument.h>

Inheritance diagram for nsIXULDocument:
Inheritance graph
[legend]
Collaboration diagram for nsIXULDocument:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_IMETHOD AddElementForID (const nsAString &aID, nsIContent *aElement)=0
 Add an entry to the ID-to-element map.
NS_IMETHOD RemoveElementForID (const nsAString &aID, nsIContent *aElement)=0
 Remove an entry from the ID-to-element map.
NS_IMETHOD GetElementsForID (const nsAString &aID, nsISupportsArray *aElements)=0
 Get the elements for a particular resource in the resource-to-element map.
NS_IMETHOD AddForwardReference (nsForwardReference *aForwardReference)=0
 Add a "forward declaration" of a XUL observer.
NS_IMETHOD ResolveForwardReferences ()=0
 Resolve the all of the document's forward references.
NS_IMETHOD SetMasterPrototype (nsIXULPrototypeDocument *aDocument)=0
 Set the master prototype.
NS_IMETHOD GetMasterPrototype (nsIXULPrototypeDocument **aPrototypeDocument)=0
 Get the master prototype.
NS_IMETHOD SetCurrentPrototype (nsIXULPrototypeDocument *aDocument)=0
 Set the current prototype.
NS_IMETHOD AddSubtreeToDocument (nsIContent *aElement)=0
 Notify the XUL document that a subtree has been added.
NS_IMETHOD RemoveSubtreeFromDocument (nsIContent *aElement)=0
 Notify the XUL document that a subtree has been removed.
NS_IMETHOD SetTemplateBuilderFor (nsIContent *aContent, nsIXULTemplateBuilder *aBuilder)=0
 Attach a XUL template builder to the specified content node.
NS_IMETHOD GetTemplateBuilderFor (nsIContent *aContent, nsIXULTemplateBuilder **aResult)=0
 Retrieve the XUL template builder that's attached to a content node.
NS_IMETHOD OnPrototypeLoadDone ()=0
 Callback notifying this document when its XUL prototype document load completes.
NS_IMETHOD OnHide ()=0
 Notify the XUL document that it's being hidden.

Detailed Description

XUL extensions to nsIDocument.

Definition at line 74 of file nsIXULDocument.h.


Member Function Documentation

NS_IMETHOD nsIXULDocument::AddElementForID ( const nsAString &  aID,
nsIContent aElement 
) [pure virtual]

Add an entry to the ID-to-element map.

Implemented in nsXULDocument.

NS_IMETHOD nsIXULDocument::AddForwardReference ( nsForwardReference aForwardReference) [pure virtual]

Add a "forward declaration" of a XUL observer.

Such declarations will be resolved when document loading completes.

Implemented in nsXULDocument.

Notify the XUL document that a subtree has been added.

Implemented in nsXULDocument.

NS_IMETHOD nsIXULDocument::GetElementsForID ( const nsAString &  aID,
nsISupportsArray aElements 
) [pure virtual]

Get the elements for a particular resource in the resource-to-element map.

The nsISupportsArray will be truncated and filled in with nsIContent pointers.

Implemented in nsXULDocument.

Here is the caller graph for this function:

NS_IMETHOD nsIXULDocument::GetMasterPrototype ( nsIXULPrototypeDocument **  aPrototypeDocument) [pure virtual]

Get the master prototype.

Implemented in nsXULDocument.

NS_IMETHOD nsIXULDocument::GetTemplateBuilderFor ( nsIContent aContent,
nsIXULTemplateBuilder **  aResult 
) [pure virtual]

Retrieve the XUL template builder that's attached to a content node.

Implemented in nsXULDocument.

NS_IMETHOD nsIXULDocument::OnHide ( ) [pure virtual]

Notify the XUL document that it's being hidden.

Implemented in nsXULDocument.

Callback notifying this document when its XUL prototype document load completes.

The prototype load was initiated by another document load request than the one whose document is being notified here.

Implemented in nsXULDocument.

NS_IMETHOD nsIXULDocument::RemoveElementForID ( const nsAString &  aID,
nsIContent aElement 
) [pure virtual]

Remove an entry from the ID-to-element map.

Implemented in nsXULDocument.

Notify the XUL document that a subtree has been removed.

Implemented in nsXULDocument.

Resolve the all of the document's forward references.

Implemented in nsXULDocument.

Set the current prototype.

Implemented in nsXULDocument.

Set the master prototype.

Implemented in nsXULDocument.

NS_IMETHOD nsIXULDocument::SetTemplateBuilderFor ( nsIContent aContent,
nsIXULTemplateBuilder aBuilder 
) [pure virtual]

Attach a XUL template builder to the specified content node.

Parameters:
aBuilderthe tmeplate builder to attach, or null if the builder is to be removed.

Implemented in nsXULDocument.


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