Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AnatomogramContainerClass<SS>

Type parameters

  • SS

Hierarchy

Index

Constructors

constructor

Properties

Protected bioblocksHooks

bioblocksHooks: IBioblocksHookDict

Protected datasets

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

Protected divRef

divRef: HTMLDivElement | null = null

Static displayName

displayName: string = "Anatomogram"

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

Optional componentDidMount

  • componentDidMount(): void
  • Called immediately after a component is mounted. Setting state here will trigger re-rendering.

    Returns void

componentDidUpdate

Optional componentWillMount

  • componentWillMount(): void

Optional componentWillReceiveProps

componentWillUnmount

  • componentWillUnmount(): void

Optional componentWillUpdate

Protected createReducer

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

Protected deriveIdsFromSpecies

finishLoading

  • finishLoading(): void

Protected getCellToLabelTransform

getComponentBioblocksHooks

getDatasets

Protected getLabelToCellTransform

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 onClick

  • onClick(ids: string[]): void

Protected onMouseOut

  • onMouseOut(id: string): void

Protected onMouseOver

  • onMouseOver(id: string): void

Protected parseCategory

  • parseCategory(category: string): string

registerDataset

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

render

  • render(): Element

Protected resizeSVGElement

  • resizeSVGElement(error: any, svgDomNode: SVGSVGElement): void

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

iconSrc

iconSrc: string = ""

onLabelAdd

onLabelAdd: EMPTY_FUNCTION = EMPTY_FUNCTION

onLabelRemove

onLabelRemove: EMPTY_FUNCTION = EMPTY_FUNCTION

selectIds

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

species

species: "anolis_carolinensis" | "arabidopsis_thaliana" | "bos_taurus" | "brachypodium_distachyon" | "gallus_gallus" | "homo_sapiens" | "hordeum_vulgare" | "macaca_mulatta" | "monodelphis_domestica" | "mus_musculus" | "oryza_sativa" | "papio_anubis" | "rattus_norvegicus" | "solanum_lycopersicum" | "solanum_tuberosum" | "sorghum_bicolor" | "tetraodon_nigroviridis" | "triticum_aestivum" | "xenopus_tropicalis" | "zea_mays" = 'homo_sapiens' as SPECIES_TYPE

Generated using TypeDoc