Class: WeightBalancePaneViewWeightBalance
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/WeightBalancePane/WeightBalancePaneViewWeightBalance.tsx:42
An aircraft weight and balance panel for the weight and balance pane.
Extends
DisplayComponent
<WeightBalancePaneViewWeightBalanceProps
>
Implements
Constructors
Constructor
new WeightBalancePaneViewWeightBalance(
props
):WeightBalancePaneViewWeightBalance
Defined in: src/sdk/components/FSComponent.ts:73
Creates an instance of a DisplayComponent.
Parameters
Parameter | Type | Description |
---|---|---|
props | WeightBalancePaneViewWeightBalanceProps | The propertis of the component. |
Returns
WeightBalancePaneViewWeightBalance
Inherited from
DisplayComponent<WeightBalancePaneViewWeightBalanceProps>.constructor
Properties
context?
optional
context: [] =undefined
Defined in: src/sdk/components/FSComponent.ts:64
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:67
The type of context for this component, if any.
Implementation of
WeightBalancePaneViewPanel
.contextType
Inherited from
DisplayComponent.contextType
props
props:
WeightBalancePaneViewWeightBalanceProps
&ComponentProps
Defined in: src/sdk/components/FSComponent.ts:61
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/WeightBalancePaneViewWeightBalance.tsx:293
Destroys this component.
Returns
void
Implementation of
WeightBalancePaneViewPanel
.destroy
Overrides
DisplayComponent.destroy
getContext()
protected
getContext(context
):never
Defined in: src/sdk/components/FSComponent.ts:106
Gets a context data subscription from the context collection.
Parameters
Parameter | Type | Description |
---|---|---|
context | never | The 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/WeightBalancePaneViewWeightBalance.tsx:132
A callback that is called after the component is rendered.
Parameters
Parameter | Type | Description |
---|---|---|
thisNode | VNode | The component's VNode. |
Returns
void
Implementation of
WeightBalancePaneViewPanel
.onAfterRender
Overrides
DisplayComponent.onAfterRender
onBeforeRender()
onBeforeRender():
void
Defined in: src/sdk/components/FSComponent.ts:80
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/WeightBalancePaneViewWeightBalance.tsx:164
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/WeightBalancePaneViewWeightBalance.tsx:157
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/WeightBalancePaneViewWeightBalance.tsx:171
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/WeightBalancePaneViewWeightBalance.tsx:176
Renders the component.
Returns
VNode
A JSX element to be rendered.
Implementation of
WeightBalancePaneViewPanel
.render
Overrides
DisplayComponent.render