styleName:Object [read-write]
The source of this object's style values.
The value of styleName may be one of three possible types:
- A String, such as "headerStyle".
The string names a class selector defined in a CSS style sheet.
- A CSSStyleDeclaration, such as
StyleManager.getStyleDeclaration(".headerStyle").
- A UIComponent. The object implementing this interface inherits all
the style values from the referenced UIComponent.
Implementation
public function get styleName():Object
public function set styleName(value:Object):void
public function styleChanged(styleProp:String):void
Called when the value of a style property is changed.
Parameters
| styleProp:String — The name of the style property that changed.
|