StyleSheet
public class
loom.css.StyleSheet
Description
Class: StyleSheet The StyleSheet class provides a way to parse a of css and query/merge styles via stylename.
Package: UI.CSS.*
Assembly: UI.loomlib
See Also:
API overview
Constructor
StyleSheet
(
name: String
= undefined
)
Attributes
Public attributes
name: String | |
onUpdate: StyleUpdatedDelegate | |
source: String |
Protected attributes
Functions
Public functions
clear (): Void | |
defineAttribute ( name: String , value: Object ): Void |
Group: Public Functions |
getStyle ( styleNames: String ): IStyle | |
hasStyle ( name: String ): Boolean | |
newStyle ( name: String , style: IStyle ): Void | |
parseCSS ( cssText: String ): Void | |
relatedStyles ( name: String ): Vector.<String> | |
styleLookup ( styleName: String , getRelated: Boolean = true ): IStyle |
Protected functions
Constructor
StyleSheet ( name: String = undefined )
Attributes
Protected attributes
Functions
defineAttribute ( name: String , value: Object ): Void
Group: Public Functions
Parameters
name: String | |
value: Object |
getFullTypeName
(): String
Inherited from Object
native
Gets the fully qualified type name of the Object. The fully qualified type name includes the package of the type.
Returns
String | fully qualified type name of the Object. |
getType
(): Type
Inherited from Object
native
Gets the Type that describes the Object.
Returns
Type | The Type that describes the object. |
getTypeName
(): String
Inherited from Object
native
Gets the type name of the Object.
Returns
String | type name of the Object. |