Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Implements

Index

Constructors

constructor

  • Constructor for all the api classes which simply takes and assigns an instance of the Adaptable Blotter

    Parameters

    • blotter: IAdaptableBlotter

      the core IAdaptableBlotter object

    Returns UserInterfaceApi

Methods

addColorsToPalette

  • addColorsToPalette(colorPalette: string[]): void

addStyleClassNames

  • addStyleClassNames(styleClassNames: string[]): void

checkItemExists

  • checkItemExists(item: any, name: string, type: string): boolean
  • Base api Helper method to ensure that the Adaptable Blotter Object being used in the function is not null or undefined

    If it does not exist then we log an error and the api method should stop

    Parameters

    • item: any

      the AdaptableBlotterObject being checked

    • name: string

      the name of the object if it has one (e.g. if its a search)

    • type: string

      the actual type of the object being checked

    Returns boolean

clearColumnPermittedValues

  • clearColumnPermittedValues(column: string): void

dispatchAction

  • dispatchAction(action: Action): void
  • Base api Helper method that dispatches a Redux Action to the Store

    Parameters

    • action: Action

      the Redux Action to be dispatched

    Returns void

getAllEditLookUpColumns

getAllPermittedValues

getBlotterState

  • getBlotterState(): AdaptableBlotterState
  • Returns the entire State from the Store

    This is a simple getState() call

    Returns AdaptableBlotterState

getEditLookUpColumnForColumn

getPermittedValuesForColumn

getUserInterfaceState

isEditLookUpColumn

  • isEditLookUpColumn(columnId: string): boolean

setColorPalette

  • setColorPalette(colorPalette: string[]): void

setColumnPermittedValues

  • setColumnPermittedValues(column: string, permittedValues: string[]): void

Generated using TypeDoc