Packageorg.ow2.kerneos.core.model
Classpublic class KerneosModelLocator
InheritanceKerneosModelLocator Inheritance Object
Implements com.adobe.cairngorm.model.ModelLocator, flash.events.IEventDispatcher

Kerneos model.



Public Properties
 PropertyDefined By
  application : ApplicationVO
The config of Kerneos.
KerneosModelLocator
  modules : ArrayCollection
The Module configurations.
KerneosModelLocator
  modulesState : String
The state of the modules.
KerneosModelLocator
  notifications : ArrayCollection
The stored notifications.
KerneosModelLocator
  state : String
The state of the application.
KerneosModelLocator
Public Methods
 MethodDefined By
  
Build a new KerneosModelLocator.
KerneosModelLocator
  
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void
KerneosModelLocator
  
dispatchEvent(event:Event):Boolean
KerneosModelLocator
  
Get the "Get Kerneos config file" delegate unique instance.
KerneosModelLocator
  
Get the "Get Modules" delegate unique instance.
KerneosModelLocator
  
[static] Get the unique instance of KerneosModelLocator.
KerneosModelLocator
  
hasEventListener(type:String):Boolean
KerneosModelLocator
  
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
KerneosModelLocator
  
willTrigger(type:String):Boolean
KerneosModelLocator
Property Detail
applicationproperty
application:ApplicationVO

The config of Kerneos.

This property can be used as the source for data binding.


Implementation
    public function get application():ApplicationVO
    public function set application(value:ApplicationVO):void
modulesproperty 
modules:ArrayCollection

The Module configurations.

This property can be used as the source for data binding.


Implementation
    public function get modules():ArrayCollection
    public function set modules(value:ArrayCollection):void
modulesStateproperty 
modulesState:String

The state of the modules.

This property can be used as the source for data binding.


Implementation
    public function get modulesState():String
    public function set modulesState(value:String):void
notificationsproperty 
notifications:ArrayCollection

The stored notifications.

This property can be used as the source for data binding.


Implementation
    public function get notifications():ArrayCollection
    public function set notifications(value:ArrayCollection):void
stateproperty 
state:String

The state of the application.

This property can be used as the source for data binding.


Implementation
    public function get state():String
    public function set state(value:String):void
Constructor Detail
KerneosModelLocator()Constructor
public function KerneosModelLocator()

Build a new KerneosModelLocator.

Method Detail
addEventListener()method
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)
 
priority:int (default = 0)
 
weakRef:Boolean (default = false)

dispatchEvent()method 
public function dispatchEvent(event:Event):Boolean

Parameters

event:Event

Returns
Boolean
getGetKerneosConfigDelegate()method 
public function getGetKerneosConfigDelegate():IGetApplicationConfigDelegate

Get the "Get Kerneos config file" delegate unique instance.

Returns
IGetApplicationConfigDelegate
getGetModulesDelegate()method 
public function getGetModulesDelegate():IGetModulesDelegate

Get the "Get Modules" delegate unique instance.

Returns
IGetModulesDelegate
getInstance()method 
public static function getInstance():KerneosModelLocator

Get the unique instance of KerneosModelLocator.

Returns
KerneosModelLocator
hasEventListener()method 
public function hasEventListener(type:String):Boolean

Parameters

type:String

Returns
Boolean
removeEventListener()method 
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)

willTrigger()method 
public function willTrigger(type:String):Boolean

Parameters

type:String

Returns
Boolean