| Package | com.jadbox.flashmvc2 |
| Class | public class SuperEvent |
| Property | Defined by | ||
|---|---|---|---|
| actionRef : Class | SuperEvent | ||
| _actionRef : Class [read-only]
| SuperEvent | ||
| BUSY : String = "busy" [static]
Action is working
| SuperEvent | ||
| COMPLETE : String = "complete" [static]
The action has completed (whether successful or not)
| SuperEvent | ||
| _data : Array | SuperEvent | ||
| DISABLED : String = "disabled" [static]
Action is disabled
| SuperEvent | ||
| ENABLED : String = "enabled" [static]
Action is enabled
| SuperEvent | ||
| events : EventDispatcher | SuperEvent | ||
| FREE : String = "free" [static]
Action is no longer working
| SuperEvent | ||
| onComplete : Function | SuperEvent | ||
| response : *
A variable to hold a generic value for non-extended SuperEvents.
| SuperEvent | ||
| successful : Boolean = true
True if the command finished in a successful way.
| SuperEvent | ||
| __superModel : SuperModel | SuperEvent | ||
| _superModel : SuperModel
[read-only]
Reference to the SuperModel that this class is hooked to by SuperAction.
| SuperEvent | ||
| working : Boolean | SuperEvent | ||
| Method | Defined by | ||
|---|---|---|---|
|
SuperEvent(... REST)
Constructor.
| SuperEvent | ||
|
complete(success:Boolean):void
The action class calls this method to finish/close the class.
| SuperEvent | ||
| actionRef | property |
public var actionRef:Class
| _actionRef | property |
_actionRef:Class [read-only]Implementation
public function get _actionRef():Class
| BUSY | property |
public static var BUSY:String = "busy"Action is working
| COMPLETE | property |
public static var COMPLETE:String = "complete"The action has completed (whether successful or not)
| _data | property |
public var _data:Array
| DISABLED | property |
public static var DISABLED:String = "disabled"Action is disabled
| ENABLED | property |
public static var ENABLED:String = "enabled"Action is enabled
| events | property |
public var events:EventDispatcher
| FREE | property |
public static var FREE:String = "free"Action is no longer working
| onComplete | property |
public var onComplete:Function
| response | property |
public var response:*A variable to hold a generic value for non-extended SuperEvents.
| successful | property |
public var successful:Boolean = trueTrue if the command finished in a successful way.
| __superModel | property |
public var __superModel:SuperModel
| _superModel | property |
_superModel:SuperModel [read-only]Reference to the SuperModel that this class is hooked to by SuperAction. Use this to set global properties.
Implementation public function get _superModel():SuperModel
| working | property |
public var working:Boolean
| SuperEvent | () | constructor |
public function SuperEvent(... REST)Constructor. This class should be extended for every action class.
Parameters... REST — This parameter gets passed the extended class's parameters.
|
| complete | () | method |
public function complete(success:Boolean):voidThe action class calls this method to finish/close the class. This method must be called at the once the class is done.
Parameterssuccess:Boolean — This tells SuperAction and SuperEvent if this action was successful.
|