Packageorg.servebox.toolbox.globalization
Classpublic class GlobalizationDictionaryReader
Implementsflash.events.IEventDispatcher, IObserver

GlobalizationDictionaryReader give acces to the GlobalizationDictionary Model. GlobalizationDictionaryReader is registered to the GlobalizationDictionary Model and received notification when schema change.



Public Properties
 PropertyDefined by
  labels : Object
[read-only] Acces to the GlobalizationDictionary labels
GlobalizationDictionaryReader
  language : String
Return the current language
GlobalizationDictionaryReader
Public Methods
 MethodDefined by
  
Creates a new GlobalizationDictionaryReader object.
GlobalizationDictionaryReader
  
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
IEventDispatcher implementation.
GlobalizationDictionaryReader
  
dispatchEvent(evt:Event):Boolean
IEventDispatcher implementation.
GlobalizationDictionaryReader
  
hasEventListener(type:String):Boolean
IEventDispatcher implementation.
GlobalizationDictionaryReader
  
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
IEventDispatcher implementation.
GlobalizationDictionaryReader
  
update(source:IObservable, notification:Notification):void
An IObservable instance has notified the current IObserver instance.
GlobalizationDictionaryReader
  
willTrigger(type:String):Boolean
IEventDispatcher implementation.
GlobalizationDictionaryReader
Property detail
labelsproperty
labels:Object  [read-only]

Acces to the GlobalizationDictionary labels

This property can be used as the source for data binding.

Implementation
    public function get labels():Object
languageproperty 
language:String  [read-write]

Return the current language

This property can be used as the source for data binding.

Implementation
    public function get language():String
    public function set language(value:String):void
Constructor detail
GlobalizationDictionaryReader()constructor
public function GlobalizationDictionaryReader()

Creates a new GlobalizationDictionaryReader object.

Method detail
addEventListener()method
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void

IEventDispatcher implementation.

Parameters
type:String
 
listener:Function
 
useCapture:Boolean (default = false)
 
priority:int (default = 0)
 
useWeakReference:Boolean (default = false)
dispatchEvent()method 
public function dispatchEvent(evt:Event):Boolean

IEventDispatcher implementation.

Parameters
evt:Event

Returns
Boolean
hasEventListener()method 
public function hasEventListener(type:String):Boolean

IEventDispatcher implementation.

Parameters
type:String

Returns
Boolean
removeEventListener()method 
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void

IEventDispatcher implementation.

Parameters
type:String
 
listener:Function
 
useCapture:Boolean (default = false)
update()method 
public function update(source:IObservable, notification:Notification):void

An IObservable instance has notified the current IObserver instance.

Parameters
source:IObservable
 
notification:Notification
willTrigger()method 
public function willTrigger(type:String):Boolean

IEventDispatcher implementation.

Parameters
type:String

Returns
Boolean