com.adobe.fiber.styles

# IStyle - AS3 ADEP Data Services

Package | com.adobe.fiber.styles
Interface | public interface IStyle
Implementors | Style

Language Version: | ActionScript 3.0

Product Version: | Adobe Digital Enterprise Platform Data Services for Java EE 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

| Property | Defined 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: | Adobe Digital Enterprise Platform Data Services for Java EE 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: | Adobe Digital Enterprise Platform Data Services for Java EE 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: | Adobe Digital Enterprise Platform Data Services for Java EE 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: | Adobe Digital Enterprise Platform Data Services for Java EE 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: | Adobe Digital Enterprise Platform Data Services for Java EE 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: | Adobe Digital Enterprise Platform Data Services for Java EE 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`

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00