NAME

Mozilla::DOM::WindowInternal

DESCRIPTION

Mozilla::DOM::WindowInternal is a wrapper around an instance of Mozilla's nsIDOMWindowInternal interface. This class inherits from Window2.

Note: the following methods are not wrapped (yet?): GetCrypto, GetPkcs11, GetControllers, GetPrompter, GetMenubar, GetToolbar, GetLocationbar, GetPersonalbar, GetStatusbar, GetDirectories.

CLASS METHODS

$iid = Mozilla::DOM::WindowInternal->GetIID()

Pass this to QueryInterface.

METHODS

$windowinternal->Alert($text)

    • $text (string)

$retval = $windowinternal->Atob($asciistring)

    • $aAsciiString (string)

$windowinternal->Back()

$windowinternal->Blur()

$retval = $windowinternal->Btoa($base64data)

    • $aBase64Data (string)

$windowinternal->Close()

$bool = $windowinternal->Confirm($text)

    • $text (string)

$bool = $windowinternal->Find($str, $casesensitive, $backwards, $wraparound, $wholeword, $searchinframes, $showdialog)

    • $str (string)

    • $caseSensitive (boolean)

    • $backwards (boolean)

    • $wrapAround (boolean)

    • $wholeWord (boolean)

    • $searchInFrames (boolean)

    • $showDialog (boolean)

$windowinternal->Focus()

$windowinternal->Forward()

$bool = $windowinternal->GetClosed()

$content = $windowinternal->GetContent()

$defaultstatus = $windowinternal->GetDefaultStatus()

$frameelement = $windowinternal->GetFrameElement()

$bool = $windowinternal->GetFullScreen()

$history = $windowinternal->GetHistory()

$innerheight = $windowinternal->GetInnerHeight()

$innerwidth = $windowinternal->GetInnerWidth()

$length = $windowinternal->GetLength()

$location = $windowinternal->GetLocation()

$navigator = $windowinternal->GetNavigator()

$opener = $windowinternal->GetOpener()

$outerheight = $windowinternal->GetOuterHeight()

$outerwidth = $windowinternal->GetOuterWidth()

$pagexoffset = $windowinternal->GetPageXOffset()

$pageyoffset = $windowinternal->GetPageYOffset()

$screen = $windowinternal->GetScreen()

$screenx = $windowinternal->GetScreenX()

$screeny = $windowinternal->GetScreenY()

$scrollmaxx = $windowinternal->GetScrollMaxX()

$scrollmaxy = $windowinternal->GetScrollMaxY()

$self = $windowinternal->GetSelf()

$status = $windowinternal->GetStatus()

$window = $windowinternal->GetWindow()

$windowinternal->Home()

$windowinternal->MoveBy($dif, $dif)

    • $xDif (integer (long))

    • $yDif (integer (long))

$windowinternal->MoveTo($pos, $pos)

    • $xPos (integer (long))

    • $yPos (integer (long))

$retval = $windowinternal->Open($url, $name, $options)

    • $url (string)

    • $name (string)

    • $options (string)

$retval = $windowinternal->OpenDialog($url, $name, $options, $extraargument)

    • $url (string)

    • $name (string)

    • $options (string)

    • $aExtraArgument (Mozilla::DOM::Supports)

$windowinternal->Print()

$retval = $windowinternal->Prompt($message, $initial, $title, $savepassword)

    • $aMessage (string)

    • $aInitial (string)

    • $aTitle (string)

    • $aSavePassword (integer (long))

$windowinternal->ResizeBy($widthdif, $heightdif)

    • $widthDif (integer (long))

    • $heightDif (integer (long))

$windowinternal->ResizeTo($width, $height)

    • $width (integer (long))

    • $height (integer (long))

$windowinternal->Scroll($scrollx, $scrolly)

    • $scrollx (integer (long))

    • $scrolly (integer (long))

$windowinternal->SetDefaultStatus($defaultstatus)

    • $aDefaultStatus (string)

$windowinternal->SetFullScreen($fullscreen)

    • $aFullScreen (boolean)

$windowinternal->SetInnerHeight($innerheight)

    • $aInnerHeight (integer (long))

$windowinternal->SetInnerWidth($innerwidth)

    • $aInnerWidth (integer (long))

$windowinternal->SetOpener($opener)

    • $aOpener (Mozilla::DOM::WindowInternal)

$windowinternal->SetOuterHeight($outerheight)

    • $aOuterHeight (integer (long))

$windowinternal->SetOuterWidth($outerwidth)

    • $aOuterWidth (integer (long))

$windowinternal->SetScreenX($screenx)

    • $aScreenX (integer (long))

$windowinternal->SetScreenY($screeny)

    • $aScreenY (integer (long))

$windowinternal->SetStatus($status)

    • $aStatus (string)

$windowinternal->Stop()

$windowinternal->UpdateCommands($action)

    • $action (string)

SEE ALSO

Mozilla::DOM

COPYRIGHT

Copyright (C) 2005, Scott Lanning

This software is licensed under the LGPL. See Mozilla::DOM for a full notice.