Packageorg.spicefactory.parsley.resources.processor
Interfacepublic interface ResourceBindingAdapter extends flash.events.IEventDispatcher
Implementors FlexResourceBindingAdapter

Adapts Parsleys ResourceBinding either to the Flex ResourceManager or the Parsley Flash ResourceManager.



Public Methods
 MethodDefined By
  
getResource(bundle:String, key:String):*
Returns the resource for the specified bundle and key.
ResourceBindingAdapter
Events
 Event Summary Defined By
  Dispatched when the adapted ResourceManager changed the active locale or locale chain respectively.ResourceBindingAdapter
Method Detail
getResource()method
public function getResource(bundle:String, key:String):*

Returns the resource for the specified bundle and key.

Parameters

bundle:String — the bundle name
 
key:String — the resource key

Returns
* — the resource for the specified bundle and key
Event Detail
update Event
Event Object Type: org.spicefactory.parsley.resources.processor.ResourceBindingEvent
ResourceBindingEvent.type property = org.spicefactory.parsley.resources.ResouceBindingEvent.UPDATE

Dispatched when the adapted ResourceManager changed the active locale or locale chain respectively.