Main Page | Packages | Class Tree | Index | Help

mx.styles

class CSSSetStyle

Object
  |
  +--mx.styles.CSSSetStyle


class CSSSetStyle
extends Object

runtime style changes of CSS properties requires this package



Field Summary


_color: Number


static
classConstructed: Boolean


static
CSSStyleDeclarationDependency



invalidateStyle: Function



setColor: Function



stylecache: Object



styleName: String
actually defined on the hosting class

Fields inherited from class Object

__proto__, constructor, prototype

Method Summary


_setStyle ( styleProp: String, newValue ): Void
metadata is in UIObject.as


changeColorStyleInChildren ( sheetName: String, colorStyle: String, newValue ): Void
propagate color style changes to the children


changeTextStyleInChildren ( styleProp: String ): Void
propagate text style changes to the children

static
classConstruct ( ): Boolean


static
enableRunTimeCSS ( ): Void



notifyStyleChangeInChildren ( sheetName: String, styleProp: String, newValue ): Void
propagate other style changes to the children


setStyle ( styleProp: String, newValue ): Void
set a style property.

Methods inherited from class Object

addProperty, hasOwnProperty, isPropertyEnumerable, isPrototypeOf, registerClass, toLocaleString, toString, unwatch, valueOf, watch



Field Documentation

_color

var _color: Number

classConstructed

static var classConstructed: Boolean

CSSStyleDeclarationDependency

static var CSSStyleDeclarationDependency

invalidateStyle

var invalidateStyle: Function

setColor

var setColor: Function

stylecache

var stylecache: Object

styleName

var styleName: String
actually defined on the hosting class


Method Documentation

_setStyle

function _setStyle(styleProp: String,
 newValue): Void
metadata is in UIObject.as

changeColorStyleInChildren

function changeColorStyleInChildren(sheetName: String,
 colorStyle: String,
 newValue): Void
propagate color style changes to the children

changeTextStyleInChildren

function changeTextStyleInChildren(styleProp: String): Void
propagate text style changes to the children

classConstruct

static function classConstruct(): Boolean

enableRunTimeCSS

static function enableRunTimeCSS(): Void

notifyStyleChangeInChildren

function notifyStyleChangeInChildren(sheetName: String,
 styleProp: String,
 newValue): Void
propagate other style changes to the children

setStyle

function setStyle(styleProp: String,
 newValue): Void
set a style property.

Causes lots of processing so use sparingly

Parameters:
styleProp
String prop name of style property
newValue
Variant value new value for style

The documentation was generated from the following file:


Copyright © 1997-2005 Macromedia, Inc. All rights reserved. Generated with AS2Doc