Back to index

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

This interface is a hack for bug 319434 since we have to preserve the nsIDOMXULDocument interface on the branch. More...

import "nsIDOMXULDocument.idl";

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

List of all members.

Public Member Functions

nsIDOMNode trustedGetPopupNode ()
nsIDOMNode trustedGetTooltipNode ()
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 nsIDOMEvent trustedPopupEvent
attribute nsIDOMNode popupNode
attribute nsIDOMNode tooltipNode
readonly attribute
nsIDOMXULCommandDispatcher 
commandDispatcher
readonly attribute long width
readonly attribute long height

Detailed Description

This interface is a hack for bug 319434 since we have to preserve the nsIDOMXULDocument interface on the branch.

It provides non-scriptable functions that don't do security checks to access the popup and tooltip nodes.

TEMPORARY

Definition at line 99 of file nsIDOMXULDocument.idl.


Member Function Documentation

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

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 
) [inherited]

Here is the caller graph for this function:

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

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 104 of file nsIDOMXULDocument.idl.

readonly attribute long nsIDOMXULDocument::width [inherited]

Definition at line 54 of file nsIDOMXULDocument.idl.


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