ValueState
Kind of class: | class |
---|---|
Inherits from: | CoreObject |
Implements: | |
Known subclasses: | |
Version: | 12/14/06 |
Author: | Toby Boudreaux, Aaron Clinger |
Classpath: | org.casalib.state.ValueState |
File last modified: | Monday, 01 December 2008, 13:34:40 |
Class designed to store key value pairs.
Summary
Constructor
Instance methods
- setValueForKey (key:String, value:Object) : Void
- Stores a key value pair.
- getValueForKey (key:String) : Object
- Gets the value of specified key.
- removeValueForKey (key:String) : Boolean
- Removes a key value pair from being stored.
- getValueKeys : Array
- destroy : Void
- Removes any internal variables, intervals, enter frames, internal MovieClips and event observers to allow the object to be garbage collected.Instance methods inherited from CoreObject
Constructor
ValueState
function ValueState ()Instance methods
destroy
function destroy () : VoidRemoves any internal variables, intervals, enter frames, internal MovieClips and event observers to allow the object to be garbage collected.#
Always call {VISDOC_CODE_BLOCK_0} before deleting last object pointer.Overrides:Specified by:getValueKeys
function getValueKeys () : ArrayReturns:- Returns an Array composed of all stored key names as strings.#
Specified by:removeValueForKey
function removeValueForKey (key:String) : BooleanRemoves a key value pair from being stored.#setValueForKey
function setValueForKey (key:String, value:Object) : VoidStores a key value pair.#Specified by: - removeValueForKey (key:String) : Boolean
- getValueForKey (key:String) : Object