Search completed in 1.22 seconds.
7 results for "extievents":
FUEL
Mozilla › Tech › Toolkit API › FUEL
mality and adding some "modern" JavaScript ideas. We want to start with areas that will provide the most benefit. FUEL has a fuelIApplication interface that implements all the functions of extIApplication. The library has also been implemented in Thunderbird ("STEEL") and in SeaMonkey ("SMILE"). Objects extIApplication Objects extIApplication extIConsole extIEventItem extIEventListener extIEvents extIExtension extIExtensions extIPreference extIPreferenceBranch extISessionStorage fuelIApplication Objects fuelIAnnotations fuelIApplication fuelIBookmark fuelIBookmarkFolder fuelIBookmarkRoots fuelIBrowserTab fuelIWindow XPCOM Although the FUEL Application object is preloaded into XUL scripts, it is not preloaded into JavaScript XPCOM code. The object needs to be accessed l...
SMILE
Mozilla › Tech › Toolkit API › SMILE
e of the XPCOM formality and adding some "modern" JavaScript ideas. We want to start with areas that will provide the most benefit. SMILE has a smileIApplication interface that implements all the functions of extIApplication. The library has also been implemented in Firefox ("FUEL") and in Thunderbird ("STEEL"). Objects extIApplication Objects extIConsole extIEventItem extIEventListener extIEvents extIExtension extIExtensions extIPreference extIPreferenceBranch extISessionStorage smileIApplication Objects smileIBookmarkRoots smileIWindow smileIBrowserTab smileIApplication XPCOM Although the extIApplication object is preloaded into XUL scripts, it is not preloaded into JavaScript XPCOM code. The object needs to be accessed like any other XPCOM service: var Application = Com...
STEEL
Mozilla › Tech › Toolkit API › STEEL
y Extension Library. It is a FUEL-like set of interfaces to facilitate Thunderbird extension development. Currently, STEEL has an steelIApplication interface that implements all the functions of extIApplication. The library has also been implemented in Firefox ("FUEL") and in SeaMonkey ("SMILE"). Objects extIApplication Objects extIApplication extIConsole extIEventItem extIEventListener extIEvents extIExtension extIExtensions extIPreference extIPreferenceBranch extISessionStorage steelIApplication Objects steelIApplication XPCOM Although the STEEL steelIApplication object is preloaded into XUL scripts, it is not preloaded into JavaScript XPCOM code. The object needs to be accessed like any other XPCOM service: var Application = Components.classes["@mozilla.org/steel/applicati...
extIApplication
Mozilla › Tech › Toolkit API › extIApplication
installed extensions. Not available anymore on Gecko 2.0 (see [1]), use getExtensions() instead Obsolete since Gecko 2.0 prefs readonly attribute extIPreferenceBranch The preferences object for the application. Defaults to an empty root branch. storage readonly attribute extISessionStorage The storage object for the application. events readonly attribute extIEvents The events object for the application. supports: "load", "ready", "quit", "unload" The following interfaces are only available to Firefox: Attribute Type Description bookmarks readonly attribute fuelIBookmarkRoots The root bookmarks object for the application. windows readonly attribute nsIVariant An array of browser windows within ...
extIExtension
Mozilla › Tech › Toolkit API › extIExtension
Indicates whether this is the extension's first run after install prefs readonly attribute extIPreferenceBranch The preferences object for the extension. Defaults to the "extensions.<extensionid>." branch. storage readonly attribute extISessionStorage The storage object for the extension. events readonly attribute extIEvents The events object for the extension. supports: "uninstall" Methods FIXME: See also See extApplication.js line:395 for the implementation of firstRun. A preference "install-event-fired" under your extensions preferences branch (e.g. extensions.YOUR_EXTENSION_ID.install-event-fired) will be set to false after your extension has been installed. You may need to reset this preference...
extIPreferenceBranch
Mozilla › Tech › Toolkit API › extIPreferenceBranch
nsIVariant aDefaultValue) void setValue(in AString aName, in nsIVariant aValue) void reset() Attributes Attribute Type Description root readonly attribute AString The name of the branch root. all readonly attribute nsIVariant Array of extIPreference listing all preferences in this branch. events readonly attribute extIEvents The events object for the preferences supports: "change" Methods has() Check to see if a preference exists. boolean has(in AString aName) Parameters aName The name of preference Return value true if the preference exists, false if not get() Gets an object representing a preference extIPreference get(in AString aName) Parameters aName The name of preference Return ...
extISessionStorage
Mozilla › Tech › Toolkit API › extISessionStorage
onkey) pages. Method overview These methods are usually accessed via Application.storage. Return Type Method boolean has(in AString aName) void set(in AString aName, in nsIVariant aValue) nsIVariant get(in AString aName, in nsIVariant aDefaultValue) Attributes Attribute Type Description events readonly attribute extIEvents The events object for the storage supports: "change" Methods has() Determines if a storage item exists with the given name. boolean has(in AString aName) Parameters aName The name of an item Return value true if an item exists with the given name, false otherwise. set() Sets the value of a storage item with the given name. void set(in AString aName, in nsIVariant aValue) ...