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 FormatColumnApi

Methods

addFormatColumn

  • addFormatColumn(column: string, style: IStyle): 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

deleteAllFormatColumn

  • deleteAllFormatColumn(): void

deleteFormatColumn

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

getAllFormatColumn

getBlotterState

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

    This is a simple getState() call

    Returns AdaptableBlotterState

getFormatColumnState

updateFormatColumn

  • updateFormatColumn(column: string, style: IStyle): void

Generated using TypeDoc