Skip to main content

Class: WeightBalancePaneViewEstimatedWeight

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/WeightBalancePane/WeightBalancePaneViewEstimatedWeight.tsx:41

An estimated weight panel for the weight and balance pane.

Extends​

Implements​

Constructors​

Constructor​

new WeightBalancePaneViewEstimatedWeight(props): WeightBalancePaneViewEstimatedWeight

Defined in: src/sdk/components/FSComponent.ts:76

Creates an instance of a DisplayComponent.

Parameters​

ParameterTypeDescription
propsWeightBalancePaneViewEstimatedWeightPropsThe propertis of the component.

Returns​

WeightBalancePaneViewEstimatedWeight

Inherited from​

DisplayComponent.constructor

Properties​

context?​

optional context: [] = undefined

Defined in: src/sdk/components/FSComponent.ts:67

The context on this component, if any.

Implementation of​

WeightBalancePaneViewPanel.context

Inherited from​

DisplayComponent.context


contextType?​

readonly optional contextType: readonly [] = undefined

Defined in: src/sdk/components/FSComponent.ts:70

The type of context for this component, if any.

Implementation of​

WeightBalancePaneViewPanel.contextType

Inherited from​

DisplayComponent.contextType


props​

props: WeightBalancePaneViewEstimatedWeightProps & ComponentProps

Defined in: src/sdk/components/FSComponent.ts:64

The properties of the component.

Implementation of​

WeightBalancePaneViewPanel.props

Inherited from​

DisplayComponent.props

Methods​

destroy()​

destroy(): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/WeightBalancePane/WeightBalancePaneViewEstimatedWeight.tsx:206

Destroys this component.

Returns​

void

Implementation of​

WeightBalancePaneViewPanel.destroy

Overrides​

DisplayComponent.destroy


getContext()​

protected getContext(context): never

Defined in: src/sdk/components/FSComponent.ts:109

Gets a context data subscription from the context collection.

Parameters​

ParameterTypeDescription
contextneverThe context to get the subscription for.

Returns​

never

The requested context.

Throws​

An error if no data for the specified context type could be found.

Implementation of​

WeightBalancePaneViewPanel.getContext

Inherited from​

DisplayComponent.getContext


onAfterRender()​

onAfterRender(thisNode): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/WeightBalancePane/WeightBalancePaneViewEstimatedWeight.tsx:94

A callback that is called after the component is rendered.

Parameters​

ParameterTypeDescription
thisNodeVNodeThe component's VNode.

Returns​

void

Implementation of​

WeightBalancePaneViewPanel.onAfterRender

Overrides​

DisplayComponent.onAfterRender


onBeforeRender()​

onBeforeRender(): void

Defined in: src/sdk/components/FSComponent.ts:83

A callback that is called before the component is rendered.

Returns​

void

Implementation of​

WeightBalancePaneViewPanel.onBeforeRender

Inherited from​

DisplayComponent.onBeforeRender


onPause()​

onPause(): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/WeightBalancePane/WeightBalancePaneViewEstimatedWeight.tsx:124

A method which is called when this panel is paused. The panel is paused when it is hidden and immediately before it is resized.

Returns​

void

Implementation of​

WeightBalancePaneViewPanel.onPause


onResume()​

onResume(): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/WeightBalancePane/WeightBalancePaneViewEstimatedWeight.tsx:117

A method which is called when this panel is resumed. The panel is resumed when it is un-hidden and immediately after it is resized.

Returns​

void

Implementation of​

WeightBalancePaneViewPanel.onResume


onUpdate()​

onUpdate(): void

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/WeightBalancePane/WeightBalancePaneViewEstimatedWeight.tsx:131

A method which is called when this panel is paused. The panel is paused when it is hidden and immediately before it is resized.

Returns​

void

Implementation of​

WeightBalancePaneViewPanel.onUpdate


render()​

render(): VNode

Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/WeightBalancePane/WeightBalancePaneViewEstimatedWeight.tsx:136

Renders the component.

Returns​

VNode

A JSX element to be rendered.

Implementation of​

WeightBalancePaneViewPanel.render

Overrides​

DisplayComponent.render