Packagecom.adobe.fiber.styles
Classpublic dynamic class Style
InheritanceStyle Inheritance Object
Implements IStyle, IEventDispatcher

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

An implementation of IStyle.



Public Properties
 PropertyDefined By
  caption : LocalizeableMessage
Returns the caption aspect of a property's style.
Style
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  description : LocalizeableMessage
Returns the description aspect of a property's style.
Style
  displayMask : String
Returns the display mask aspect of a property's style.
Style
  editMask : String
Returns the edit mask aspect of a property's style.
Style
  error : LocalizeableMessage
Returns the error aspect of a property's style.
Style
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
  validator : Validator
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.
Style
Public Methods
 MethodDefined By
  
Default constructor.
Style
  
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void
Style
  
Style
  
Style
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
  
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Style
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
  
Style
Property Detail
captionproperty
caption:LocalizeableMessage

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.

This property can be used as the source for data binding. When this property is modified, it dispatches the propertyChange event.



Implementation
    public function get caption():LocalizeableMessage
    public function set caption(value:LocalizeableMessage):void
descriptionproperty 
description:LocalizeableMessage

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.

This property can be used as the source for data binding. When this property is modified, it dispatches the propertyChange event.



Implementation
    public function get description():LocalizeableMessage
    public function set description(value:LocalizeableMessage):void
displayMaskproperty 
displayMask:String

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.

This property can be used as the source for data binding. When this property is modified, it dispatches the propertyChange event.



Implementation
    public function get displayMask():String
    public function set displayMask(value:String):void
editMaskproperty 
editMask:String

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.

This property can be used as the source for data binding. When this property is modified, it dispatches the propertyChange event.



Implementation
    public function get editMask():String
    public function set editMask(value:String):void
errorproperty 
error:LocalizeableMessage

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.

This property can be used as the source for data binding. When this property is modified, it dispatches the propertyChange event.



Implementation
    public function get error():LocalizeableMessage
    public function set error(value:LocalizeableMessage):void
validatorproperty 
validator:Validator

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.

This property can be used as the source for data binding. When this property is modified, it dispatches the propertyChange event.



Implementation
    public function get validator():Validator
    public function set validator(value:Validator):void
Constructor Detail
Style()Constructor
public function Style()

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

Default constructor.

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

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)
 
priority:int (default = 0)
 
weakRef:Boolean (default = false)

dispatchEvent()method 
public function dispatchEvent(event:Event):Boolean

Parameters

event:Event

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

Parameters

type:String

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

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)

willTrigger()method 
public function willTrigger(type:String):Boolean

Parameters

type:String

Returns
Boolean