Back to index

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

#include <nsIDocument.h>

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

List of all members.

Public Member Functions

virtual nsIScriptGlobalObjectGetScopeObject ()=0
 Get the object that is used as the scope for all of the content wrappers whose owner document is this document.
virtual nsresult RemoveChildAt (PRUint32 aIndex, PRBool aNotify)=0
 Remove a child from this document.

Detailed Description

Definition at line 849 of file nsIDocument.h.


Member Function Documentation

Get the object that is used as the scope for all of the content wrappers whose owner document is this document.

Unlike the script global object, this will only return null when the global object for this document is truly gone. Use this object when you're trying to find a content wrapper in XPConnect.

Implemented in nsDocument.

virtual nsresult nsIDocument_MOZILLA_1_8_0_BRANCH::RemoveChildAt ( PRUint32  aIndex,
PRBool  aNotify 
) [pure virtual]

Remove a child from this document.

Parameters:
aIndexthe index of the child to remove
aNotifywhether to notify the document that the remove has occurred

Implemented in nsDocument.


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