Package | org.zengrong.ane.tool |
Class | public class PreferenceCont |
Inheritance | PreferenceCont ToolBase flash.events.EventDispatcher |
Method | Defined By | ||
---|---|---|---|
PreferenceCont($context:ExtensionContext) | PreferenceCont | ||
dispose():void | ToolBase | ||
getValue($settingName:String, $keyType:String, $keyName:String):*
获取保存的值
| PreferenceCont | ||
setValue($settingName:String, $keyType:String, $keyName:String, $value:*):void
获取保存的值
| PreferenceCont |
PreferenceCont | () | Constructor |
public function PreferenceCont($context:ExtensionContext)
$context:ExtensionContext |
getValue | () | method |
public function getValue($settingName:String, $keyType:String, $keyName:String):*
获取保存的值
Parameters
$settingName:String — 保存的对象的名称
| |
$keyType:String — 值的类型
| |
$keyName:String — 值的名称
如果值不存在,对于int来说,将返回-1;对于字符串类型来说,将返回空字符串
|
* |
setValue | () | method |
public function setValue($settingName:String, $keyType:String, $keyName:String, $value:*):void
获取保存的值
Parameters
$settingName:String — 保存的对象的名称
| |
$keyType:String — 值的类型
| |
$keyName:String — 值的名称
| |
$value:* — 要保存的值
|