Public Member Functions | Public Attributes

fuelIBrowserTab Interface Reference

Interface representing a browser tab. More...

import "fuelIApplication.idl";

Collaboration diagram for fuelIBrowserTab:

List of all members.

Public Member Functions

NS_SCRIPTABLE NS_IMETHOD GetUri (nsIURI **aUri)=0
 Interface representing a browser tab.
NS_SCRIPTABLE NS_IMETHOD GetIndex (PRInt32 *aIndex)=0
 The current index of this tab in the browser window.
NS_SCRIPTABLE NS_IMETHOD GetWindow (fuelIWindow **aWindow)=0
 The browser window that is holding the tab.
NS_SCRIPTABLE NS_IMETHOD GetDocument (nsIDOMHTMLDocument **aDocument)=0
 The content document of the browser tab.
NS_SCRIPTABLE NS_IMETHOD GetEvents (extIEvents **aEvents)=0
 The events object for the browser tab.
NS_SCRIPTABLE NS_IMETHOD Load (nsIURI *aURI)=0
 Load a new URI into this browser tab.
NS_SCRIPTABLE NS_IMETHOD Focus (void)=0
 Give focus to this browser tab, and bring it to the front.
NS_SCRIPTABLE NS_IMETHOD Close (void)=0
 Close the browser tab.
NS_SCRIPTABLE NS_IMETHOD MoveBefore (fuelIBrowserTab *aBefore)=0
 Moves this browser tab before another browser tab within the window.
NS_SCRIPTABLE NS_IMETHOD MoveToEnd (void)=0
 Move this browser tab to the last tab within the window.
void load (in nsIURI aURI)
 Load a new URI into this browser tab.
void focus ()
 Give focus to this browser tab, and bring it to the front.
void close ()
 Close the browser tab.
void moveBefore (in fuelIBrowserTab aBefore)
 Moves this browser tab before another browser tab within the window.
void moveToEnd ()
 Move this browser tab to the last tab within the window.

Public Attributes

readonly attribute nsIURI uri
 The current uri of this tab.
readonly attribute PRInt32 index
 The current index of this tab in the browser window.
readonly attribute fuelIWindow window
 The browser window that is holding the tab.
readonly attribute
nsIDOMHTMLDocument 
document
 The content document of the browser tab.
readonly attribute extIEvents events
 The events object for the browser tab.

Detailed Description

Interface representing a browser tab.


Member Function Documentation

NS_SCRIPTABLE NS_IMETHOD fuelIBrowserTab::Close ( void   )  [pure virtual]

Close the browser tab.

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

void fuelIBrowserTab::close (  ) 

Close the browser tab.

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

NS_SCRIPTABLE NS_IMETHOD fuelIBrowserTab::Focus ( void   )  [pure virtual]

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

void fuelIBrowserTab::focus (  ) 

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

NS_SCRIPTABLE NS_IMETHOD fuelIBrowserTab::GetDocument ( nsIDOMHTMLDocument **  aDocument  )  [pure virtual]

The content document of the browser tab.

NS_SCRIPTABLE NS_IMETHOD fuelIBrowserTab::GetEvents ( extIEvents **  aEvents  )  [pure virtual]

The events object for the browser tab.

supports: "load"

NS_SCRIPTABLE NS_IMETHOD fuelIBrowserTab::GetIndex ( PRInt32 *  aIndex  )  [pure virtual]

The current index of this tab in the browser window.

NS_SCRIPTABLE NS_IMETHOD fuelIBrowserTab::GetUri ( nsIURI **  aUri  )  [pure virtual]

Interface representing a browser tab.

The current uri of this tab.

NS_SCRIPTABLE NS_IMETHOD fuelIBrowserTab::GetWindow ( fuelIWindow **  aWindow  )  [pure virtual]

The browser window that is holding the tab.

void fuelIBrowserTab::load ( in nsIURI  aURI  ) 

Load a new URI into this browser tab.

Parameters:
aURI The uri to load into the browser tab
NS_SCRIPTABLE NS_IMETHOD fuelIBrowserTab::Load ( nsIURI aURI  )  [pure virtual]

Load a new URI into this browser tab.

Parameters:
aURI The uri to load into the browser tab
NS_SCRIPTABLE NS_IMETHOD fuelIBrowserTab::MoveBefore ( fuelIBrowserTab aBefore  )  [pure virtual]

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

Parameters:
aBefore The tab before which the target tab will be moved
void fuelIBrowserTab::moveBefore ( in fuelIBrowserTab  aBefore  ) 

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

Parameters:
aBefore The tab before which the target tab will be moved
NS_SCRIPTABLE NS_IMETHOD fuelIBrowserTab::MoveToEnd ( void   )  [pure virtual]

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

void fuelIBrowserTab::moveToEnd (  ) 

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


Member Data Documentation

The content document of the browser tab.

readonly attribute extIEvents fuelIBrowserTab::events

The events object for the browser tab.

supports: "load"

readonly attribute PRInt32 fuelIBrowserTab::index

The current index of this tab in the browser window.

readonly attribute nsIURI fuelIBrowserTab::uri

The current uri of this tab.

The browser window that is holding the tab.


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