| Pacchetto | lc.foundation |
| Classe | public class PreferencesManager |
| Ereditarietà | PreferencesManager Manager |
| Implementa | IPreferencesManager |
| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
PreferencesManager class is the standard implementation of the
ISessionManager interface.
Metodi pubblici
| Metodo | Definito da | ||
|---|---|---|---|
PreferencesManager(session:SessionMap)
Constructor. | PreferencesManager | ||
Get a list of all preferences starting with a provided prefix. | PreferencesManager | ||
Get the value of the preference with the provided name. | PreferencesManager | ||
Loads all preferences into the manager. | PreferencesManager | ||
Set the value of the preference with the provided name. | PreferencesManager | ||
Costanti pubbliche
| Costante | Definito da | ||
|---|---|---|---|
| SESSION_KEY : String = "lc.foundation.IPreferencesManager" [statico]
A special value that specifies the manager key name in the SessionMap object. | PreferencesManager | ||
Descrizione della funzione di costruzione
PreferencesManager | () | Funzione di costruzione |
public function PreferencesManager(session:SessionMap)| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Constructor.
Parametrisession:SessionMap — Specifies the SessionMap object to use.
|
Descrizione dei metodi
getPreferencesStartingWith | () | metodo |
public function getPreferencesStartingWith(namePrefix:String):ListCollectionView| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Get a list of all preferences starting with a provided prefix.
Parametri
namePrefix:String — preference prefix.
|
ListCollectionView — A list of all preferences starting with a provided prefix.
|
getPreferenceValue | () | metodo |
public function getPreferenceValue(name:String):Object| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Get the value of the preference with the provided name.
Parametri
name:String — preference name.
|
Object — The value of the preference with the provided name.
|
preferencesLoad | () | metodo |
public function preferencesLoad(types:String):lc.foundation.util:Token| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Loads all preferences into the manager.
Parametri
types:String — Specifies the preferences to load. (Not implemented)
|
lc.foundation.util:Token — A token used to set result and fault handlers that execute when the operation completes.
|
setPreferenceValue | () | metodo |
public function setPreferenceValue(name:String, value:Object):void| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Set the value of the preference with the provided name. Attempting to set the value of a system preference will be silently ignored.
Parametri
name:String — The name of preference.
| |
value:Object — The value of the preference.
|
Descrizione delle costanti
SESSION_KEY | Costante |
public static const SESSION_KEY:String = "lc.foundation.IPreferencesManager"| Versione linguaggio: | ActionScript 3.0 |
| Versione prodotto: | Adobe Digital Enterprise Platform Document Services - Area di lavoro 9 |
| Versioni runtime: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies the manager key name in the SessionMap object.
Tue Jun 12 2018, 02:44 PM Z