Pacchetto | lc.foundation |
Interfaccia | public interface IPreferencesManager extends IManager , IEventDispatcher |
Implementatori | PreferencesManager |
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 |
IPreferencesManager
interface is implemented
to manage the various preferences that the user has access to.
Implement the IPreferencesManager
interface to retrieve a list of preferences that a user can
set or change.
Preferences that start with "/"
are system properties
and cannot be modified; Preferences that do not start with
"/"
are user properties and can be modified.
Proprietà pubbliche
Metodi pubblici
Metodo | Definito da | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registra un oggetto listener di eventi con un oggetto EventDispatcher, in modo che il listener riceva la notifica di un evento. | IEventDispatcher | ||
Invia un evento nel flusso di eventi. | IEventDispatcher | ||
Get a list of all preferences starting with a provided prefix. | IPreferencesManager | ||
Get the value of the preference with the provided name. | IPreferencesManager | ||
Determines whether the default operation is prevented. | IManager | ||
Determines whether the default operation is prevented. | IManager | ||
Verifica se per l'oggetto EventDispatcher sono presenti listener registrati per un tipo specifico di evento. | IEventDispatcher | ||
Loads all preferences into the manager. | IPreferencesManager | ||
Rimuove un listener dall'oggetto EventDispatcher. | IEventDispatcher | ||
Set the value of the preference with the provided name. | IPreferencesManager | ||
Verifica se un listener di eventi è registrato con questo oggetto EventDispatcher o qualsiasi suo antenato per il tipo di evento specificato. | IEventDispatcher |
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.
|
Tue Jun 12 2018, 02:44 PM Z