Logo Search packages:      
Sourcecode: xulrunner-1.9 version File versions

nsIDOMWindow Interface Reference

import "nsIDOMWindow.idl";

Inheritance diagram for nsIDOMWindow:


List of all members.

Detailed Description

The nsIDOMWindow interface is the primary interface for a DOM window object. It represents a single window object that may contain child windows if the document in the window contains a HTML frameset document or if the document contains iframe elements.

This interface is not officially defined by any standard bodies, it originates from the defacto DOM Level 0 standard.


Definition at line 57 of file nsIDOMWindow.idl.

Public Member Functions

nsISelection getSelection ()
void scrollBy (in long xScrollDif, in long yScrollDif)
void scrollByLines (in long numLines)
void scrollByPages (in long numPages)
void scrollTo (in long xScroll, in long yScroll)
void sizeToContent ()
 NS_IMETHOD_ (nsrefcnt) Release(void)=0
 NS_IMETHOD_ (nsrefcnt) AddRef(void)=0
NS_IMETHOD QueryInterface (REFNSIID aIID, void **aInstancePtr)=0

Public Attributes

readonly attribute nsIDOMDocument document
readonly attribute
attribute DOMString name
readonly attribute nsIDOMWindow parent
readonly attribute nsIDOMBarProp scrollbars
readonly attribute long scrollX
readonly attribute long scrollY
attribute float textZoom
readonly attribute nsIDOMWindow top

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

Generated by  Doxygen 1.6.0   Back to index