dundas.view.ScriptAction Class

 

Inheritance Hierarchy

 
Class
   dundas.view.Action
      dundas.view.ScriptAction
 

Constructors

 
  Name Description
init Initializes the ScriptAction. Called during construction. Inherited from dundas.view.Action.
 
 

Properties

 
  Name Description
actionType Gets the type of the action. This value is used by the server to identify the brush type. This value cannot be set in JavaScript. Instead, the derived class type should be used. Inherited from dundas.view.Action.
friendlyName Gets or sets the friendly name of this action which is what is shown to the end user. Inherited from dundas.view.Action.
id Gets or sets the ID of this action. Inherited from dundas.view.Action.
name Gets or sets the name of this action for script, which may change, but must be unique within the other actions on the adapter property. Inherited from dundas.view.Action.
script Gets or sets the script that should be run when this action is executed.
 
 

Methods

 
  Name Description
checkNameGeneration Since generating names is expensive, it should be done only on-demand. Inherited from dundas.view.Action.

Static
createScriptEventArgs Creates the event arguments object for a script.
execute Executes the action. Implementers of this method should call this._super() first to get the deferred object to return. Inherited from dundas.view.Action.
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.