WebUIPrefs class | webui.t[2367]

Web UI preferences. This object contains the in-memory version of the display style preferences file.

Each client session has its own copy of this object, because each client can be associated with a different user, and each user has their own preferences file.

`class WebUIPrefs : object`

Superclass Tree (in declaration order)

`WebUIPrefs`
`object`

Subclass Tree

(none)

Global Objects

(none)

Summary of Properties

`clientSession curProfile curProPat profileTab proItemPat`

Summary of Methods

`construct getSettingsFile getXML loadSettings openSettingsFile readSettings saveSettings`

Properties

`clientSession` | `webui.t[2558]`

the client session for this preference list

`curProfile` | `webui.t[2567]`

current active profile selected by the user

`curProPat` | `webui.t[2434]`

current profile ID pattern - current-profile:xxx

`profileTab` | `webui.t[2564]`

profile table - this is a LookupTable of WebUIProfile objects keyed by profile name

`proItemPat` | `webui.t[2437]`

setting ID pattern for profile items - nnn.xxx=yyy

Methods

`construct (c)` | `webui.t[2368]`

no description available

`getSettingsFile ( )` | `webui.t[2504]`

get the settings file path

`getXML ( )` | `webui.t[2523]`

get the current settings as XML, to send to the web UI

`loadSettings ( )` | `webui.t[2378]`

read the settings file

`openSettingsFile (access)` | `webui.t[2483]`

open the settings file

`readSettings (f)` | `webui.t[2393]`

read settings from a file

`saveSettings ( )` | `webui.t[2440]`

save the current settings to the user's config file

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3