| 12345678910111213141516171819202122232425262728293031323334 |
- [Bindable]
- public var message : String = "";
- [Bindable]
- public var titleMessage : String = "";
- [Bindable]
- public var level : String = "";
- public static const INFORMATION : String = "INFORMATION";
- public static const VALIDATION : String = "VALIDATION";
- public static const WARNING : String = "WARNING";
- public static const ERROR : String = "ERROR";
- private function creationCompleteHandler() : void
- {
- switch( level )
- {
- case INFORMATION :
- this.setStyle( "styleName", "toasterInformation" );
- break;
- case VALIDATION :
- this.setStyle( "styleName", "toasterValidation" );
- break;
- case WARNING :
- this.setStyle( "styleName", "toasterWarning" );
- break;
- case ERROR :
- this.setStyle( "styleName", "toasterError" );
- break;
- }
- }
|