| Package | com.jadbox.flashmvc |
| Class | public class SuperModelEvent |
| Inheritance | SuperModelEvent flash.events.Event |
| Property | Defined by | ||
|---|---|---|---|
| name : String | SuperModelEvent | ||
| result : Object | SuperModelEvent | ||
| status : Boolean | SuperModelEvent | ||
| Method | Defined by | ||
|---|---|---|---|
|
SuperModelEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
| SuperModelEvent | ||
|
clone():Event
| SuperModelEvent | ||
|
toString():String
| SuperModelEvent | ||
| Constant | Defined by | ||
|---|---|---|---|
| ACTION_ADD_REMOVE : String = "actionAddRemove" [static]
e.name is the action class name and e.status is true/false if it has been added or just removed from the SuperModel
SuperModel had a variable change from a performing controller (e.name is the var name)
| SuperModelEvent | ||
| ACTION_COMPLETE : String = "actionComplete" [static]
Dispatched once an action on the SuperModel has finished performing and compeleted.
| SuperModelEvent | ||
| ACTION_ENABLED_CHANGE : String = "actionEnabledChange" [static]
Dispatched when a action controller is enabled or disabled
e.name is the action class name and e.status is true/false if it has been enabled or disabled
| SuperModelEvent | ||
| MODEL_PERFORMING : String = "modelPerforming" [static]
SuperModel is either performing something or not (e.status true/false)
| SuperModelEvent | ||
| MODEL_UPATED : String = "modelUpdated" [static]
Dispatched when a variable has been updated in the SuperModel
| SuperModelEvent | ||
| name | property |
public var name:String
| result | property |
public var result:Object
| status | property |
public var status:Boolean
| SuperModelEvent | () | constructor |
public function SuperModelEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)Parameters
type:String |
|
bubbles:Boolean (default = false) |
|
cancelable:Boolean (default = false) |
| clone | () | method |
public override function clone():Event
Returns
Event |
| toString | () | method |
public override function toString():String
Returns
String |
| ACTION_ADD_REMOVE | constant |
public static const ACTION_ADD_REMOVE:String = "actionAddRemove"e.name is the action class name and e.status is true/false if it has been added or just removed from the SuperModel SuperModel had a variable change from a performing controller (e.name is the var name)
| ACTION_COMPLETE | constant |
public static const ACTION_COMPLETE:String = "actionComplete"Dispatched once an action on the SuperModel has finished performing and compeleted. e.name is the action class name e.result is the result object that the action class can set e.status if the command completed successfully. 0 is actionHelper.fail() and 1 is actionHelper.complete()
| ACTION_ENABLED_CHANGE | constant |
public static const ACTION_ENABLED_CHANGE:String = "actionEnabledChange"Dispatched when a action controller is enabled or disabled e.name is the action class name and e.status is true/false if it has been enabled or disabled
| MODEL_PERFORMING | constant |
public static const MODEL_PERFORMING:String = "modelPerforming"SuperModel is either performing something or not (e.status true/false)
| MODEL_UPATED | constant |
public static const MODEL_UPATED:String = "modelUpdated"Dispatched when a variable has been updated in the SuperModel