Apache Flex 4.16.1 API Reference | All Packages | All Classes | Index | Frames No Frames |
ISimpleStyleClient

Package | mx.styles
Interface | public interface ISimpleStyleClient
Implementors | ProgrammaticSkin, StyleableTextField, 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

mx.styles.IStyleClient
mx.styles.CSSStyleDeclaration

Public Properties

| Property | Defined By
--- | --- | ---
|  | styleName : Object The source of this object's style values. | ISimpleStyleClient

Public Methods

| Method | Defined By
--- | --- | ---
|  | styleChanged(styleProp:String):void 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.

Wed Nov 15 2017, 09:50 AM +01:00