Manages the panes that are displayed in faceplate widgets. More...
import"sbIFaceplateManager.idl";
Public Member Functions | |
void | showPane (in sbIFaceplatePane aPane) |
Cause a faceplate pane to be created in all faceplates using the given XBL binding url. More... | |
sbIFaceplatePane | getPane (in AString aID) |
Cause all faceplate widgets to immediately destory their instances of the given faceplate pane. More... | |
nsISimpleEnumerator | getPanes () |
Gets an enumerator for all instantiated faceplate panes. More... | |
sbIFaceplatePane | getDefaultPane () |
Get the pane used in the most recent call to showPane. Used to determine what pane a faceplate should display on load. More... | |
void | addListener (in sbIFaceplateManagerListener aListener) |
Register to receive notification when panes are added, removed, and shown. Make sure you remove any listeners you add. More... | |
void | removeListener (in sbIFaceplateManagerListener aListener) |
Unregister notification callbacks. More... | |
Public Attributes | |
readonly attribute unsigned long | paneCount |
The number of registered faceplate panes. More... | |
Manages the panes that are displayed in faceplate widgets.
WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
We are redesigning this integration point to better balance user and developer value. In the meantime, the faceplate interface will be disabled to avoid premature use.
If you need to display status information please open a tab, open a window, or use the status bar area for the time being.
Please submit any suggestions/feedback as bug reports to http://bugzilla.songbirdnest.com
WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
To use the generic progress display faceplate:
To make a custom faceplate, see the facePlate.xml. Create a binding to act as a pane, register it using sbIFaceplateManager.createPane, communicate with it via sbIFaceplatePane, and then remove it via sbIFaceplateManager.destroyPane when finished.
Definition at line 84 of file sbIFaceplateManager.idl.
void sbIFaceplateManager::addListener | ( | in sbIFaceplateManagerListener | aListener | ) |
Register to receive notification when panes are added, removed, and shown. Make sure you remove any listeners you add.
aListener | Callback interface |
sbIFaceplatePane sbIFaceplateManager::getDefaultPane | ( | ) |
Get the pane used in the most recent call to showPane. Used to determine what pane a faceplate should display on load.
sbIFaceplatePane sbIFaceplateManager::getPane | ( | in AString | aID | ) |
Cause all faceplate widgets to immediately destory their instances of the given faceplate pane.
aPane | An active, instantiated, faceplate pane interface. |
void destroyPane(in sbIFaceplatePane aPane); Get an interface representing all instances of a particular faceplate pane.
aID | A unique string identifier for this pane. |
nsISimpleEnumerator sbIFaceplateManager::getPanes | ( | ) |
Gets an enumerator for all instantiated faceplate panes.
void sbIFaceplateManager::removeListener | ( | in sbIFaceplateManagerListener | aListener | ) |
Unregister notification callbacks.
aListener | Previously added callback interface |
void sbIFaceplateManager::showPane | ( | in sbIFaceplatePane | aPane | ) |
Cause a faceplate pane to be created in all faceplates using the given XBL binding url.
All instances of the faceplate will immediately instantiate the given binding as a pane. The new pane will not be shown until the user selects it, or the showPane method is called.
aID | A unique string identifier for this pane. |
aName | A human readable name string for this pane. |
aBindingURL | The complete URL and ID of an XBL widget to be instantiated. |
NS_ERROR_FAILURE | if the given id is already in use. |
sbIFaceplatePane createPane(in AString aID, in AString aName, in AString aBindingURL); Cause all faceplate widgets to immediately switch to the given faceplate pane.
aPane | An active, instantiated, faceplate pane interface. |
readonly attribute unsigned long sbIFaceplateManager::paneCount |
The number of registered faceplate panes.
Definition at line 89 of file sbIFaceplateManager.idl.