Class: GtcUserWaypointDialog
A GTC dialog which allows the user to create and edit user waypoints.
Hierarchy
GtcView
<GtcUserWaypointDialogProps
>↳
GtcUserWaypointDialog
Implements
GtcDialogView
<GtcUserWaypointDialogInput
,UserFacility
>
Constructors
constructor
• new GtcUserWaypointDialog(props
): GtcUserWaypointDialog
Parameters
Name | Type |
---|---|
props | GtcUserWaypointDialogProps |
Returns
Inherit Doc
Overrides
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/Dialog/GtcUserWaypointDialog.tsx:113
Properties
_activeComponent
• Protected
Readonly
_activeComponent: Subject
<null
| GtcInteractionHandler
>
Inherited from
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/GtcView.ts:26
_sidebarState
• Protected
Readonly
_sidebarState: GtcSidebarState
Inherited from
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/GtcView.ts:28
_title
• Protected
Readonly
_title: Subject
<undefined
| string
>
Inherited from
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/GtcView.ts:32
bus
• Protected
Readonly
bus: EventBus
Inherited from
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/GtcView.ts:23
context
• Optional
context: [] = undefined
The context on this component, if any.
Inherited from
Defined in
sdk/components/FSComponent.ts:64
contextType
• Optional
Readonly
contextType: readonly [] = undefined
The type of context for this component, if any.
Inherited from
Defined in
sdk/components/FSComponent.ts:67
gtcService
• Protected
Readonly
gtcService: GtcService
Inherited from
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/GtcView.ts:24
isAlive
• Protected
isAlive: boolean
= true
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/Dialog/GtcUserWaypointDialog.tsx:110
props
• props: GtcUserWaypointDialogProps
& ComponentProps
The properties of the component.
Inherited from
Defined in
sdk/components/FSComponent.ts:61
resolveFunction
• Protected
Optional
resolveFunction: (value
: any
) => void
Type declaration
▸ (value
): void
Parameters
Name | Type |
---|---|
value | any |
Returns
void
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/Dialog/GtcUserWaypointDialog.tsx:105
resultObject
• Protected
resultObject: GtcDialogResult
<null
| UserFacility
>
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/Dialog/GtcUserWaypointDialog.tsx:106
sidebarState
• Readonly
sidebarState: SidebarStateReadonly
The GTC sidebar state (labels and buttons) requested by this view.
Inherited from
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/GtcView.ts:30
title
• Readonly
title: Subscribable
<undefined
| string
>
This view's title.
Inherited from
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/GtcView.ts:34
Methods
destroy
▸ destroy(): void
Destroys this component.
Returns
void
Overrides
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/Dialog/GtcUserWaypointDialog.tsx:628
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
Defined in
sdk/components/FSComponent.ts:106
onAfterRender
▸ onAfterRender(thisNode
): void
A callback that is called after the component is rendered.
Parameters
Name | Type | Description |
---|---|---|
thisNode | VNode | The component's VNode. |
Returns
void
Overrides
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/Dialog/GtcUserWaypointDialog.tsx:120
onBeforeRender
▸ onBeforeRender(): void
A callback that is called before the component is rendered.
Returns
void
Inherited from
Defined in
sdk/components/FSComponent.ts:80
onClose
▸ onClose(): void
The Close lifecycle method
Returns
void
Overrides
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/Dialog/GtcUserWaypointDialog.tsx:207
onGtcInteractionEvent
▸ onGtcInteractionEvent(event
): boolean
Called when there is an interaction event when this is the active view.
Parameters
Name | Type | Description |
---|---|---|
event | GtcInteractionEvent | The event. |
Returns
boolean
Whether the event was handled or not.
Overrides
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/Dialog/GtcUserWaypointDialog.tsx:212
onOpen
▸ onOpen(wasPreviouslyOpened
): void
The Open lifecycle method
Parameters
Name | Type | Description |
---|---|---|
wasPreviouslyOpened | boolean | True when this view was open in a previous view stack (like if the go back button was used to reach this page). |
Returns
void
Inherited from
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/GtcView.ts:42
onPause
▸ onPause(): void
The Pause lifecycle method
Returns
void
Inherited from
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/GtcView.ts:52
onResume
▸ onResume(): void
The Resume lifecycle method
Returns
void
Inherited from
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/GtcView.ts:57
render
▸ render(): VNode
Renders the component.
Returns
VNode
A JSX element to be rendered.
Overrides
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/Dialog/GtcUserWaypointDialog.tsx:469
request
▸ request(input
): Promise
<GtcDialogResult
<UserFacility
>>
Requests a value from this dialog.
Parameters
Name | Type | Description |
---|---|---|
input | GtcUserWaypointDialogInput | Input parameters defining the request. |
Returns
Promise
<GtcDialogResult
<UserFacility
>>
A Promise which is fulfilled with the result of the request. The result will indicate whether the request was cancelled, and if the request was not cancelled, it will also contain the requested value.
Implementation of
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/Dialog/GtcUserWaypointDialog.tsx:136