Abstract base class for state provider implementations. This class provides methods
+
Abstract base class for state provider implementations. This class provides methods
for encoding and decoding typed variables including dates and defines the
-Provider interface.
Public Properties
This class has no public properties.
Public Methods
|
| clear( String name )
+Provider interface.Public Properties|
| var : Object a -> Array
+n -> Number
+d -> Date
+b -> Boolean
+s -> String
+o -> Object
+-> Empty (null) | Provider |
Public Methods|
| clear( String name )
:
- voidClears a value from the state Clears a value from the state Parameters:name : StringThe key name Returns: | Provider | | decodeValue( String value )
+ voidClears a value from the state Clears a value from the state Parameters:name : StringThe key name Returns: | Provider | | decodeValue( String value )
:
- MixedDecodes a string previously encoded with encodeValue. Decodes a string previously encoded with encodeValue. Parameters:value : StringThe value to decode Returns: | Provider | | encodeValue( Mixed value )
+ MixedDecodes a string previously encoded with encodeValue. Decodes a string previously encoded with encodeValue. Parameters:value : StringThe value to decode Returns: | Provider | | encodeValue( Mixed value )
:
- StringEncodes a value including type information. Decode with decodeValue. Encodes a value including type information. Decode with decodeValue. Parameters:value : MixedThe value to encode Returns: | Provider | | get( String name , Mixed defaultValue )
+ StringEncodes a value including type information. Decode with decodeValue. Encodes a value including type information. Decode with decodeValue. Parameters:value : MixedThe value to encode Returns: | Provider | | get( String name , Mixed defaultValue )
:
- MixedReturns the current value for a key Returns the current value for a key | Provider | | set( String name , Mixed value )
+ MixedReturns the current value for a key Returns the current value for a key | Provider | | set( String name , Mixed value )
:
- voidSets the value for a key Sets the value for a key Parameters:name : StringThe key name value : MixedThe value to set Returns: | Provider |
Public Events|
| statechange :
+ voidSets the value for a key Sets the value for a key Parameters:name : StringThe key name value : MixedThe value to set Returns: | Provider |
Public Events|
| statechange :
( Provider this , String key , String value )
Fires when a state change occurs. Fires when a state change occurs. Listeners will be called with the following arguments: | Provider |
\ No newline at end of file
|