Packageorg.ow2.kerneos.core.model
Classpublic class KerneosState
InheritanceKerneosState Inheritance Object
Implements flash.events.IEventDispatcher

An enumerated type representing the states of Kerneos.



Public Properties
 PropertyDefined By
  APPLICATION_LOADED : String
[static] When the config is loaded.
KerneosState
  DESKTOP : String
[static] When the desktop is displayed.
KerneosState
  ERROR : String
[static] When a fatal error is occurred.
KerneosState
  INIT : String
[static] Initial state.
KerneosState
  LOADING : String
[static] When the application is loading.
KerneosState
  LOGIN : String
[static] When the user have to login.
KerneosState
  MODULES : String
[static] When the modules are loaded or unloaded.
KerneosState
  PROFILE : String
[static] When the application is loaded.
KerneosState
  staticEventDispatcher : IEventDispatcher
[static] [read-only]
KerneosState
Public Methods
 MethodDefined By
  
Constructor
KerneosState
  
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void
KerneosState
  
dispatchEvent(event:Event):Boolean
KerneosState
  
hasEventListener(type:String):Boolean
KerneosState
  
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
KerneosState
  
willTrigger(type:String):Boolean
KerneosState
Property Detail
APPLICATION_LOADEDproperty
APPLICATION_LOADED:String

When the config is loaded.

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


Implementation
    public static function get APPLICATION_LOADED():String
    public static function set APPLICATION_LOADED(value:String):void
DESKTOPproperty 
DESKTOP:String

When the desktop is displayed.

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


Implementation
    public static function get DESKTOP():String
    public static function set DESKTOP(value:String):void
ERRORproperty 
ERROR:String

When a fatal error is occurred.

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


Implementation
    public static function get ERROR():String
    public static function set ERROR(value:String):void
INITproperty 
INIT:String

Initial state.

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


Implementation
    public static function get INIT():String
    public static function set INIT(value:String):void
LOADINGproperty 
LOADING:String

When the application is loading.

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


Implementation
    public static function get LOADING():String
    public static function set LOADING(value:String):void
LOGINproperty 
LOGIN:String

When the user have to login.

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


Implementation
    public static function get LOGIN():String
    public static function set LOGIN(value:String):void
MODULESproperty 
MODULES:String

When the modules are loaded or unloaded.

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


Implementation
    public static function get MODULES():String
    public static function set MODULES(value:String):void
PROFILEproperty 
PROFILE:String

When the application is loaded.

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


Implementation
    public static function get PROFILE():String
    public static function set PROFILE(value:String):void
staticEventDispatcherproperty 
staticEventDispatcher:IEventDispatcher  [read-only]


Implementation
    public static function get staticEventDispatcher():IEventDispatcher
Constructor Detail
KerneosState()Constructor
public function KerneosState()

Constructor

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
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