Packagecom.vmware.actionsfw.events
Classpublic class ActionInvocationEvent
InheritanceActionInvocationEvent Inheritance flash.events.Event

Event that represents the invocation of an action.

When an action is invoked by the Action Framework this event will be raised on the event bus. The type of the event indicates the uid of the action that was invoked.

The event should be handled by a method annotated with the [RequestHandler] tag. The class responsible for supplying this method is the one indicated by the command property of the ActionSpec that specifies the action being invoked.

See also

com.vmware.actionsfw.ActionSpec


Public Properties
 PropertyDefined By
  argument : Object
An optional argument that is populated by the Action Framework under specific circumstances.
ActionInvocationEvent
  context : ActionContext
The context to invoke the action on.
ActionInvocationEvent
Public Methods
 MethodDefined By
  
ActionInvocationEvent(type:String, context:ActionContext, argument:Object = null)
ActionInvocationEvent
  
clone():Event
[override]
ActionInvocationEvent
Property Detail
argumentproperty
public var argument:Object

An optional argument that is populated by the Action Framework under specific circumstances.

Other systems that leverage the Action Framework should document if and how they use this property.

contextproperty 
public var context:ActionContext

The context to invoke the action on.

Constructor Detail
ActionInvocationEvent()Constructor
public function ActionInvocationEvent(type:String, context:ActionContext, argument:Object = null)

Parameters
type:String — The type of the ActionInvocationEvent. This is set to the uid of the action being invoked.
 
context:ActionContext — The context to invoke the action on.
 
argument:Object (default = null)
Method Detail
clone()method
override public function clone():Event

Returns
Event