WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

fuelIBrowserTab

IID:3073ceff-777c-41ce-9ace-ab37268147c1
Inherits From:nsISupports

Properties

readonly nsIDOMHTMLDocument document

The content document of the browser tab.

readonly fuelIEvents events

The events object for the browser tab. supports: "load"

readonly PRInt32 index

The current index of this tab in the browser window.

readonly nsIURI uri

The current uri of this tab.

readonly fuelIWindow window

The browser window that is holding the tab.


Methods

void close ( ) void focus ( ) void load ( nsIURI URI ) void moveBefore ( fuelIBrowserTab before ) void moveToEnd ( )

void close ( )

Close the browser tab. This may not actually close the tab as script may abort the close operation.


void focus ( )

Give focus to this browser tab, and bring it to the front.


void load ( nsIURI URI )

Load a new URI into this browser tab.

Arguments:
URI: The uri to load into the browser tab

void moveBefore ( fuelIBrowserTab before )

Moves this browser tab before another browser tab within the window.

Arguments:
before: The tab before which the target tab will be moved

void moveToEnd ( )

Move this browser tab to the last tab within the window.


References

This interface is the type of the following properties:

fuelIWindow.activeTab

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

fuelIBrowserTab.moveBefore

This interface is returned from the following methods:

fuelIWindow.open

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com