| Package | com.hippohx |
| Class | public class Registry |
| Inheritance | Registry HaxeBackendListener flash.events.EventDispatcher |
This class is experimental and hasn't been thoroughly tested so expect some problems or weird behaviours. If you find them, please tell us about it.
| Method | Defined by | ||
|---|---|---|---|
|
Registry()
Do NOT call this constructor, please use getInstance method instead.
| Registry | ||
|
deleteKey(key:Number, subKey:String):void
Deletes the value of the specified key/subkey.
| Registry | ||
![]() |
getHaxeBackendId():String
Returns HAXE_BACKEND API identifier.
| HaxeBackendListener | |
|
[static]
Use this method to retrieve an instance of the class, do NOT call the constructor directly.
| Registry | ||
|
getValue(key:Number, subKey:String, valuename:String):String
Returns the value of the specified key/subkey.
| Registry | ||
|
setValue(key:Number, subKey:String, valuename:String, value:String):void
Sets the value of the specified key/subkey.
| Registry | ||
| Constant | Defined by | ||
|---|---|---|---|
| HKEY_CLASSES_ROOT : int = 0 [static]
| Registry | ||
| HKEY_CURRENT_CONFIG : int = 5 [static]
| Registry | ||
| HKEY_CURRENT_USER : int = 1 [static]
| Registry | ||
| HKEY_DYN_DATA : int = 6 [static]
| Registry | ||
| HKEY_LOCAL_MACHINE : int = 2 [static]
| Registry | ||
| HKEY_PERFORMANCE_DATA : int = 4 [static]
| Registry | ||
| HKEY_USERS : int = 3 [static]
| Registry | ||
| Registry | () | constructor |
public function Registry()Do NOT call this constructor, please use getInstance method instead.
See also
| deleteKey | () | method |
public function deleteKey(key:Number, subKey:String):voidDeletes the value of the specified key/subkey.
Neko call is systools.Registry.deleteKey(key,subKey) Parameters
key:Number |
|
subKey:String |
| getInstance | () | method |
public static function getInstance():RegistryUse this method to retrieve an instance of the class, do NOT call the constructor directly. Note that you don't need to store the instance to access its methods, you can simply do this:
Registry.getInstance().setValue(key,subkey,valuename,value);
Registry |
| getValue | () | method |
public function getValue(key:Number, subKey:String, valuename:String):StringReturns the value of the specified key/subkey.
Neko call is systools.Registry.getValue(key,subKey,valuename) Parameters
key:Number |
|
subKey:String |
|
valuename:String |
String — A String with the value of the specified key/subkey.
|
| setValue | () | method |
public function setValue(key:Number, subKey:String, valuename:String, value:String):voidSets the value of the specified key/subkey. If it does not exist, it is created first.
Neko call is systools.Registry.setValue(key,subKey,valuename,value) Parameters
key:Number |
|
subKey:String |
|
valuename:String |
|
value:String |
| HKEY_CLASSES_ROOT | constant |
public static const HKEY_CLASSES_ROOT:int = 0
| HKEY_CURRENT_CONFIG | constant |
public static const HKEY_CURRENT_CONFIG:int = 5
| HKEY_CURRENT_USER | constant |
public static const HKEY_CURRENT_USER:int = 1
| HKEY_DYN_DATA | constant |
public static const HKEY_DYN_DATA:int = 6
| HKEY_LOCAL_MACHINE | constant |
public static const HKEY_LOCAL_MACHINE:int = 2
| HKEY_PERFORMANCE_DATA | constant |
public static const HKEY_PERFORMANCE_DATA:int = 4
| HKEY_USERS | constant |
public static const HKEY_USERS:int = 3