Package | org.ow2.kerneos.core.model |
Class | public class ModulesState |
Inheritance | ModulesState ![]() |
Implements | flash.events.IEventDispatcher |
Property | Defined By | ||
---|---|---|---|
IDLE : String [static]
Initial state. | ModulesState | ||
LOAD : String [static]
When load the modules. | ModulesState | ||
LOADED : String [static]
When the modules are loaded. | ModulesState | ||
staticEventDispatcher : IEventDispatcher [static] [read-only] | ModulesState | ||
UNLOAD : String [static]
When unload the modules. | ModulesState |
Method | Defined By | ||
---|---|---|---|
Constructor
| ModulesState | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void | ModulesState | ||
dispatchEvent(event:Event):Boolean | ModulesState | ||
hasEventListener(type:String):Boolean | ModulesState | ||
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void | ModulesState | ||
willTrigger(type:String):Boolean | ModulesState |
IDLE | property |
IDLE:String
Initial state.
This property can be used as the source for data binding.
public static function get IDLE():String
public static function set IDLE(value:String):void
LOAD | property |
LOAD:String
When load the modules.
This property can be used as the source for data binding.
public static function get LOAD():String
public static function set LOAD(value:String):void
LOADED | property |
LOADED:String
When the modules are loaded.
This property can be used as the source for data binding.
public static function get LOADED():String
public static function set LOADED(value:String):void
staticEventDispatcher | property |
staticEventDispatcher:IEventDispatcher
[read-only] public static function get staticEventDispatcher():IEventDispatcher
UNLOAD | property |
UNLOAD:String
When unload the modules.
This property can be used as the source for data binding.
public static function get UNLOAD():String
public static function set UNLOAD(value:String):void
ModulesState | () | Constructor |
public function ModulesState()
Constructor
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 |
Boolean |
hasEventListener | () | method |
public function hasEventListener(type:String):Boolean
Parameters
type:String |
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 |
Boolean |