Package | lc.foundation |
Interface | public interface IPreferencesManager extends IManager , IEventDispatcher |
Implementors | PreferencesManager |
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtime Versions: | 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.
Public Properties
Public Methods
Method | Defined By | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener
receives notification of an event. | IEventDispatcher | ||
Dispatches an event into the event flow. | 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 | ||
Checks whether the EventDispatcher object has any listeners registered for a specific type
of event. | IEventDispatcher | ||
Loads all preferences into the manager. | IPreferencesManager | ||
Removes a listener from the EventDispatcher object. | IEventDispatcher | ||
Set the value of the preference with the provided name. | IPreferencesManager | ||
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type. | IEventDispatcher |
Method Detail
getPreferencesStartingWith | () | method |
public function getPreferencesStartingWith(namePrefix:String):ListCollectionView
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Get a list of all preferences starting with a provided prefix.
Parameters
namePrefix:String — preference prefix.
|
ListCollectionView — A list of all preferences starting with a provided prefix.
|
getPreferenceValue | () | method |
public function getPreferenceValue(name:String):Object
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Get the value of the preference with the provided name.
Parameters
name:String — preference name.
|
Object — The value of the preference with the provided name.
|
preferencesLoad | () | method |
public function preferencesLoad(types:String):lc.foundation.util:Token
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtime Versions: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Loads all preferences into the manager.
Parameters
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 | () | method |
public function setPreferenceValue(name:String, value:Object):void
Language Version: | ActionScript 3.0 |
Product Version: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
Runtime Versions: | 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.
Parameters
name:String — The name of preference.
| |
value:Object — The value of the preference.
|
Thu Dec 6 2018, 01:12 PM -08:00