Packagecom.flexcalendar.components.calendar.utils
Classpublic class ResourceBindingHelper
InheritanceResourceBindingHelper Inheritance Object

Helper class added to make binding resource bundle (localized data) easier.



Public Methods
 MethodDefined By
  
ResourceBindingHelper
  
bindString(site:Object, prop:String, key:String, resource:String = FlexCalendar):ChangeWatcher
[static] This function adds binding from resource bundle FlexCalendar to prop property on the site object.
ResourceBindingHelper
  
bindStringSetter(setter:Function, key:String, resource:String = FlexCalendar):ChangeWatcher
[static]
ResourceBindingHelper
Constructor Detail
ResourceBindingHelper()Constructor
public function ResourceBindingHelper()



Method Detail
bindString()method
public static function bindString(site:Object, prop:String, key:String, resource:String = FlexCalendar):ChangeWatcher

This function adds binding from resource bundle FlexCalendar to prop property on the site object.

Parameters

site:Object — The Object defining the property to be bound to chain.
 
prop:String — The name of the public property defined in the site Object to be bound. The property will receive the current value of chain, when the value of chain changes.
 
key:String — Key name in properties file
 
resource:String (default = FlexCalendar)

Returns
ChangeWatcher — A ChangeWatcher instance, if at least one property name has been specified to the chain argument; null otherwise.
bindStringSetter()method 
public static function bindStringSetter(setter:Function, key:String, resource:String = FlexCalendar):ChangeWatcher

Parameters

setter:Function
 
key:String
 
resource:String (default = FlexCalendar)

Returns
ChangeWatcher