包 | lc.foundation |
类 | public class PreferencesManager |
继承 | PreferencesManager Manager |
实现 | IPreferencesManager |
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
PreferencesManager
class is the standard implementation of the
ISessionManager
interface.
公共方法
方法 | 由以下参数定义 | ||
---|---|---|---|
PreferencesManager(session:SessionMap)
Constructor. | PreferencesManager | ||
Get a list of all preferences starting with a provided prefix. | PreferencesManager | ||
Get the value of the preference with the provided name. | PreferencesManager | ||
Loads all preferences into the manager. | PreferencesManager | ||
Set the value of the preference with the provided name. | PreferencesManager |
公共常量
常量 | 由以下参数定义 | ||
---|---|---|---|
SESSION_KEY : String = "lc.foundation.IPreferencesManager" [静态]
A special value that specifies the manager key name in the SessionMap object. | PreferencesManager |
构造函数详细信息
PreferencesManager | () | 构造函数 |
public function PreferencesManager(session:SessionMap)
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
Constructor.
参数session:SessionMap — Specifies the SessionMap object to use.
|
方法详细信息
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.
|
常量详细信息
SESSION_KEY | 常量 |
public static const SESSION_KEY:String = "lc.foundation.IPreferencesManager"
语言版本: | ActionScript 3.0 |
产品版本: | Adobe Digital Enterprise Platform Document Services - Workspace 9 |
运行时版本: | AIR (unsupported), Flash Player 9, Flash Player 10 |
A special value that specifies the manager key name in the SessionMap
object.
Tue Jun 12 2018, 11:04 AM Z