Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SpringContainerClass<SS>

Type parameters

  • SS

Hierarchy

Index

Constructors

constructor

Properties

Protected bioblocksHooks

bioblocksHooks: IBioblocksHookDict

Protected datasets

datasets: Set<Dataset> = Set<Dataset>()

Static displayName

displayName: string = "SPRING"

Methods

Optional UNSAFE_componentWillMount

  • UNSAFE_componentWillMount(): void

Optional UNSAFE_componentWillReceiveProps

Optional UNSAFE_componentWillUpdate

addBioblocksHook

  • addBioblocksHook<T>(name: string, cb: function): void

Optional componentDidCatch

  • componentDidCatch(error: Error, errorInfo: ErrorInfo): void
  • Catches exceptions generated in descendant components. Unhandled exceptions will cause the entire component tree to unmount.

    Parameters

    • error: Error
    • errorInfo: ErrorInfo

    Returns void

componentDidMount

  • componentDidMount(): void

componentDidUpdate

Optional componentWillMount

  • componentWillMount(): void

Optional componentWillReceiveProps

componentWillUnmount

  • componentWillUnmount(): void

Optional componentWillUpdate

Protected createReducer

  • createReducer<T>(datasetName: string, defaultValue: T, namespace?: string): void

finishLoading

  • finishLoading(): void

Protected generateSpringURL

  • generateSpringURL(dataset: string): string

getComponentBioblocksHooks

getDatasets

getLoadingStatus

Optional getSnapshotBeforeUpdate

  • Runs before React applies the result of render to the document, and returns an object to be given to componentDidUpdate. Useful for saving things such as scroll position before render causes changes to it.

    Note: the presence of getSnapshotBeforeUpdate prevents any of the deprecated lifecycle events from running.

    Parameters

    Returns SS | null

Protected onReady

  • onReady(): void

Protected onReceiveMessage

registerDataset

  • registerDataset<T>(name: string, defaultValue?: T, namespace?: string): void

render

  • render(): Element

setupDataServices

  • setupDataServices(): void

Optional shouldComponentUpdate

  • Called to determine whether the change in props and state should trigger a re-render.

    Component always returns true. PureComponent implements a shallow comparison on props and state and returns true if any props or states have changed.

    If false is returned, Component#render, componentWillUpdate and componentDidUpdate will not be called.

    Parameters

    Returns boolean

teardown

  • teardown(): void

Static getActiveBioblocksVisualizations

Object literals

Static defaultProps

defaultProps: object

categories

categories: Set<string> = Set<string>()

currentCells

currentCells: Set<number> = Set<number>()

datasetLocation

datasetLocation: string = "../datasets/hpc/full"

datasetsURI

datasetsURI: string = ""

dispatchSpringFetch

dispatchSpringFetch: EMPTY_FUNCTION = EMPTY_FUNCTION

headerHeight

headerHeight: number = 0

isFullPage

isFullPage: boolean = false

padding

padding: number = 0

selectedCategory

selectedCategory: string = ""

setCurrentCategory

setCurrentCategory: EMPTY_FUNCTION = EMPTY_FUNCTION

setCurrentCells

setCurrentCells: EMPTY_FUNCTION = EMPTY_FUNCTION

springHeight

springHeight: number = 1150

springSrc

springSrc: string = `${window.location.origin}/${window.location.pathname.substr(0,window.location.pathname.lastIndexOf('/'),)}/SPRING/springViewer.html`

springWidth

springWidth: number = 1150

springGraphData

springGraphData: object

links

links: ISpringLink[] = new Array<ISpringLink>()

nodes

nodes: ISpringNode[] = new Array<ISpringNode>()

Generated using TypeDoc