dundas.view.ChangeLayerAction Class

 

Inheritance Hierarchy

 
Class
   dundas.view.Action
      dundas.view.ChangeLayerAction
 

Constructors

 
  Name Description
init Initializes the ChangeLayerAction. 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.
boundVisual Gets or sets the bound visual for this action. This is used by the adapter to identify what item this data action should fire for. For example, 'Series1'. This might not be set (if the metric set binding alone is enough to identify).
friendlyName Gets or sets the friendly name of this action which is what is shown to the end user. Inherited from dundas.view.Action.
hideAdapterIds Gets or sets the IDs of the adapters to hide.
hideLayerId Gets or sets the ID of the layer to hide. This property is now obsolete and hideLayerIds should be used instead.
hideLayerIds Gets or sets the IDs of the layers to hide.
id Gets or sets the ID of this action. Inherited from dundas.view.Action.
isToggle Gets or sets a value indicating whether this action will toggle the selected shown layers and adapters or not.
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.
showAdapterIds Gets or sets the IDs of the adapters to show.
showLayerId Gets or sets the ID of the layer to show. This property is now obsolete and showLayerIds should be used instead.
showLayerIds Gets or sets the IDs of the layers to show.
 
 

Methods

 
  Name Description
checkNameGeneration Since generating names is expensive, it should be done only on-demand. Inherited from dundas.view.Action.
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.