Logo Search packages:      
Sourcecode: xulrunner version File versions  Download package

nsIDOMWindow Interface Reference

import "nsIDOMWindow.idl";

Inheritance diagram for nsIDOMWindow:

nsISupports

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.

FROZEN

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 ()
Methods
 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
nsIDOMWindowCollection 
frames
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