Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NGLContainerClass<SS>

Type parameters

  • SS

Hierarchy

Index

Constructors

constructor

Properties

Protected bioblocksHooks

bioblocksHooks: IBioblocksHookDict

Protected datasets

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

Methods

Optional UNSAFE_componentWillMount

  • UNSAFE_componentWillMount(): void

Optional UNSAFE_componentWillReceiveProps

  • UNSAFE_componentWillReceiveProps(nextProps: Readonly<INGLContainerProps>, nextContext: any): void

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(): Promise<void>

componentDidUpdate

Optional componentWillMount

  • componentWillMount(): void

Optional componentWillReceiveProps

  • componentWillReceiveProps(nextProps: Readonly<INGLContainerProps>, nextContext: any): void

componentWillUnmount

  • componentWillUnmount(): void

Optional componentWillUpdate

Protected createReducer

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

finishLoading

  • finishLoading(): void

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 isBioblocksPDBArrayEqual

Protected onExperimentalProteinSelect

  • onExperimentalProteinSelect(event: FormEvent<HTMLInputElement>, data: CheckboxProps): void

Protected onPredictedProteinSelect

  • onPredictedProteinSelect(event: FormEvent<HTMLInputElement>, data: CheckboxProps): void

registerDataset

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

render

  • render(): Element

Protected renderPDBSelector

  • renderPDBSelector(): Element

Protected renderPDBTable

  • renderPDBTable(data: BioblocksPDB[], pdbGroup: "experimental" | "predicted", onChange: function): Element
  • Parameters

    • data: BioblocksPDB[]
    • pdbGroup: "experimental" | "predicted"
    • onChange: function
        • (event: FormEvent<HTMLInputElement>, data: CheckboxProps): void
        • Parameters

          • event: FormEvent<HTMLInputElement>
          • data: CheckboxProps

          Returns void

    Returns Element

Protected renderPDBTableBody

Protected renderPDBTableBodyRows

Protected renderPDBTableHeader

Protected renderPDBTableRankCell

Protected renderPDBTableRankHeader

Protected renderPDBTableSequenceCell

Protected renderPDBTableSequenceHeader

  • renderPDBTableSequenceHeader(pdbGroup: string, cellStyle: BIOBLOCKS_CSS_STYLE): false | Element

Protected renderPDBTableSourceCell

Protected renderPDBTableSourceHeader

  • renderPDBTableSourceHeader(pdbGroup: string, cellStyle: BIOBLOCKS_CSS_STYLE): false | Element

Protected sequenceSimilarityPercent

  • sequenceSimilarityPercent(seqA: string, seqB: string, fractionDigits?: number): string

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

dispatchNglFetch

dispatchNglFetch: EMPTY_FUNCTION = EMPTY_FUNCTION

experimentalProteins

experimentalProteins: never[] = []

isDataLoading

isDataLoading: boolean = false

lockedResiduePairs

lockedResiduePairs: Map<string, Set<number>> = Map<string, Set<RESIDUE_TYPE>>()

maxPDBPerPopup

maxPDBPerPopup: number = 5

measuredProximity

measuredProximity: CONTACT_DISTANCE_PROXIMITY = CONTACT_DISTANCE_PROXIMITY.C_ALPHA

predictedProteins

predictedProteins: never[] = []

showConfigurations

showConfigurations: boolean = true

Generated using TypeDoc