Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CustomView<SS>

Type parameters

  • SS

Hierarchy

Implements

Index

Constructors

constructor

Properties

Private blockMap

blockMap: Map<string, Array<string>> = new Map<string, Array<string>>()

Private blockViewSelector

blockViewSelector: BlockSelectorManager = new BlockSelectorManager( this.blockChange.bind(this) )

Private boardMap

boardMap: Map<string, FeatureViewInterface> = new Map<string, FeatureViewInterface>()

Protected Readonly componentDivId

componentDivId: string

Private firstModelLoad

firstModelLoad: boolean = true

Private innerSelectionFlag

innerSelectionFlag: boolean = false

Protected Readonly rcsbFvDivId

rcsbFvDivId: string

Private rcsbFvMap

rcsbFvMap: Map<string, RcsbFv> = new Map<string, RcsbFv>()

Methods

Optional UNSAFE_componentWillMount

  • UNSAFE_componentWillMount(): void

Optional UNSAFE_componentWillReceiveProps

Optional UNSAFE_componentWillUpdate

additionalContent

  • additionalContent(): Element

Private blockChange

  • blockChange(): void
  • Returns void

Private buildBlockFv

  • buildBlockFv(): void
  • Returns 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

Optional componentDidUpdate

Optional componentWillMount

  • componentWillMount(): void

Optional componentWillReceiveProps

componentWillUnmount

  • componentWillUnmount(): void

Optional componentWillUpdate

Optional getSnapshotBeforeUpdate

Private mapBlocks

modelChangeCallback

render

  • render(): Element
  • Returns Element

representationChangeCallback

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

structureSelectionCallback

  • structureSelectionCallback(): void

Private unmountBlockFv

  • unmountBlockFv(): void
  • Returns void

updateDimensions

  • updateDimensions(): void

Object literals

Readonly state

state: object

blockChangeCallback

blockChangeCallback: undefined | ((plugin: SaguaroPluginPublicInterface, pfvList: Array<RcsbFv>, selection: RcsbFvSelectorManager) => void) = this.props.blockChangeCallback

blockConfig

blockConfig: FeatureBlockInterface | FeatureBlockInterface[] = this.props.blockConfig

blockSelectorElement

blockSelectorElement: undefined | ((blockSelector: BlockSelectorManager) => Element) = this.props.blockSelectorElement

Generated using TypeDoc