包 | lc.foundation |
接口 | public interface IPreferencesManager extends IManager , IEventDispatcher |
实现器 | PreferencesManager |
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | 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.
公共方法
方法 | 由以下参数定义 | ||
---|---|---|---|
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
使用 EventDispatcher 对象注册事件侦听器对象,以使侦听器能够接收事件通知。 | IEventDispatcher | ||
将事件调度到事件流中。 | 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 | ||
检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 | IEventDispatcher | ||
Loads all preferences into the manager. | IPreferencesManager | ||
从 EventDispatcher 对象中删除侦听器。 | IEventDispatcher | ||
Set the value of the preference with the provided name. | IPreferencesManager | ||
检查是否用此 EventDispatcher 对象或其任何祖代为指定事件类型注册了事件侦听器。 | IEventDispatcher |
方法详细信息
getPreferencesStartingWith | () | 方法 |
public function getPreferencesStartingWith(namePrefix:String):ListCollectionView
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Get a list of all preferences starting with a provided prefix.
参数
namePrefix:String — preference prefix.
|
ListCollectionView — A list of all preferences starting with a provided prefix.
|
getPreferenceValue | () | 方法 |
public function getPreferenceValue(name:String):Object
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Get the value of the preference with the provided name.
参数
name:String — preference name.
|
Object — The value of the preference with the provided name.
|
preferencesLoad | () | 方法 |
public function preferencesLoad(types:String):lc.foundation.util:Token
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Loads all preferences into the manager.
参数
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 | () | 方法 |
public function setPreferenceValue(name:String, value:Object):void
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | 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.
参数
name:String — The name of preference.
| |
value:Object — The value of the preference.
|
Tue Jun 12 2018, 11:04 AM Z