Packagecom.gestureworks.cml.managers
Classpublic class CSSManager
InheritanceCSSManager Inheritance flash.events.EventDispatcher

The CSSManager processes external CSS files. It utilizes the CMLObjectList to apply the loaded style definitions.

See also

com.gestureworks.cml.loaders.CMLObjectList
com.gestureworks.cml.loaders.CSSLoader


Public Properties
 PropertyDefined By
  debug : Boolean = false
Turns on the debug information
CSSManager
  file : String
Sets the file name that css manger process
CSSManager
  instance : CSSManager
[static] [read-only] Returns an instance of the CSSManager class
CSSManager
Public Methods
 MethodDefined By
  
CSSManager(enforcer:SingletonEnforcer)
Constructor
CSSManager
  
loadCSS(filePath:String):void
Loads a CSS file
CSSManager
  
parseCSS():void
Parses the currently loaded CSS file using the CMLObjectList
CSSManager
Property Detail
debugproperty
public var debug:Boolean = false

Turns on the debug information

fileproperty 
public var file:String

Sets the file name that css manger process

instanceproperty 
instance:CSSManager  [read-only]

Returns an instance of the CSSManager class


Implementation
    public static function get instance():CSSManager
Constructor Detail
CSSManager()Constructor
public function CSSManager(enforcer:SingletonEnforcer)

Constructor

Parameters
enforcer:SingletonEnforcer
Method Detail
loadCSS()method
public function loadCSS(filePath:String):void

Loads a CSS file

Parameters

filePath:String

parseCSS()method 
public function parseCSS():void

Parses the currently loaded CSS file using the CMLObjectList