Skip to main content
Pentaho Documentation

action

pentaho.visual. action

The action namespace contains the standard action types used by visualizations.

Source: doc-js/pentaho/visual/action/_namespace.jsdoc, line 16

Child Namespaces

Name Summary
spec

The visual.action.spec namespace contains specification interfaces and type definitions.

Classes

Name Summary
Base

The visual.action.Base class is the base class of the actions defined by the Visualization API.

BaseType

The type class of pentaho.visual.action.Base.

Execute

The Execute action is a synchronous, data and positioned action that is performed when the user interacts with a visual element, typically by double clicking it.

ExecuteType

The type class of pentaho.visual.action.Execute.

Select

The Select action is a synchronous, data and positioned action that is performed when the user interacts with a visual element, typically by clicking on it.

SelectType

The type class of pentaho.visual.action.Select.

Update

The visual.action.Update class is the class of actions which represent a View being updated.

UpdateType

The type class of the update action.

Members

Name Description
SelectionModes : function

The SelectionModes enumeration contains the collection of standard selection mode functions.

Members Details

SelectionModes: function

The SelectionModes enumeration contains the collection of standard selection mode functions.

Properties:
Name Default Value Description
replace : function function

Replaces the current selection filter with the provided filter.

toggle : function function

Adds the input filter to the current selection filter, if it is not already fully contained within the selection filter. Otherwise, removes the input filter from the current selection filter.

add : function function

Adds the input filter to the current selection filter.

remove : function function

Removes the input filter from the current selection filter.

Source: javascript/web/pentaho/visual/action/SelectionModes.js, line 36

Type Definitions

SelectionMode(current, input) : pentaho.data.filter.Abstract

The selection mode is a function that determines how the selection made by the user, contained in dataFilter, is merged with the view's current selection, selectionFilter.

The selection mode function is called with a this context being the target view.

Source: doc-js/pentaho/visual/action/SelectionMode.jsdoc, line 17

Parameters:
Name Default Value Summary
current : pentaho.data.filter.Abstract

The view's current selection filter.

input : pentaho.data.filter.Abstract

The user input data filter.

Returns:
Name Description
pentaho.data.filter.Abstract

The resulting filter.