Class: WaypointInfo
A component which displays waypoint information.
Hierarchy
DisplayComponent
<WaypointInfoProps
>↳
WaypointInfo
Implements
Constructors
constructor
• new WaypointInfo(props
): WaypointInfo
Creates an instance of a DisplayComponent.
Parameters
Name | Type | Description |
---|---|---|
props | WaypointInfoProps | The propertis of the component. |
Returns
Inherited from
DisplayComponent<WaypointInfoProps>.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 display.
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Components/WaypointInfo/WaypointInfo.tsx:171
props
• props: WaypointInfoProps
& 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/WaypointInfo.tsx:693
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/WaypointInfo.tsx:178
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
onClose
▸ onClose(): void
Responds to when this display's parent view is closed.
Returns
void
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Components/WaypointInfo/WaypointInfo.tsx:234
onOcclusionChange
▸ onOcclusionChange(occlusionType
): void
Responds to when the occlusion type applied to this display's parent view changes while the view is open.
Parameters
Name | Type | Description |
---|---|---|
occlusionType | UiViewOcclusionType | The new occlusion type applied to this display's parent view. |
Returns
void
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Components/WaypointInfo/WaypointInfo.tsx:349
onOpen
▸ onOpen(sizeMode
, dimensions
): void
Responds to when this display's parent view is opened.
Parameters
Name | Type | Description |
---|---|---|
sizeMode | UiViewSizeMode | The new size mode of this display's parent view. |
dimensions | Readonly <Omit <Float64Array , "set" | "sort" | "copyWithin" >> | The new dimensions of this display, as [width, height] in pixels. |
Returns
void
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Components/WaypointInfo/WaypointInfo.tsx:219
onPause
▸ onPause(): void
Responds to when this display's parent view is paused.
Returns
void
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Components/WaypointInfo/WaypointInfo.tsx:262
onResize
▸ onResize(sizeMode
, dimensions
): void
Responds to when this display's parent view is resized while open.
Parameters
Name | Type | Description |
---|---|---|
sizeMode | UiViewSizeMode | The new size mode of this display's parent view. |
dimensions | Readonly <Omit <Float64Array , "set" | "sort" | "copyWithin" >> | The new dimensions of this display, as [width, height] in pixels. |
Returns
void
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Components/WaypointInfo/WaypointInfo.tsx:277
onResume
▸ onResume(): void
Responds to when this display's parent view is resumed.
Returns
void
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Components/WaypointInfo/WaypointInfo.tsx:248
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/WaypointInfo.tsx:372
onUpdate
▸ onUpdate(time
): void
Responds to when this display's parent view is updated.
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/WaypointInfo.tsx:366
render
▸ render(): VNode
Returns
VNode
Inherit Doc
Overrides
DisplayComponent.render
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Components/WaypointInfo/WaypointInfo.tsx:504
selectWaypoint
▸ selectWaypoint(waypoint
): void
Selects a waypoint for this display.
Parameters
Name | Type | Description |
---|---|---|
waypoint | null | FacilityWaypoint <Facility > | The waypoint to select, or null to clear the selected waypoint. |
Returns
void
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Components/WaypointInfo/WaypointInfo.tsx:210