FlashingCellApi

View as Markdown

Flashing Cell definitions, and flashing a cell when its value changes.

TypeScript
export interface

Methods

MethodReturnsDescription
addFlashingCellDefinition(flashingCellDefinition)FlashingCellDefinitionAdds a Flashing Cell Definition to State
addFlashingCellDefinitions(flashingCellDefinitions)FlashingCellDefinition[]Adds provided Flashing Cell Definitions
clearAllFlashingCells()voidClears all Cells and Rows which have been flashed (primarily used if duration is 'Always')
deleteFlashingCellDefinition(flashingCellDefinition)voidDeletes a Flashing Cell
editFlashingCellDefinition(flashingCellDefinition)FlashingCellDefinitionEdits Flashing Cell Definition in State with given one
editFlashingCellDefinitions(flashingCellDefinitions)FlashingCellDefinition[]Edits provided Flashing Cell Definitions
findFlashingCellDefinitions(flashingCellLookupCriteria)FlashingCellDefinition[]Find all Flashing Cell Definitions which match the given criteria
getActiveFlashingCellDefinitions()FlashingCellDefinition[]Retrieves all active (non-suspended) cell Definitions in Flashing Cell State
getFlashingCellDefinitionById(id)FlashingCellDefinitionRetrieves Flashing Cell Definition by the technical ID (from FlashingCellState)
getFlashingCellDefinitionByName(name)FlashingCellDefinition | undefinedRetrieves a Flashing Cell Definition by its Name
getFlashingCellDefinitions()FlashingCellDefinition[]Retrieves all Flashing Cell Definitions in Flashing Cell State
getFlashingCellFlashTarget(flashingCellDefinition)FlashingCellDefinition['FlashTarget']Returns FlashTarget of the given Flashing Cell Definition
getFlashingCellState()FlashingCellStateRetrieves Flashing Cell section from Adaptable State
getSuspendedFlashingCellDefinitions()FlashingCellDefinition[]Retrieves all suspended Cell Definitions in Flashing Cell State
isAnyFlashingCellActive()booleanIs there any cells/rows currently being flashed
setFlashingCellDefinitions(flashingCellDefinitions)voidSets a collection of Flashing Cell Definitions into State
showFlashingCell(flashingCellToShow)voidEvaluates the given Flashing Cell Definition and flashes the correspondent cells/rows
suspendAllFlashingCellDefinition()voidSuspends all FlashingCell Definitions
suspendFlashingCellDefinition(flashingCellDefinition)FlashingCellDefinitionSuspends a Flashing Cell Definition
unSuspendAllFlashingCellDefinition()voidActivates all suspended Flashing Cell Definition
unSuspendFlashingCellDefinition(flashingCellDefinition)FlashingCellDefinitionActivates a suspended Flashing Cell Definition

Method Details

addFlashingCellDefinition

Adds a Flashing Cell Definition to State

TypeScript
addFlashingCellDefinition(flashingCellDefinition: FlashingCellDefinition): FlashingCellDefinition;
Parameters
ParameterTypeDescription
flashingCellDefinitionFlashingCellDefinitionFlashing Cell Definition to Add
Returns

The Flashing Cell Definition that was added

FlashingCellDefinition

addFlashingCellDefinitions

Adds provided Flashing Cell Definitions

TypeScript
addFlashingCellDefinitions(flashingCellDefinitions: FlashingCellDefinition[]): FlashingCellDefinition[];
Parameters
ParameterTypeDescription
flashingCellDefinitionsFlashingCellDefinition[]Flashing Cell Definition to Add
Returns

Flashing Cell Definition

FlashingCellDefinition[]

clearAllFlashingCells

Clears all Cells and Rows which have been flashed (primarily used if duration is 'Always')

TypeScript
clearAllFlashingCells(): void;
Returns

void

deleteFlashingCellDefinition

Deletes a Flashing Cell

TypeScript
deleteFlashingCellDefinition(flashingCellDefinition: FlashingCellDefinition): void;
Parameters
ParameterTypeDescription
flashingCellDefinitionFlashingCellDefinitionflashing cell to delete
Returns

void

editFlashingCellDefinition

Edits Flashing Cell Definition in State with given one

TypeScript
editFlashingCellDefinition(flashingCellDefinition: FlashingCellDefinition): FlashingCellDefinition;
Parameters
ParameterTypeDescription
flashingCellDefinitionFlashingCellDefinitionFlashing Cell Definition to Edit
Returns

flashing definition

FlashingCellDefinition

editFlashingCellDefinitions

Edits provided Flashing Cell Definitions

TypeScript
editFlashingCellDefinitions(flashingCellDefinitions: FlashingCellDefinition[]): FlashingCellDefinition[];
Parameters
ParameterTypeDescription
flashingCellDefinitionsFlashingCellDefinition[]Flashing Cell Definitions to Edit
Returns

