Packageat.fhjoanneum.dmt.umj.core.util
Classpublic class NotificationHelper
InheritanceNotificationHelper Inheritance flash.events.EventDispatcher

Helper: NotificationHelper is a singleton that can pop up Notification-Windows that are automatically overlayed and with various functionalities (quit after seconds, no action, ok, ...).



Public Methods
 MethodDefined By
  
NotificationHelper(enforcer:SingletonEnforcer)
NotificationHelper
  
NotificationHelper
  
closeNotification(notificationWindow:NotificationWindow):void
NotificationHelper
  
createNotification(notificationText:String = No NotificationText was provided, windowTitle:String = No WindowsTitle was provided, showQuit:Boolean = false, tickDownSec:Number = 0, showContinueAnyway:Boolean = false):void
NotificationHelper
  
[static]
NotificationHelper
Protected Methods
 MethodDefined By
  
dealloc():void
NotificationHelper
  
init():void
NotificationHelper
Events
 Event Summary Defined By
  NotificationHelper
Constructor Detail
NotificationHelper()Constructor
public function NotificationHelper(enforcer:SingletonEnforcer)



Parameters
enforcer:SingletonEnforcer
Method Detail
closeCurrentNotification()method
public function closeCurrentNotification():void

closeNotification()method 
public function closeNotification(notificationWindow:NotificationWindow):void

Parameters

notificationWindow:NotificationWindow

createNotification()method 
public function createNotification(notificationText:String = No NotificationText was provided, windowTitle:String = No WindowsTitle was provided, showQuit:Boolean = false, tickDownSec:Number = 0, showContinueAnyway:Boolean = false):void

Parameters

notificationText:String (default = No NotificationText was provided)
 
windowTitle:String (default = No WindowsTitle was provided)
 
showQuit:Boolean (default = false)
 
tickDownSec:Number (default = 0)
 
showContinueAnyway:Boolean (default = false)

dealloc()method 
protected function dealloc():void

getInstance()method 
public static function getInstance():NotificationHelper

Returns
NotificationHelper
init()method 
protected function init():void

Event Detail
CONTINUE_ANYWAY Event
Event Object Type: at.fhjoanneum.dmt.umj.core.events.NotificationEvent