extIPreference Interface Reference

import"extIApplication.idl";

Inheritance diagram for extIPreference:
[legend]
Collaboration diagram for extIPreference:
[legend]

Public Member Functions

void reset ()
 

Public Attributes

readonly attribute AString name
 
readonly attribute AString type
 
attribute nsIVariant value
 
attribute boolean locked
 
readonly attribute boolean modified
 
readonly attribute
extIPreferenceBranch 
branch
 
readonly attribute extIEvents events
 

Detailed Description

Interface for accessing a single preference. The data is not cached. All reads access the current state of the preference.

Definition at line 217 of file extIApplication.idl.

Member Function Documentation

void extIPreference::reset ( )

Resets a preference back to its default values.

Member Data Documentation

readonly attribute extIPreferenceBranch extIPreference::branch

The preference branch that contains this preference.

Definition at line 247 of file extIApplication.idl.

readonly attribute extIEvents extIPreference::events

The events object for this preference. supports: "change"

Definition at line 253 of file extIApplication.idl.

attribute boolean extIPreference::locked

Get the locked state of the preference. Set to a boolean value to (un)lock it.

Definition at line 237 of file extIApplication.idl.

readonly attribute boolean extIPreference::modified

Check if a preference has been modified by the user, or not.

Definition at line 242 of file extIApplication.idl.

readonly attribute AString extIPreference::name

The name of the preference.

Definition at line 222 of file extIApplication.idl.

readonly attribute AString extIPreference::type

A string representing the type of preference (String, Boolean, or Number).

Definition at line 227 of file extIApplication.idl.

attribute nsIVariant extIPreference::value

Get/Set the value of the preference.

Definition at line 232 of file extIApplication.idl.


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