Class: WaypointInfoInfo
A waypoint info display information component, which displays a map and summary information about a waypoint.
Hierarchy
DisplayComponent
<WaypointInfoInfoProps
>↳
WaypointInfoInfo
Implements
Constructors
constructor
• new WaypointInfoInfo(props
): WaypointInfoInfo
Creates an instance of a DisplayComponent.
Parameters
Name | Type | Description |
---|---|---|
props | WaypointInfoInfoProps | The propertis of the component. |
Returns
Inherited from
DisplayComponent<WaypointInfoInfoProps>.constructor
Defined in
src/sdk/components/FSComponent.ts:73
Properties
context
• Optional
context: [] = undefined
The context on this component, if any.
Inherited from
DisplayComponent.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
DisplayComponent.contextType
Defined in
src/sdk/components/FSComponent.ts:67
knobLabelState
• Readonly
knobLabelState: SubscribableMap
<UiKnobId
, string
> & Subscribable
<UiKnobRequestedLabelState
>
The bezel rotary knob label state requested by this component.
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Components/WaypointInfo/WaypointInfoInfo.tsx:185
props
• props: WaypointInfoInfoProps
& ComponentProps
The properties of the component.
Inherited from
DisplayComponent.props
Defined in
src/sdk/components/FSComponent.ts:61
Methods
destroy
▸ destroy(): void
Returns
void
Inherit Doc
Overrides
DisplayComponent.destroy
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Components/WaypointInfo/WaypointInfoInfo.tsx:523
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
DisplayComponent.getContext
Defined in
src/sdk/components/FSComponent.ts:106
onAfterRender
▸ onAfterRender(thisNode
): void
Parameters
Name | Type |
---|---|
thisNode | VNode |
Returns
void
Inherit Doc
Overrides
DisplayComponent.onAfterRender
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Components/WaypointInfo/WaypointInfoInfo.tsx:200
onBeforeRender
▸ onBeforeRender(): void
A callback that is called before the component is rendered.
Returns
void
Inherited from
DisplayComponent.onBeforeRender
Defined in
src/sdk/components/FSComponent.ts:80
onUiInteractionEvent
▸ onUiInteractionEvent(event
): boolean
Handles a UiInteractionEvent.
Parameters
Name | Type | Description |
---|---|---|
event | UiInteractionEvent | The event to handle. |
Returns
boolean
Whether the event was handled.
Implementation of
UiInteractionHandler.onUiInteractionEvent
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Components/WaypointInfo/WaypointInfoInfo.tsx:297
pause
▸ pause(): void
Pauses this component.
Returns
void
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Components/WaypointInfo/WaypointInfoInfo.tsx:234
render
▸ render(): null
| VNode
Returns
null
| VNode
Inherit Doc
Overrides
DisplayComponent.render
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Components/WaypointInfo/WaypointInfoInfo.tsx:447
resume
▸ resume(): void
Resumes this component.
Returns
void
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Components/WaypointInfo/WaypointInfoInfo.tsx:216
setSize
▸ setSize(width
, height
): void
Sets the size of this component.
Parameters
Name | Type | Description |
---|---|---|
width | number | The new width, in pixels. |
height | number | The new height, in pixels. |
Returns
void
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Components/WaypointInfo/WaypointInfoInfo.tsx:260
update
▸ update(time
): void
Updates this component. Has no effect if this component is paused.
Parameters
Name | Type | Description |
---|---|---|
time | number | The current real (operating system) time, as a Javascript timestamp. |
Returns
void
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Components/WaypointInfo/WaypointInfoInfo.tsx:281