Class: G3XPitchLadder
A G3X Touch PFD pitch ladder. Displays major, medium, and minor pitch lines, each with optional pitch angle labels. Also displays unusual attitude chevrons between major pitch lines above threshold positive and negative pitch angles. Does not display a zero-pitch line.
Hierarchy
HorizonLayer
<G3XPitchLadderProps
>↳
G3XPitchLadder
Constructors
constructor
• new G3XPitchLadder(props
): G3XPitchLadder
Creates an instance of a DisplayComponent.
Parameters
Name | Type | Description |
---|---|---|
props | G3XPitchLadderProps | The propertis of the component. |
Returns
Inherited from
HorizonLayer<G3XPitchLadderProps>.constructor
Defined in
src/sdk/components/FSComponent.ts:73
Properties
context
• Optional
context: [] = undefined
The context on this component, if any.
Inherited from
HorizonLayer.context
Defined in
src/sdk/components/FSComponent.ts:64
contextType
• Optional
Readonly
contextType: readonly [] = undefined
The type of context for this component, if any.
Inherited from
HorizonLayer.contextType
Defined in
src/sdk/components/FSComponent.ts:67
props
• props: G3XPitchLadderProps
& ComponentProps
The properties of the component.
Inherited from
HorizonLayer.props
Defined in
src/sdk/components/FSComponent.ts:61
Methods
destroy
▸ destroy(): void
Returns
void
Inherit Doc
Overrides
HorizonLayer.destroy
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/HorizonDisplay/PitchLadder/G3XPitchLadder.tsx:367
getContext
▸ getContext(context
): never
Gets a context data subscription from the context collection.
Parameters
Name | 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.
Inherited from
HorizonLayer.getContext
Defined in
src/sdk/components/FSComponent.ts:106
isAttached
▸ isAttached(): boolean
Checks whether this layer is attached to a horizon component.
Returns
boolean
Whether this layer is attached to a horizon component.
Inherited from
HorizonLayer.isAttached
Defined in
src/sdk/components/horizon/HorizonLayer.ts:31
isVisible
▸ isVisible(): boolean
Checks whether this layer is visible.
Returns
boolean
whether this layer is visible.
Inherited from
HorizonLayer.isVisible
Defined in
src/sdk/components/horizon/HorizonLayer.ts:39
onAfterRender
▸ onAfterRender(node
): void
A callback that is called after the component is rendered.
Parameters
Name | Type | Description |
---|---|---|
node | VNode | The component's VNode. |
Returns
void
Inherited from
HorizonLayer.onAfterRender
Defined in
src/sdk/components/FSComponent.ts:87
onAttached
▸ onAttached(): void
Returns
void
Inherit Doc
Overrides
HorizonLayer.onAttached
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/HorizonDisplay/PitchLadder/G3XPitchLadder.tsx:137
onBeforeRender
▸ onBeforeRender(): void
A callback that is called before the component is rendered.
Returns
void
Inherited from
HorizonLayer.onBeforeRender
Defined in
src/sdk/components/FSComponent.ts:80
onDetached
▸ onDetached(): void
Returns
void
Inherit Doc
Overrides
HorizonLayer.onDetached
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/HorizonDisplay/PitchLadder/G3XPitchLadder.tsx:339
onProjectionChanged
▸ onProjectionChanged(projection
, changeFlags
): void
Parameters
Name | Type |
---|---|
projection | HorizonProjection |
changeFlags | number |
Returns
void
Inherit Doc
Overrides
HorizonLayer.onProjectionChanged
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/HorizonDisplay/PitchLadder/G3XPitchLadder.tsx:151
onSleep
▸ onSleep(): void
This method is called when this layer's parent horizon component is put to sleep.
Returns
void
Inherited from
HorizonLayer.onSleep
Defined in
src/sdk/components/horizon/HorizonLayer.ts:88
onUpdated
▸ onUpdated(): void
Returns
void
Inherit Doc
Overrides
HorizonLayer.onUpdated
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/HorizonDisplay/PitchLadder/G3XPitchLadder.tsx:163
onVisibilityChanged
▸ onVisibilityChanged(isVisible
): void
Parameters
Name | Type |
---|---|
isVisible | boolean |
Returns
void
Inherit Doc
Overrides
HorizonLayer.onVisibilityChanged
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/HorizonDisplay/PitchLadder/G3XPitchLadder.tsx:132
onWake
▸ onWake(): void
This method is called when this layer's parent horizon component is awakened.
Returns
void
Inherited from
HorizonLayer.onWake
Defined in
src/sdk/components/horizon/HorizonLayer.ts:81
render
▸ render(): VNode
Returns
VNode
Inherit Doc
Overrides
HorizonLayer.render
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/PFD/Components/HorizonDisplay/PitchLadder/G3XPitchLadder.tsx:346
setVisible
▸ setVisible(val
): void
Sets this layer's visibility.
Parameters
Name | Type | Description |
---|---|---|
val | boolean | Whether this layer should be visible. |
Returns
void
Inherited from
HorizonLayer.setVisible
Defined in
src/sdk/components/horizon/HorizonLayer.ts:47