Paket | lc.foundation |
Schnittstelle | public interface IPreferencesManager extends IManager , IEventDispatcher |
Umsetzer | PreferencesManager |
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Laufzeitversionen: | 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.
Öffentliche Eigenschaften
Öffentliche Methoden
Methode | Definiert von | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registriert ein Ereignis-Listener-Objekt bei einem EventDispatcher-Objekt, sodass der Listener über ein Ereignis benachrichtigt wird. | IEventDispatcher | ||
Sendet ein Ereignis in den Ereignisablauf. | 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 | ||
Überprüft, ob das EventDispatcher-Objekt Listener für einen bestimmten Ereignistyp registriert hat. | IEventDispatcher | ||
Loads all preferences into the manager. | IPreferencesManager | ||
Entfernt einen Listener aus dem EventDispatcher-Objekt. | IEventDispatcher | ||
Set the value of the preference with the provided name. | IPreferencesManager | ||
Überprüft, ob bei diesem EventDispatcher-Objekt oder bei einem seiner Vorgänger ein Ereignis-Listener für einen bestimmten Ereignistyp registriert ist. | IEventDispatcher |
Methodendetails
getPreferencesStartingWith | () | Methode |
public function getPreferencesStartingWith(namePrefix:String):ListCollectionView
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Get a list of all preferences starting with a provided prefix.
Parameter
namePrefix:String — preference prefix.
|
ListCollectionView — A list of all preferences starting with a provided prefix.
|
getPreferenceValue | () | Methode |
public function getPreferenceValue(name:String):Object
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Get the value of the preference with the provided name.
Parameter
name:String — preference name.
|
Object — The value of the preference with the provided name.
|
preferencesLoad | () | Methode |
public function preferencesLoad(types:String):lc.foundation.util:Token
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Laufzeitversionen: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Loads all preferences into the manager.
Parameter
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 | () | Methode |
public function setPreferenceValue(name:String, value:Object):void
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Laufzeitversionen: | 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.
Parameter
name:String — The name of preference.
| |
value:Object — The value of the preference.
|
Tue Jun 12 2018, 10:04 AM Z