Adobe® Flex® 4 Language Reference
Hide Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
mx.styles 
ISimpleStyleClient 
Packagemx.styles
Interfacepublic interface ISimpleStyleClient
Implementors ProgrammaticSkin, UIFTETextField, UITextField

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

This interface describes the properties and methods that an object must implement so that it can participate in the style subsystem. This interface is intended to be used by classes that obtain their style values from other objects rather than through locally set values and type selectors. This interface is implemented by ProgrammaticSkin.

See also



Public Properties
 PropertyDefined By
  styleName : Object
The source of this object's style values.
ISimpleStyleClient
Public Methods
 MethodDefined By
  
Called when the value of a style property is changed.
ISimpleStyleClient
Property Detail

styleName

property
styleName:Object

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

The source of this object's style values. The value of the styleName property can be one of three possible types:

  • String, such as "headerStyle". The String names a class selector that is defined in a CSS style sheet.
  • CSSStyleDeclaration, such as StyleManager.getStyleDeclaration(".headerStyle").
  • UIComponent. The object that implements this interface inherits all the style values from the referenced UIComponent.



Implementation
    public function get styleName():Object
    public function set styleName(value:Object):void
Method Detail

styleChanged

()method
public function styleChanged(styleProp:String):void

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Called when the value of a style property is changed.

Parameters

styleProp:String — The name of the style property that changed.