| Package | flexlib.styles |
| Class | public class StyleDeclarationHelper |
| Inheritance | StyleDeclarationHelper Object |
| Method | Defined 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 | ||
| getStyleSelectorForClass | () | method |
public static function getStyleSelectorForClass(c:Class):StringGets the style selector for the specified class.
Parameters
c:Class — The component class to get the style selector for
|
String — style selector string for given class
|
See also
| getStyleSelectorForClassName | () | method |
public static function getStyleSelectorForClassName(fullyQualifiedName:String):StringGets 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
|
String — style selector string
|
See also