Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsIDOMXULDocument Interface Reference

import "nsIDOMXULDocument.idl";

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

List of all members.

Public Member Functions

nsIDOMNodeList getElementsByAttribute (in DOMString name, in DOMString value)
void addBroadcastListenerFor (in nsIDOMElement broadcaster, in nsIDOMElement observer, in DOMString attr)
void removeBroadcastListenerFor (in nsIDOMElement broadcaster, in nsIDOMElement observer, in DOMString attr)
void persist (in DOMString id, in DOMString attr)
void loadOverlay (in DOMString url, in nsIObserver aObserver)
 Loads a XUL overlay and merges it with the current document, notifying an observer when the merge is complete.

Public Attributes

attribute nsIDOMNode popupNode
attribute nsIDOMNode tooltipNode
readonly attribute
nsIDOMXULCommandDispatcher 
commandDispatcher
readonly attribute long width
readonly attribute long height

Detailed Description

Definition at line 47 of file nsIDOMXULDocument.idl.


Member Function Documentation

void nsIDOMXULDocument::addBroadcastListenerFor ( in nsIDOMElement  broadcaster,
in nsIDOMElement  observer,
in DOMString  attr 
)
nsIDOMNodeList nsIDOMXULDocument::getElementsByAttribute ( in DOMString  name,
in DOMString  value 
)
void nsIDOMXULDocument::loadOverlay ( in DOMString  url,
in nsIObserver  aObserver 
)

Loads a XUL overlay and merges it with the current document, notifying an observer when the merge is complete.

Parameters:
urlThe URL of the overlay to load and merge
observerAn object implementing nsIObserver that will be notified with a message of topic "xul-overlay-merged" when the merge is complete. The subject parameter of |observe| will QI to a nsIURI - the URI of the merged overlay. This parameter is optional and may be null.

NOTICE: In the 2.0 timeframe this API will change such that the implementation will fire a DOMXULOverlayMerged event upon merge completion rather than notifying an observer. Do not rely on this API's behavior not to change because it will!

  • Ben Goodger (8/23/2005)
void nsIDOMXULDocument::persist ( in DOMString  id,
in DOMString  attr 
)

Here is the caller graph for this function:

void nsIDOMXULDocument::removeBroadcastListenerFor ( in nsIDOMElement  broadcaster,
in nsIDOMElement  observer,
in DOMString  attr 
)

Member Data Documentation

Definition at line 52 of file nsIDOMXULDocument.idl.

Definition at line 55 of file nsIDOMXULDocument.idl.

Definition at line 49 of file nsIDOMXULDocument.idl.

Definition at line 50 of file nsIDOMXULDocument.idl.

Definition at line 54 of file nsIDOMXULDocument.idl.


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