Adobe® Flex® 4 Language Reference
Hide Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
com.adobe.fiber.styles 
IStyle 
Packagecom.adobe.fiber.styles
Interfacepublic interface IStyle
Implementors Style

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

The IStyle interface defines a representation of a style associated with the Adobe application modeling technology. A style contains the following:
  1. An open ended set of messages with strong typing for caption, description, error and loose typing for all others.
  2. A display mask.
  3. An edit mask.
  4. A validator that represents one or more validation expressions.

Generated value objects expose a style property for each property of an entity that is decorated with a style.



Public Properties
 PropertyDefined By
  caption : LocalizeableMessage
[read-only] Returns the caption aspect of a property's style.
IStyle
  description : LocalizeableMessage
[read-only] Returns the description aspect of a property's style.
IStyle
  displayMask : String
[read-only] Returns the display mask aspect of a property's style.
IStyle
  editMask : String
[read-only] Returns the edit mask aspect of a property's style.
IStyle
  error : LocalizeableMessage
[read-only] Returns the error aspect of a property's style.
IStyle
  validator : Validator
[read-only] Returns a generated subclass of mx.validators.Validator whose validate method has been overridden corresponding to the expressions specified in the validation aspects of a property's style.
IStyle
Property Detail

caption

property
caption:LocalizeableMessage  [read-only]

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

Returns the caption aspect of a property's style. The caption aspect itself will have message, bundle, key, tokens, and text properties.



Implementation
    public function get caption():LocalizeableMessage

description

property 
description:LocalizeableMessage  [read-only]

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

Returns the description aspect of a property's style. The description aspect itself will have message, bundle, key, tokens, and text properties.



Implementation
    public function get description():LocalizeableMessage

displayMask

property 
displayMask:String  [read-only]

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

Returns the display mask aspect of a property's style.



Implementation
    public function get displayMask():String

editMask

property 
editMask:String  [read-only]

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

Returns the edit mask aspect of a property's style.



Implementation
    public function get editMask():String

error

property 
error:LocalizeableMessage  [read-only]

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

Returns the error aspect of a property's style. The error aspect itself will have message, bundle, key, tokens, and text properties.



Implementation
    public function get error():LocalizeableMessage

validator

property 
validator:Validator  [read-only]

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

Returns a generated subclass of mx.validators.Validator whose validate method has been overridden corresponding to the expressions specified in the validation aspects of a property's style.



Implementation
    public function get validator():Validator