Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AssemblyView<SS>

Type parameters

  • SS

Hierarchy

Implements

Index

Constructors

constructor

Properties

Private OPERATOR_DROPDOWN_TITLE

OPERATOR_DROPDOWN_TITLE: string = "Symmetry Partner"

Private Readonly assemblyModelSate

assemblyModelSate: AssemblyModelSate = new AssemblyModelSate()

Private boardConfig

boardConfig: Partial<RcsbFvBoardConfigInterface>

Protected Readonly componentDivId

componentDivId: string

Private createComponentThreshold

createComponentThreshold: number = 3

Private currentSelectedComponentId

currentSelectedComponentId: string

Private innerSelectionFlag

innerSelectionFlag: boolean = false

Protected Readonly rcsbFvDivId

rcsbFvDivId: string

Private rcsbFvModule

rcsbFvModule: RcsbFvModulePublicInterface | null

Methods

Optional UNSAFE_componentWillMount

  • UNSAFE_componentWillMount(): void

Optional UNSAFE_componentWillReceiveProps

Optional UNSAFE_componentWillUpdate

Private addOperatorButton

  • addOperatorButton(operatorName?: undefined | string): void
  • Parameters

    • Optional operatorName: undefined | string

    Returns void

additionalContent

  • additionalContent(): Element

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

Optional componentDidUpdate

Optional componentWillMount

  • componentWillMount(): void

Optional componentWillReceiveProps

componentWillUnmount

  • componentWillUnmount(): void

Optional componentWillUpdate

Private elementClickCallback

  • elementClickCallback(e: RcsbFvTrackDataElementInterface): void
  • Parameters

    • e: RcsbFvTrackDataElementInterface

    Returns void

Private filterFeatures

  • filterFeatures(data: { annotations: Array<AnnotationFeatures>; rcsbContext: Partial<PolymerEntityInstanceInterface> }): Promise<Array<AnnotationFeatures>>
  • Parameters

    • data: { annotations: Array<AnnotationFeatures>; rcsbContext: Partial<PolymerEntityInstanceInterface> }
      • annotations: Array<AnnotationFeatures>
      • rcsbContext: Partial<PolymerEntityInstanceInterface>

    Returns Promise<Array<AnnotationFeatures>>

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

Private highlightHoverCallback

  • highlightHoverCallback(selection: RcsbFvTrackDataElementInterface[]): void
  • Parameters

    • selection: RcsbFvTrackDataElementInterface[]

    Returns void

Private instanceChangeCallback

  • instanceChangeCallback(): Promise<void>
  • Returns Promise<void>

modelChangeCallback

  • modelChangeCallback(modelMap: SaguaroPluginModelMapType, defaultAuthId?: undefined | string, defaultOperatorName?: undefined | string): Promise<void>
  • Parameters

    • modelMap: SaguaroPluginModelMapType
    • Optional defaultAuthId: undefined | string
    • Optional defaultOperatorName: undefined | string

    Returns Promise<void>

Private pluginSelectCallback

  • pluginSelectCallback(mode: "select" | "hover"): Promise<void>
  • Parameters

    • mode: "select" | "hover"

    Returns Promise<void>

render

  • render(): Element
  • Returns Element

representationChangeCallback

  • representationChangeCallback(): void

Private resetPluginView

  • resetPluginView(): void
  • Returns void

Private select

  • select(selection: Array<RcsbFvTrackDataElementInterface>): void
  • Parameters

    • selection: Array<RcsbFvTrackDataElementInterface>

    Returns void

Private selectionChangeCallback

  • selectionChangeCallback(selection: Array<RcsbFvTrackDataElementInterface>): void
  • Parameters

    • selection: Array<RcsbFvTrackDataElementInterface>

    Returns 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

structureHoverCallback

  • structureHoverCallback(): Promise<void>

structureSelectionCallback

  • structureSelectionCallback(): Promise<void>

Private unmountRcsbFv

  • unmountRcsbFv(): void
  • Returns void

updateDimensions

  • updateDimensions(): Promise<void>

Generated using TypeDoc