Package | mx.styles |
Interface | public interface IAdvancedStyleClient extends IStyleClient , ISimpleStyleClient |
Implementors | StyleProxy, UIComponent |
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Property | Defined By | ||
---|---|---|---|
className : String [read-only]
The name of the component class. | IStyleClient | ||
id : String [read-only]
The identity of the component. | IAdvancedStyleClient | ||
inheritingStyles : Object
An object containing the inheritable styles for this component. | IStyleClient | ||
nonInheritingStyles : Object
An object containing the noninheritable styles for this component. | IStyleClient | ||
styleDeclaration : CSSStyleDeclaration
The style declaration that holds the inline styles declared by this
object. | IStyleClient | ||
styleName : Object
The source of this object's style values. | ISimpleStyleClient | ||
styleParent : IAdvancedStyleClient [read-only]
The parent of this component. | IAdvancedStyleClient |
Method | Defined By | ||
---|---|---|---|
Deletes a style property from this component instance. | IStyleClient | ||
Returns an Array of CSSStyleDeclaration objects for the type selector
that applies to this component, or null if none exist. | IStyleClient | ||
Gets a style property that has been set anywhere in this
component's style lookup chain. | IStyleClient | ||
The current state of this component used to match CSS pseudo-selectors. | IAdvancedStyleClient | ||
Determines whether this instance is the same as - or is a subclass of -
the given type. | IAdvancedStyleClient | ||
Propagates style changes to the children of this component. | IStyleClient | ||
Sets up the internal style cache values so that the getStyle()
method functions. | IStyleClient | ||
Registers the EffectManager as one of the event listeners for each effect event. | IStyleClient | ||
Sets a style property on this component instance. | IStyleClient | ||
Called when the value of a style property is changed. | ISimpleStyleClient | ||
Flex calls the stylesInitialized() method when
the styles for a component are first initialized. | IAdvancedStyleClient |
id | property |
id:String
[read-only] Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The identity of the component.
public function get id():String
styleParent | property |
styleParent:IAdvancedStyleClient
[read-only] Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The parent of this component.
public function get styleParent():IAdvancedStyleClient
matchesCSSState | () | method |
public function matchesCSSState(cssState:String):Boolean
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
The current state of this component used to match CSS pseudo-selectors. If no state exists, returns null. Note Spark components use their skin state as the pseudo state, where as Halo components use their currentState property.
Parameters
cssState:String |
Boolean |
matchesCSSType | () | method |
public function matchesCSSType(cssType:String):Boolean
Language Version: | ActionScript 3.0 |
Product Version: | Flex 3 |
Runtime Versions: | Flash Player 9, AIR 1.1 |
Determines whether this instance is the same as - or is a subclass of - the given type.
Parameters
cssType:String |
Boolean |
stylesInitialized | () | method |
public function stylesInitialized():void
Language Version: | ActionScript 3.0 |
Product Version: | Flex 4 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Flex calls the stylesInitialized()
method when
the styles for a component are first initialized.