Adobe® Flex® 4 Language Reference
Show Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
com.adobe.fiber.styles 
ILocalizeableMessage 
Packagecom.adobe.fiber.styles
Interfacepublic interface ILocalizeableMessage
Implementors LocalizeableMessage

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

The ILocalizeableAspect class represents a single message aspect of a style used by Adobe application modeling technology. Its message property is bindable and returns the localized message respecting the ResourceManager's current localeChain. Bundle, key, and token attributes of this message aspect are passed as arguments to the resource manager to calculate the message. If the resource bundle does not contain an entry for the given key, the message property defaults to the text attribute of this message aspect.

The bundle, key, text, and tokens attributes are themselves bindable.

All of the aspects including message are recalculated when the ResourceManager's localeChain property is updated.



Public Properties
 PropertyDefined By
  bundle : String
[read-only] Bindable property that returns the bundle attribute of this message aspect.
ILocalizeableMessage
  key : String
[read-only] Bindable property that returns the key attribute of this message aspect.
ILocalizeableMessage
  message : String
[read-only] Bindable property that returns the localized version of this message via a call to IResourceManager.getString(bundle, key, tokens).
ILocalizeableMessage
  text : String
[read-only] Bindable property that returns the text attribute of this message aspect.
ILocalizeableMessage
  tokens : ArrayCollection
[read-only] Bindable property that returns the tokens attribute of this message aspect.
ILocalizeableMessage
Property Detail

bundle

property
bundle:String  [read-only]

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

Bindable property that returns the bundle attribute of this message aspect.



Implementation
    public function get bundle():String

key

property 
key:String  [read-only]

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

Bindable property that returns the key attribute of this message aspect.



Implementation
    public function get key():String

message

property 
message:String  [read-only]

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

Bindable property that returns the localized version of this message via a call to IResourceManager.getString(bundle, key, tokens). If this call does not return a message, this property is defaulted to the value of text. The value of this property is updated when the ResourceManager's localeChain property is updated.



Implementation
    public function get message():String

text

property 
text:String  [read-only]

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

Bindable property that returns the text attribute of this message aspect.



Implementation
    public function get text():String

tokens

property 
tokens:ArrayCollection  [read-only]

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

Bindable property that returns the tokens attribute of this message aspect.



Implementation
    public function get tokens():ArrayCollection