public static const PRIORITY_DEFAULT:uint = 0
Constant for the style priority "default".
The following rules apply to a default style:
- A default style declared in a component instance is being overridden from
styles of any priority declared in the global style manager or in an ancestor
component.
- If the component or the global style manager (JCSS) that has declared the default style
now specifies another rule for this style, then:
- If the new style is a default style, the style with the higher specifity applies.
- If the new style is a fix or an important style, that style applies.
public static const PRIORITY_FIX:uint = 1
Constant for the style priority "fix".
The following rules apply to a fix style:
- A fix style declared in a component instance can not be overridden from
fix or default styles declared in the global style manager or in an ancestor
component.
- A fix style is being overridden from important styles declared anywhere in
the same display list subtree.
- If the component or the global style manager (JCSS) that has declared the fix style
now specifies another rule for this style, then:
- If the new style is also a fix style, the style with the higher specifity applies.
- If the new style is a default style, it is being ignored.
- If the new style is an important style, that style applies.
public static const PRIORITY_IMPORTANT:uint = 2
Constant for the style priority "important".
The following rules apply to an important style:
- An important style declared in the global style manager or in an ancestor
component overrides all styles of default or fix (but not important) priority in child components.
- If the component or the global style manager (JCSS) that has declared the important style
now specifies another rule for this style, then:
- If the new style is also an important style, the later declared style applies.
- If the new style is a fix or an default style, it is being ignored.