Index: lams_common/src/flash/org/lamsfoundation/lams/common/util/StyleManager.as =================================================================== diff -u --- lams_common/src/flash/org/lamsfoundation/lams/common/util/StyleManager.as (revision 0) +++ lams_common/src/flash/org/lamsfoundation/lams/common/util/StyleManager.as (revision 893c6ede6d062c73e396d4a5c9c23785e6c928eb) @@ -0,0 +1,33 @@ +/** +* Manages styles throughout LAMS +* StyleManager +* DI +*/ +class StyleManager { + + //Declarations + //Constructor + function StyleManager() { + } + + private function createStyle(){ + + } + + /* + Example of setting global styles + var styleObj = new mx.styles.CSSStyleDeclaration(); + styleObj.styleName = 'newStyle'; + _global.styles.newStyle = styleObj; + var styleObj = _global.styles.newStyle = new mx.styles.CSSStyleDeclaration(); + styleObj.setStyle('fontFamily', 'Verdana'); + styleObj.setStyle('fontSize', 10); + styleObj.setStyle('fontWeight', 'bold'); + styleObj.setStyle('textDecoration', 'underline'); + styleObj.setStyle('color', 0x336699); + styleObj.setStyle('themeColor', 'haloBlue'); + _root.setStyle('styleName', 'newStyle'); + */ + //Getters+Setters + +} \ No newline at end of file