套件 | 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, 03:47 PM Z