nsIDOMWindowInternal

IID:f914492c-0138-4123-a634-6ef8e3f126f8
Inherits From:nsIDOMWindow2

Properties

readonly PRBool closed

readonly nsIDOMWindow content

readonly nsIControllers controllers

readonly nsIDOMCrypto crypto

DOMString defaultStatus

readonly nsIDOMBarProp directories

readonly nsIDOMElement frameElement

PRBool fullScreen

readonly nsIDOMHistory history

PRInt32 innerHeight

PRInt32 innerWidth

readonly PRUint32 length

readonly nsIDOMLocation location

readonly nsIDOMBarProp locationbar

readonly nsIDOMBarProp menubar

readonly nsIDOMNavigator navigator

nsIDOMWindowInternal opener

PRInt32 outerHeight

PRInt32 outerWidth

readonly PRInt32 pageXOffset

readonly PRInt32 pageYOffset

readonly nsIDOMBarProp personalbar

readonly nsIDOMPkcs11 pkcs11

readonly nsIPrompt prompter

readonly nsIDOMScreen screen

PRInt32 screenX

PRInt32 screenY

readonly PRInt32 scrollMaxX

readonly PRInt32 scrollMaxY

readonly nsIDOMWindowInternal self

DOMString status

readonly nsIDOMBarProp statusbar

readonly nsIDOMBarProp toolbar

readonly nsIDOMWindowInternal window


Methods

void alert ( DOMString text ) DOMString atob ( DOMString asciiString ) void back ( ) void blur ( ) DOMString btoa ( DOMString base64Data ) void close ( ) PRBool confirm ( DOMString text ) [noscript] PRBool find ( DOMString str , PRBool caseSensitive , PRBool backwards , PRBool wrapAround , PRBool wholeWord , PRBool searchInFrames , PRBool showDialog ) void focus ( ) void forward ( ) void home ( ) void moveBy ( PRInt32 xDif , PRInt32 yDif ) void moveTo ( PRInt32 xPos , PRInt32 yPos ) [noscript] nsIDOMWindow open ( DOMString url , DOMString name , DOMString options ) [noscript] nsIDOMWindow openDialog ( DOMString url , DOMString name , DOMString options , nsISupports extraArgument ) void print ( ) DOMString prompt ( DOMString message , DOMString initial , DOMString title , PRUint32 savePassword ) void resizeBy ( PRInt32 widthDif , PRInt32 heightDif ) void resizeTo ( PRInt32 width , PRInt32 height ) void scroll ( PRInt32 xScroll , PRInt32 yScroll ) void stop ( ) void updateCommands ( DOMString action )

void alert ( DOMString text )

Arguments:
text

DOMString atob ( DOMString asciiString )

Arguments:
asciiString

void back ( )


void blur ( )


DOMString btoa ( DOMString base64Data )

Arguments:
base64Data

void close ( )


PRBool confirm ( DOMString text )

Arguments:
text

PRBool find ( DOMString str , PRBool caseSensitive , PRBool backwards , PRBool wrapAround , PRBool wholeWord , PRBool searchInFrames , PRBool showDialog )

Arguments:
str
caseSensitive
backwards
wrapAround
wholeWord
searchInFrames
showDialog

void focus ( )


void forward ( )


void home ( )


void moveBy ( PRInt32 xDif , PRInt32 yDif )

Arguments:
xDif
yDif

void moveTo ( PRInt32 xPos , PRInt32 yPos )

Arguments:
xPos
yPos

nsIDOMWindow open ( DOMString url , DOMString name , DOMString options )

Arguments:
url
name
options

nsIDOMWindow openDialog ( DOMString url , DOMString name , DOMString options , nsISupports extraArgument )

Arguments:
url
name
options
extraArgument

void print ( )


DOMString prompt ( DOMString message , DOMString initial , DOMString title , PRUint32 savePassword )

Arguments:
message
initial
title
savePassword

void resizeBy ( PRInt32 widthDif , PRInt32 heightDif )

Arguments:
widthDif
heightDif

void resizeTo ( PRInt32 width , PRInt32 height )

Arguments:
width
height

void scroll ( PRInt32 xScroll , PRInt32 yScroll )

Arguments:
xScroll
yScroll

void stop ( )


void updateCommands ( DOMString action )

Arguments:
action

References

This interface is the type of the following properties:

nsIAppShellService.hiddenDOMWindow, nsIDOMWindowInternal.opener, nsIDOMWindowInternal.self, nsIDOMWindowInternal.window, nsIMsgCompose.domWindow, nsISearchContext.findDialog, nsISearchContext.replaceDialog, nsISearchContext.targetWindow

This interface is passed as an argument to the following methods:

nsIAppShellService.getHiddenWindowAndJSContext, nsIBrowserInstance.setWebShellWindow, nsIContentViewerFile.printWithParent, nsIMessenger.SetWindow, nsIMessenger.loadURL, nsIMsgCompose.Initialize, nsIMsgComposeService.InitCompose, nsIMsgComposeService.cacheWindow, nsIMsgComposeService.isCachedWindow, nsIMsgPrintEngine.setParentWindow, nsIMsgPrintEngine.setWindow, nsIMsgProgress.openProgressDialog, nsIMsgSend.createAndSendMessage, nsIMsgWindow.SetDOMWindow, nsIPrintProgress.openProgressDialog, nsIPrintStatusFeedback.setDocShell, nsISignonViewer.setValue, nsIWalletEditor.SetValue, nsIWalletPreview.SetValue, nsIWalletService.WALLET_InitReencryptCallback, nsIWalletService.WALLET_Prefill, nsIWalletService.WALLET_PrefillOneElement, nsIWalletService.WALLET_RequestToCapture, nsIWindowsHooks.checkSettings

This interface is returned from the following methods:

nsIWindowDataSource.getWindowForResource, nsIWindowMediator.getMostRecentWindow

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com