Paket | lc.foundation |
Gränssnitt | public interface IPreferencesManager extends IManager , IEventDispatcher |
Implementorer | PreferencesManager |
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | 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.
Publika egenskaper
Publika metoder
Metod | Definieras med | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registrerar ett händelseavlyssnarobjekt för ett EventDispatcher-objekt så att avlyssnaren får meddelanden om händelser. | IEventDispatcher | ||
Skickar en händelse till händelseflödet. | 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 | ||
Kontrollerar om EventDispatcher-objektet har några avlyssnare registrerade för en viss typ av händelse. | IEventDispatcher | ||
Loads all preferences into the manager. | IPreferencesManager | ||
Tar bort en avlyssnare från EventDispatcher-objektet. | IEventDispatcher | ||
Set the value of the preference with the provided name. | IPreferencesManager | ||
Kontrollerar om en händelseavlyssnare är registrerad för det här EventDispatcher-objektet eller något av dess överordnade objekt för den angivna händelsetypen. | IEventDispatcher |
Metoddetaljer
getPreferencesStartingWith | () | metod |
public function getPreferencesStartingWith(namePrefix:String):ListCollectionView
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Get a list of all preferences starting with a provided prefix.
Parametrar
namePrefix:String — preference prefix.
|
ListCollectionView — A list of all preferences starting with a provided prefix.
|
getPreferenceValue | () | metod |
public function getPreferenceValue(name:String):Object
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Get the value of the preference with the provided name.
Parametrar
name:String — preference name.
|
Object — The value of the preference with the provided name.
|
preferencesLoad | () | metod |
public function preferencesLoad(types:String):lc.foundation.util:Token
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Loads all preferences into the manager.
Parametrar
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 | () | metod |
public function setPreferenceValue(name:String, value:Object):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Körningsmiljöversioner: | 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.
Parametrar
name:String — The name of preference.
| |
value:Object — The value of the preference.
|
Tue Jun 12 2018, 01:40 PM Z