Flashing Cell definitions

FlashingCellDefinition[]

findFlashingCellDefinitions

Find all Flashing Cell Definitions which match the given criteria

TypeScript
findFlashingCellDefinitions(flashingCellLookupCriteria: AdaptableObjectLookupCriteria): FlashingCellDefinition[];
Parameters
ParameterTypeDescription
flashingCellLookupCriteriaAdaptableObjectLookupCriterialookup criteria
Returns

The Flashing Cell Definitions that match

FlashingCellDefinition[]

getActiveFlashingCellDefinitions

Retrieves all active (non-suspended) cell Definitions in Flashing Cell State

TypeScript
getActiveFlashingCellDefinitions(): FlashingCellDefinition[];
Returns

flashing cell definitions

FlashingCellDefinition[]

getFlashingCellDefinitionById

Retrieves Flashing Cell Definition by the technical ID (from FlashingCellState)

TypeScript
getFlashingCellDefinitionById(id: FlashingCellDefinition['Uuid']): FlashingCellDefinition;
Parameters
ParameterTypeDescription
idFlashingCellDefinition['Uuid']Flashing Cell Definition Id
Returns

Flashing Cell Definition

FlashingCellDefinition

getFlashingCellDefinitionByName

Retrieves a Flashing Cell Definition by its Name

TypeScript
getFlashingCellDefinitionByName(name: string): FlashingCellDefinition | undefined;
Parameters
ParameterTypeDescription
namestringName of the Flashing Cell Definition
Returns

Flashing Cell Definition or undefined if not found

FlashingCellDefinition | undefined

getFlashingCellDefinitions

Retrieves all Flashing Cell Definitions in Flashing Cell State

TypeScript
getFlashingCellDefinitions(): FlashingCellDefinition[];
Returns

All Flashing Cell Definitions in Flashing Cell State

FlashingCellDefinition[]

getFlashingCellFlashTarget

Returns FlashTarget of the given Flashing Cell Definition

TypeScript
getFlashingCellFlashTarget(flashingCellDefinition: FlashingCellDefinition): FlashingCellDefinition['FlashTarget'];
Parameters
ParameterTypeDescription
flashingCellDefinitionFlashingCellDefinitionFlashing Cell Definition to check
Returns

FlashTarget of the given Flashing Cell Definition

FlashingCellDefinition['FlashTarget']

getFlashingCellState

Retrieves Flashing Cell section from Adaptable State

TypeScript
getFlashingCellState(): FlashingCellState;
Returns

Flashing Cell state

FlashingCellState

getSuspendedFlashingCellDefinitions

Retrieves all suspended Cell Definitions in Flashing Cell State

TypeScript
getSuspendedFlashingCellDefinitions(): FlashingCellDefinition[];
Returns

flashing cell definitions

FlashingCellDefinition[]

isAnyFlashingCellActive

Is there any cells/rows currently being flashed

TypeScript
isAnyFlashingCellActive(): boolean;
Returns

true when there any cells/rows currently being flashed

boolean

setFlashingCellDefinitions

Sets a collection of Flashing Cell Definitions into State

TypeScript
setFlashingCellDefinitions(flashingCellDefinitions: FlashingCellDefinition[]): void;
Parameters
ParameterTypeDescription
flashingCellDefinitionsFlashingCellDefinition[]Flashing Cell Definitions to Add to State
Returns

void

showFlashingCell

Evaluates the given Flashing Cell Definition and flashes the correspondent cells/rows

TypeScript
showFlashingCell(flashingCellToShow: AdaptableFlashingCell): void;
Parameters
ParameterTypeDescription
flashingCellToShowAdaptableFlashingCellFlashing Cell Definition to show
Returns

void

suspendAllFlashingCellDefinition

Suspends all FlashingCell Definitions

TypeScript
suspendAllFlashingCellDefinition(): void;
Returns

void

suspendFlashingCellDefinition

Suspends a Flashing Cell Definition

TypeScript
suspendFlashingCellDefinition(flashingCellDefinition: FlashingCellDefinition): FlashingCellDefinition;
Parameters
ParameterTypeDescription
flashingCellDefinitionFlashingCellDefinitionFlashing Cell Definition to Suspend
Returns

Flashing Cell Definition

FlashingCellDefinition

unSuspendAllFlashingCellDefinition

Activates all suspended Flashing Cell Definition

TypeScript
unSuspendAllFlashingCellDefinition(): void;
Returns

void

unSuspendFlashingCellDefinition

Activates a suspended Flashing Cell Definition

TypeScript
unSuspendFlashingCellDefinition(flashingCellDefinition: FlashingCellDefinition): FlashingCellDefinition;
Parameters
ParameterTypeDescription
flashingCellDefinitionFlashingCellDefinitionFlashing Cell Definition to Un-Suspend (activate)
Returns

Flashing Cell Definition

FlashingCellDefinition