Class mx.styles.CSSSetStyle

mx.styles.CSSSetStyle

Description

runtime style changes of CSS properties requires this package

Field Index

_color, classConstructed, CSSStyleDeclarationDependency, invalidateStyle, setColor, stylecache, styleName

Method Index

_setStyle(), changeColorStyleInChildren(), changeTextStyleInChildren(), classConstruct(), enableRunTimeCSS(), notifyStyleChangeInChildren(), setStyle()

Field Detail

styleName

styleName:String

stylecache

stylecache:Object

_color

_color:Number

setColor

setColor:Function

invalidateStyle

invalidateStyle:Function

classConstructed

static classConstructed:Boolean

CSSStyleDeclarationDependency

static CSSStyleDeclarationDependency

Method Detail

_setStyle

function _setStyle(styleProp:
String, newValue):Void

changeTextStyleInChildren

function changeTextStyleInChildren(styleProp:
String):Void

changeColorStyleInChildren

function changeColorStyleInChildren(sheetName:
String, colorStyle:String, newValue):Void

notifyStyleChangeInChildren

function notifyStyleChangeInChildren(sheetName:
String, styleProp:String, newValue):Void

setStyle

function setStyle(styleProp:
String, newValue):Void
set a style property. Causes lots of processing so use sparingly
Parameters

enableRunTimeCSS

static function enableRunTimeCSS():Void

classConstruct

static function classConstruct():
Boolean