Packageflexlib.styles
Classpublic class StyleDeclarationHelper
InheritanceStyleDeclarationHelper Inheritance Object



Public Methods
 MethodDefined By
  
getStyleSelectorForClass(c:Class):String
[static] Gets the style selector for the specified class.
StyleDeclarationHelper
  
getStyleSelectorForClassName(fullyQualifiedName:String):String
[static] Gets the style selector for the specified class name.
StyleDeclarationHelper
Method Detail
getStyleSelectorForClass()method
public static function getStyleSelectorForClass(c:Class):String

Gets the style selector for the specified class.

Parameters

c:Class — The component class to get the style selector for

Returns
String — style selector string for given class

See also

getStyleSelectorForClassName
getStyleSelectorForClassName()method 
public static function getStyleSelectorForClassName(fullyQualifiedName:String):String

Gets the style selector for the specified class name. Starting in Flex 4, component selectors passed to StyleManager.getStyleDeclaration and StyleManager.setStyleDeclaration must be fully qualified class names. In versions of Flex < 4, the class name itself was used.

Parameters

fullyQualifiedName:String — The fully qualified name of the class to get the selector for

Returns
String — style selector string

See also