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
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
Properties
context?
optionalcontext: [] =undefined
Defined in: src/sdk/components/FSComponent.ts:64
The context on this component, if any.
Implementation of
WeightBalancePaneViewPanel.context
Inherited from
contextType?
readonlyoptionalcontextType: 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
props
props:
WeightBalancePaneViewWeightBalanceProps&ComponentProps
Defined in: src/sdk/components/FSComponent.ts:61
The properties of the component.
Implementation of
WeightBalancePaneViewPanel.props
Inherited from
Methods
destroy()
destroy():
void
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/WeightBalancePane/WeightBalancePaneViewWeightBalance.tsx:302
Destroys this component.
Returns
void
Implementation of
WeightBalancePaneViewPanel.destroy
Overrides
getContext()
protectedgetContext(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
onAfterRender()
onAfterRender(
thisNode):void
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Components/WeightBalancePane/WeightBalancePaneViewWeightBalance.tsx:138
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:173
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:166
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:180
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:185
Renders the component.
Returns
A JSX element to be rendered.
Implementation of
WeightBalancePaneViewPanel.render