Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ContactMapContainerClass<SS>

Container for the ContactMap, responsible for data interaction.

extends

{React.Component<IContactMapContainerProps, ContactMapContainerState>}

Type parameters

  • SS

Hierarchy

Index

Constructors

constructor

Properties

Protected bioblocksHooks

bioblocksHooks: IBioblocksHookDict

Protected datasets

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

state

state: ContactMapContainerState = initialContactMapContainerState

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

getComponentBioblocksHooks

Protected getConfigs

getDatasets

getLoadingStatus

Protected getPredictedFilters

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 haveSettingsUpdated

onLinearDistFilterChange

  • onLinearDistFilterChange(): (Anonymous function)

onMinimumProbabilityChange

  • onMinimumProbabilityChange(): (Anonymous function)

onNumPredictionsToShowChange

  • onNumPredictionsToShowChange(): (Anonymous function)

registerDataset

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

render

  • render(): Element

Protected setupData

  • setupData(isNewData: boolean): 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

addHoveredResidues

addHoveredResidues: EMPTY_FUNCTION = EMPTY_FUNCTION

addHoveredSecondaryStructure

addHoveredSecondaryStructure: EMPTY_FUNCTION = EMPTY_FUNCTION

addSelectedSecondaryStructure

addSelectedSecondaryStructure: EMPTY_FUNCTION = EMPTY_FUNCTION

agreementColor

agreementColor: string = "#ff0000"

allColor

allColor: string = "#000000"

filters

filters: never[] = []

height

height: string = "100%"

highlightColor

highlightColor: string = "#ff8800"

isDataLoading

isDataLoading: boolean = false

observedColor

observedColor: string = "#0000ff"

onBoxSelection

onBoxSelection: EMPTY_FUNCTION = EMPTY_FUNCTION

removeAllLockedResiduePairs

removeAllLockedResiduePairs: EMPTY_FUNCTION = EMPTY_FUNCTION

removeAllSelectedSecondaryStructures

removeAllSelectedSecondaryStructures: EMPTY_FUNCTION = EMPTY_FUNCTION

removeHoveredResidues

removeHoveredResidues: EMPTY_FUNCTION = EMPTY_FUNCTION

removeHoveredSecondaryStructure

removeHoveredSecondaryStructure: EMPTY_FUNCTION = EMPTY_FUNCTION

removeSecondaryStructure

removeSecondaryStructure: EMPTY_FUNCTION = EMPTY_FUNCTION

toggleLockedResiduePair

toggleLockedResiduePair: EMPTY_FUNCTION = EMPTY_FUNCTION

width

width: string = "100%"

data

data: object

couplingScores

couplingScores: CouplingContainer = new CouplingContainer()

secondaryStructures

secondaryStructures: Bioblocks1DSection<"C" | "E" | "G" | "H" | "I" | "S" | "T" | "B">[][] = new Array<SECONDARY_STRUCTURE>()

Generated using TypeDoc