Class: FlightDirectorSingleCue
A PFD single-cue flight director.
Hierarchy
HorizonLayer
<FlightDirectorSingleCueProps
>↳
FlightDirectorSingleCue
Constructors
constructor
• new FlightDirectorSingleCue(props
): FlightDirectorSingleCue
Creates an instance of a DisplayComponent.
Parameters
Name | Type | Description |
---|---|---|
props | FlightDirectorSingleCueProps | The propertis of the component. |
Returns
Inherited from
HorizonLayer<FlightDirectorSingleCueProps>.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: FlightDirectorSingleCueProps
& 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/garminsdk/components/nextgenpfd/horizon/FlightDirectorSingleCue.tsx:163
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/garminsdk/components/nextgenpfd/horizon/FlightDirectorSingleCue.tsx:70
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/garminsdk/components/nextgenpfd/horizon/FlightDirectorSingleCue.tsx:121
onProjectionChanged
▸ onProjectionChanged(): void
Returns
void
Inherit Doc
Overrides
HorizonLayer.onProjectionChanged
Defined in
src/garminsdk/components/nextgenpfd/horizon/FlightDirectorSingleCue.tsx:90
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/garminsdk/components/nextgenpfd/horizon/FlightDirectorSingleCue.tsx:95
onVisibilityChanged
▸ onVisibilityChanged(isVisible
): void
Parameters
Name | Type |
---|---|
isVisible | boolean |
Returns
void
Inherit Doc
Overrides
HorizonLayer.onVisibilityChanged
Defined in
src/garminsdk/components/nextgenpfd/horizon/FlightDirectorSingleCue.tsx:51
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/garminsdk/components/nextgenpfd/horizon/FlightDirectorSingleCue.tsx:128
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