ValueState
| Kind of class: | class |
|---|---|
| Inherits from: | CoreObject |
| Implements: | |
| Known subclasses: | |
| Version: | 12/14/06 |
| Author: | Toby Boudreaux, Aaron Clinger |
| Classpath: | org.casaframework.state.ValueState |
| File last modified: | Monday, 08 January 2007, 09:57:51 |
Class designed to store key value pairs.
Summary
Constructor
Instance properties
Instance properties inherited from CoreObject
Instance methods
Instance methods inherited from CoreObject
Constructor
ValueState
function ValueState (
)
Instance methods
destroy
function destroy (
) : Void
Removes internal variables, intervals, enter frames, internal MovieClips and event observers to allow the object to be garbage collected.
Always call
#Always call
destroy() before deleting/removing object instance.Specified by:
getValueForKey
function getValueForKey (
key:String) : Object
Gets the value of specified key.
#getValueKeys
function getValueKeys (
) : Array
Returns:
Returns an Array composed of all stored key names as strings.
#Specified by:
removeValueForKey
function removeValueForKey (
key:String) : Boolean
Removes a key value pair from being stored.
#setValueForKey
function setValueForKey (
key:String,
value:Object) : Void
Stores a key value pair.
#Specified by: