Base
pentaho.visual.action. Base
The visual.action.Base
class is the base class of the actions defined by the Visualization API.
AMD Module
require(["pentaho/visual/action/Base"], function(Base) { /* code goes here */ });
Extends
Constructor
Name | Description |
---|---|
new Base(spec) Abstract | Creates a base action instance given its specification. |
Methods
Name | Description |
---|---|
clone() : pentaho.action.Base | Creates a shallow clone of this action. |
validate() : Array.<pentaho.lang.UserError> | Determines if the given action is valid. |
Constructor Details
new Base(spec) Abstract | ||||||
---|---|---|---|---|---|---|
Creates a base action instance given its specification. Source: javascript/web/pentaho/visual/action/Base.js, line 23
|
Members Details
eventName: string |
---|
Gets the event name of the action. The default implementation returns the value of Source: javascript/web/pentaho/action/Base.js, line 82 Inherited From: pentaho.action.Base#eventName |
Methods Details
clone() : pentaho.action.Base | ||||
---|---|---|---|---|
Creates a shallow clone of this action. Source: javascript/web/pentaho/action/Base.js, line 103 Inherited From: pentaho.action.Base#clone
|
validate() : Array.<pentaho.lang.UserError> | ||||
---|---|---|---|---|
Determines if the given action is valid. The default implementation does nothing and considers the instance valid. Override to implement an action's specific validation logic. Source: javascript/web/pentaho/action/Base.js, line 94 Inherited From: pentaho.action.Base#validate
|