Public Member Functions | |
| tmozIUserSettingsPage | getPage (in long index) |
| Return page. | |
| void | registerPage (in tmozIUserSettingsPage page) |
| Register page to the setting dialog. | |
| void | registerDialogConfirmation (in AString description, in AString optionName, in long type) |
| Register simple option. | |
Public Attributes | |
| const long | CONFIRM_TYPE_CHECKBOX = 0 |
| Type of confirmation. | |
| const long | CONFIRM_TYPE_THREESTATE = 1 |
| Type of confirmation. | |
| readonly attribute long | pageCount |
| Page count. | |
Interface allows to register custom pages for user settings dialog. This dialog allows to set various configuration options.
| tmozIUserSettingsPage getPage | ( | in long | index | ) |
Return page.
Return page with given index
| index | Page index |
| void registerDialogConfirmation | ( | in AString | description, | |
| in AString | optionName, | |||
| in long | type | |||
| ) |
Register simple option.
This method allows to register simple option to the dialog. These options do not require separate sheet.
| description | User visible description | |
| optionName | Name of the configuration where settings will be saved | |
| type | Type of the option
|
| void registerPage | ( | in tmozIUserSettingsPage | page | ) |
Register page to the setting dialog.
| page | Interface for page. |
| const long CONFIRM_TYPE_CHECKBOX = 0 |
Type of confirmation.
Item will be displayed at checkbox
| const long CONFIRM_TYPE_THREESTATE = 1 |
Type of confirmation.
Item will be displayed as dropdown box - Ask/No/Yes
| readonly attribute long pageCount |
Page count.
Number of registered pages.