Package | at.fhjoanneum.dmt.umj.core.controllers |
Class | public class BaseApplicationController |
Inheritance | BaseApplicationController mx.core.UIComponent |
Property | Defined By | ||
---|---|---|---|
allowBasicScreenOperations : Boolean [static] [read-only] | BaseApplicationController | ||
allPhasesFinished : Boolean [static] [read-only]
true if all startup phases have finished
| BaseApplicationController | ||
globalKeyboardListenersForAdministrationAllowed : Boolean [static] [read-only] | BaseApplicationController | ||
keyBindingsForAdministrationUI : String [static] | BaseApplicationController | ||
preloaderFinishesOnlyAfterMediaHasBeenLoaded : Boolean [static] [read-only] | BaseApplicationController | ||
startupPhasesFinished : Boolean [static] [read-only] | BaseApplicationController | ||
staticEventDispatcher : IEventDispatcher [static] [read-only] | BaseApplicationController |
Property | Defined By | ||
---|---|---|---|
_allPhasesFinished : Boolean = false [static] | BaseApplicationController | ||
appConfig : AppConfig | BaseApplicationController | ||
appContent : AppContent | BaseApplicationController | ||
appContentBundle : AppContentBundle | BaseApplicationController | ||
appPresentationContent : AppPresentationContent | BaseApplicationController | ||
displayController : BaseDisplayController | BaseApplicationController | ||
_displayFinished : Boolean = false [static] | BaseApplicationController | ||
globalExceptionHelper : GlobalExceptionHelper | BaseApplicationController | ||
interfaceDispatcher : InterfaceDispatcher | BaseApplicationController | ||
interfaceMonitor : InterfaceMonitor | BaseApplicationController | ||
_startupPhasesFinished : Boolean = false [static] | BaseApplicationController | ||
timingUtil : TimingUtil | BaseApplicationController | ||
xmlUtil : XMLUtil | BaseApplicationController |
Method | Defined By | ||
---|---|---|---|
BaseApplicationController(linkedStageContainer:Group, preloaderFinishesWhenAllMediaHasBeenLoaded:Boolean = false, allowScreenOperations:Boolean = true, globalListenersAllowed:Boolean = true)
The Base-Contructor of this Controller. | BaseApplicationController |
Method | Defined By | ||
---|---|---|---|
phase0a_initSpecificApplicationDefinitions(linkedStageContainer:Group):void
phase 0 can and should be overridden and its method should initialize all baseapplication variable by its own special application specific variables
override this function to hand over your OWN Application Specific Objects to the Base Controller. | BaseApplicationController | ||
phase1_completeConfig(event:AppConfigEvent):void | BaseApplicationController | ||
phase1_errorConfig(event:AppConfigEvent):void | BaseApplicationController | ||
phase1_initConfig():void
phase 1 inits the config through the constant default path found in AppConfig
| BaseApplicationController | ||
phase2a_completeContent(event:AppContentEvent):void | BaseApplicationController | ||
phase2a_errorContent(event:AppContentEvent):void | BaseApplicationController | ||
phase2a_initContent():void
phase 2a inits the standard and default appContent at the default path specified in AppConfig
| BaseApplicationController | ||
phase2b_completePresentationContent(event:AppContentEvent):void | BaseApplicationController | ||
phase2b_errorPresentationContent(event:AppContentEvent):void | BaseApplicationController | ||
phase 2b appPresentationContent if configured in AppConfig
| BaseApplicationController | ||
phase2c_completeContentBundle(event:AppContentEvent):void | BaseApplicationController | ||
phase2c_errorContentBundle(event:AppContentEvent):void | BaseApplicationController | ||
phase2c_initAppContentBundle():void
phase 2c appContentBundle if configured in AppConfig
| BaseApplicationController | ||
phase3_initMedia():void
phase 3 builds all media components from that were initialized in appContent, appContentBundle and appPresentationContent
| BaseApplicationController | ||
phase4_initInterfaces():void
phase 4 inits all interfaces that are enabled via AppConfig through the interfaceMonitor
| BaseApplicationController | ||
phase5_initDisplay():void
phase 5 inits displaycontroller, sets startupScreenMode and displayController.builds it
| BaseApplicationController | ||
phase6_applicationComplete():void
phase 6 inits timing and links with display, interfaces, keylisteners and log. | BaseApplicationController | ||
Override this function to add specific behaviour after startup procedures complete. | BaseApplicationController |
_allPhasesFinished | property |
protected static var _allPhasesFinished:Boolean = false
_displayFinished | property |
protected static var _displayFinished:Boolean = false
_startupPhasesFinished | property |
protected static var _startupPhasesFinished:Boolean = false
allowBasicScreenOperations | property |
allowBasicScreenOperations:Boolean
[read-only] public static function get allowBasicScreenOperations():Boolean
allPhasesFinished | property |
allPhasesFinished:Boolean
[read-only] true if all startup phases have finished
public static function get allPhasesFinished():Boolean
appConfig | property |
protected var appConfig:AppConfig
appContent | property |
protected var appContent:AppContent
appContentBundle | property |
protected var appContentBundle:AppContentBundle
appPresentationContent | property |
protected var appPresentationContent:AppPresentationContent
displayController | property |
protected var displayController:BaseDisplayController
globalExceptionHelper | property |
protected var globalExceptionHelper:GlobalExceptionHelper
globalKeyboardListenersForAdministrationAllowed | property |
globalKeyboardListenersForAdministrationAllowed:Boolean
[read-only] public static function get globalKeyboardListenersForAdministrationAllowed():Boolean
interfaceDispatcher | property |
protected var interfaceDispatcher:InterfaceDispatcher
interfaceMonitor | property |
protected var interfaceMonitor:InterfaceMonitor
keyBindingsForAdministrationUI | property |
keyBindingsForAdministrationUI:String
This property can be used as the source for data binding.
public static function get keyBindingsForAdministrationUI():String
public static function set keyBindingsForAdministrationUI(value:String):void
preloaderFinishesOnlyAfterMediaHasBeenLoaded | property |
preloaderFinishesOnlyAfterMediaHasBeenLoaded:Boolean
[read-only] public static function get preloaderFinishesOnlyAfterMediaHasBeenLoaded():Boolean
startupPhasesFinished | property |
startupPhasesFinished:Boolean
[read-only] public static function get startupPhasesFinished():Boolean
staticEventDispatcher | property |
staticEventDispatcher:IEventDispatcher
[read-only] public static function get staticEventDispatcher():IEventDispatcher
timingUtil | property |
protected var timingUtil:TimingUtil
xmlUtil | property |
protected var xmlUtil:XMLUtil
BaseApplicationController | () | Constructor |
public function BaseApplicationController(linkedStageContainer:Group, preloaderFinishesWhenAllMediaHasBeenLoaded:Boolean = false, allowScreenOperations:Boolean = true, globalListenersAllowed:Boolean = true)
The Base-Contructor of this Controller. It awaits a empty spark s:GROUP in his constructor that has been added to your MAIN stage or mxmal markup (via ID). Make sure the referenced group is 100% height and width enabled. It's extremely important to call super() at the beginning of your own implementation so this constructor its behaviour and the startupphases... HENCE: This Contructor calls the 1.startup phase at its implmentation end - phase0 and phase0a are called automatically within to initialize the environment.
ParameterslinkedStageContainer:Group | |
preloaderFinishesWhenAllMediaHasBeenLoaded:Boolean (default = false )
| |
allowScreenOperations:Boolean (default = true )
| |
globalListenersAllowed:Boolean (default = true )
|
phase0a_initSpecificApplicationDefinitions | () | method |
protected function phase0a_initSpecificApplicationDefinitions(linkedStageContainer:Group):void
phase 0 can and should be overridden and its method should initialize all baseapplication variable by its own special application specific variables override this function to hand over your OWN Application Specific Objects to the Base Controller. mostly you we will use a application specific implementation for your display displaycontroller - hence override the generic displayController definition. displayController = new DisplayControllerXX(stageContainer); If you don't overwrite the others, their generic definition will be used as in UMJ-core! in most cases you won't need to override anything else but the displayController with your own implementation. Other Possible Overwrites: appConfig = AppConfigXX.getInstance(); appContent = AppContentXX.getInstance(); xmlUtil = XMLUtilXX.getInstance(); interfaceMonitor = InterfaceMonitorXX.getInstance();
Parameters
linkedStageContainer:Group |
phase1_completeConfig | () | method |
phase1_errorConfig | () | method |
phase1_initConfig | () | method |
protected function phase1_initConfig():void
phase 1 inits the config through the constant default path found in AppConfig
phase2a_completeContent | () | method |
protected function phase2a_completeContent(event:AppContentEvent):void
Parameters
event:AppContentEvent |
phase2a_errorContent | () | method |
protected function phase2a_errorContent(event:AppContentEvent):void
Parameters
event:AppContentEvent |
phase2a_initContent | () | method |
protected function phase2a_initContent():void
phase 2a inits the standard and default appContent at the default path specified in AppConfig
phase2b_completePresentationContent | () | method |
protected function phase2b_completePresentationContent(event:AppContentEvent):void
Parameters
event:AppContentEvent |
phase2b_errorPresentationContent | () | method |
protected function phase2b_errorPresentationContent(event:AppContentEvent):void
Parameters
event:AppContentEvent |
phase2b_initPresentationContent | () | method |
protected function phase2b_initPresentationContent():void
phase 2b appPresentationContent if configured in AppConfig
phase2c_completeContentBundle | () | method |
protected function phase2c_completeContentBundle(event:AppContentEvent):void
Parameters
event:AppContentEvent |
phase2c_errorContentBundle | () | method |
protected function phase2c_errorContentBundle(event:AppContentEvent):void
Parameters
event:AppContentEvent |
phase2c_initAppContentBundle | () | method |
protected function phase2c_initAppContentBundle():void
phase 2c appContentBundle if configured in AppConfig
phase3_initMedia | () | method |
protected function phase3_initMedia():void
phase 3 builds all media components from that were initialized in appContent, appContentBundle and appPresentationContent
phase4_initInterfaces | () | method |
protected function phase4_initInterfaces():void
phase 4 inits all interfaces that are enabled via AppConfig through the interfaceMonitor
phase5_initDisplay | () | method |
protected function phase5_initDisplay():void
phase 5 inits displaycontroller, sets startupScreenMode and displayController.builds it
phase6_applicationComplete | () | method |
protected function phase6_applicationComplete():void
phase 6 inits timing and links with display, interfaces, keylisteners and log.
phase6a_specificApplicationComplete | () | method |
protected function phase6a_specificApplicationComplete():void
Override this function to add specific behaviour after startup procedures complete.