Visit Mozilla.org

FUEL:Preference

From MDC

This article covers features introduced in Firefox 3

Contents

[edit] Method overview

void reset()

[edit] Attributes

Attribute Type Description
name readonly attribute AString The name of the preference.
type readonly attribute AString A string representing the type of preference (String, Boolean, or Number).
value attribute nsIVariant Get/Set the value of the preference.
locked attribute boolean Get the locked state of the preference. Set to a boolean value to (un)lock it.
modified readonly attribute boolean Check if a preference has been modified by the user, or not.
branch readonly attribute fuelIPreferenceBranch The preference branch that contains this preference.
events readonly attribute fuelIEvents The events object for this preference. supports: "change"

[edit] Methods

[edit] reset()

Resets a preference back to its default values.

void reset()
[edit] Parameters
[edit] Return value


[edit] See also