Class: PFDSelectDepArr<T, P>
A PFD component for selecting departures/arrivals.
Type parameters
Name | Type |
---|---|
T | extends DepartureProcedure | ArrivalProcedure |
P | extends SelectDepArrProps = SelectDepArrProps |
Hierarchy
SelectDepArr
<T
,P
>↳
PFDSelectDepArr
Constructors
constructor
• new PFDSelectDepArr<T
, P
>(props
): PFDSelectDepArr
<T
, P
>
Type parameters
Name | Type |
---|---|
T | extends Procedure |
P | extends SelectDepArrProps = SelectDepArrProps |
Parameters
Name | Type |
---|---|
props | P |
Returns
PFDSelectDepArr
<T
, P
>
Inherit Doc
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:36
Properties
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
controller
• Protected
Readonly
controller: SelectDepArrController
<T
, SelectDepArrStore
<T
>>
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArr.tsx:44
focusSubject
• Protected
focusSubject: Subject
<boolean
>
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:33
procSelectRef
• Protected
Readonly
procSelectRef: NodeReference
<SelectControl2
<T
>>
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArr.tsx:39
props
• props: P
& ComponentProps
The properties of the component.
Inherited from
Defined in
sdk/components/FSComponent.ts:61
rwyTransSelectRef
• Protected
Readonly
rwyTransSelectRef: NodeReference
<SelectControl2
<RunwayTransition
>>
Inherited from
SelectDepArr.rwyTransSelectRef
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArr.tsx:41
scrollController
• Protected
scrollController: ScrollController
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:32
store
• Protected
Readonly
store: SelectDepArrStore
<T
>
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArr.tsx:43
transSelectRef
• Protected
Readonly
transSelectRef: NodeReference
<SelectControl2
<EnrouteTransition
>>
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArr.tsx:40
Methods
blur
▸ blur(): void
Method to unfocus this control group
Returns
void
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:71
buildProcMenuItem
▸ buildProcMenuItem(proc
): ContextMenuItemDefinition
Builds a procedure menu item.
Parameters
Name | Type | Description |
---|---|---|
proc | T | The procedure to build the menu item for. |
Returns
A menu item definition.
Inherited from
SelectDepArr.buildProcMenuItem
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArr.tsx:92
buildRwyMenuItem
▸ buildRwyMenuItem(rwyTrans
): ContextMenuItemDefinition
Builds a runway transition menu item.
Parameters
Name | Type | Description |
---|---|---|
rwyTrans | RunwayTransition | The runway transition to build the menu item for. |
Returns
A menu item definition.
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArr.tsx:105
buildTransMenuItem
▸ buildTransMenuItem(trans
): ContextMenuItemDefinition
Builds an enroute transition menu item.
Parameters
Name | Type | Description |
---|---|---|
trans | EnrouteTransition | The transition to build the menu item for. |
Returns
A menu item definition.
Inherited from
SelectDepArr.buildTransMenuItem
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArr.tsx:119
createController
▸ createController(store
): SelectDepArrController
<T
, SelectDepArrStore
<T
>>
Creates an instance of a departure/arrival selection component controller.
Parameters
Name | Type | Description |
---|---|---|
store | SelectDepArrStore <T > | This component's data store. |
Returns
SelectDepArrController
<T
, SelectDepArrStore
<T
>>
A departure/arrival selection component controller.
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArr.tsx:57
createStore
▸ createStore(): SelectDepArrStore
<T
>
Creates an instance of a departure/arrival selection component data store.
Returns
A departure/arrival selection component data store.
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArr.tsx:50
destroy
▸ destroy(): void
Destroys this component.
Returns
void
Inherited from
Defined in
sdk/components/FSComponent.ts:98
focus
▸ focus(dir?
): void
Method to focus this control group
Parameters
Name | Type | Default value | Description |
---|---|---|---|
dir | EntryDirection | 'top' | The direction of entry. |
Returns
void
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:61
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
getHighlightElement
▸ getHighlightElement(): null
| Element
This is just a dummy that exists here to be compatible with the union type of ScrollableControl
Returns
null
| Element
null
Inherited from
SelectDepArr.getHighlightElement
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:125
getIsFocusable
▸ getIsFocusable(): boolean
Gets a boolean indicating if this control is able to be focused.
Returns
boolean
true
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:88
getIsFocused
▸ getIsFocused(): boolean
Method to check if this UiControlGroup is in focus
Returns
boolean
true if the control group is in focus, false otherwise
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:80
getProcLabel
▸ getProcLabel(): string
Gets the display label for the procedure.
Returns
string
The procedure label string.
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArr.tsx:63
gotoNextSelect
▸ gotoNextSelect(): void
Goto and activate next select control.
Returns
void
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArr.tsx:73
initializeIcaoInput
▸ initializeIcaoInput(): void
Initializes the airport ICAO input.
Returns
void
Inherited from
SelectDepArr.initializeIcaoInput
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArr.tsx:68
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
Defined in
sdk/components/FSComponent.ts:87
onBeforeRender
▸ onBeforeRender(): void
Returns
void
Inherit Doc
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:51
onBlurred
▸ onBlurred(): void
A callback which is called when this control group is blurred.
Returns
void
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:244
onFocused
▸ onFocused(): void
A callback which is called when this control group is focused.
Returns
void
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:237
onInteractionEvent
▸ onInteractionEvent(evt
): boolean
Handler for interaction events to be handled by the view.
Parameters
Name | Type | Description |
---|---|---|
evt | FmsHEvent | The HEvenet. |
Returns
boolean
true if the event was handled in this group
Inherited from
SelectDepArr.onInteractionEvent
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:217
onLoadSelected
▸ onLoadSelected(): void
A callback which is called when the Load action is executed.
Returns
void
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/PFD/Components/UI/Procedure/DepArr/PFDSelectDepArr.tsx:16
onScrollToggled
▸ onScrollToggled(enabled
): void
A method called when the control group scroll is toggled.
Parameters
Name | Type | Description |
---|---|---|
enabled | boolean | if the scroll is enabled. |
Returns
void
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:97
processHEvent
▸ processHEvent(evt
): boolean
Handles HEvents and routes them to the subdialog when existant.
Parameters
Name | Type | Description |
---|---|---|
evt | FmsHEvent | The received event. |
Returns
boolean
true if the event was handled in this control group, false otherwise.
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:134
processScrollEvent
▸ processScrollEvent(evt
): boolean
Attempts to handle scroll events.
Parameters
Name | Type | Description |
---|---|---|
evt | FmsHEvent | The received event. |
Returns
boolean
whether the event was handled.
Inherited from
SelectDepArr.processScrollEvent
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:196
register
▸ register(ctrl
, unregister?
): void
Register/Unregisters a UiControl with the scroll controller.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
ctrl | ScrollableControl | undefined | The UiControl to register. |
unregister | boolean | false | Indicates if the UiControl should be unregistered. |
Returns
void
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:226
render
▸ render(): VNode
Renders the component.
Returns
VNode
The component VNode.
Overrides
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/PFD/Components/UI/Procedure/DepArr/PFDSelectDepArr.tsx:25
renderEnrouteSelectControl
▸ renderEnrouteSelectControl(container
, dialogPosition?
): VNode
Renders the enroute transition select control component.
Parameters
Name | Type | Description |
---|---|---|
container | NodeReference <HTMLElement > | A reference to the container that constrains the position of the select control pop-up. |
dialogPosition? | ContextMenuPosition | The position of the pop-up context menu dialog spawned by the select control. |
Returns
VNode
The rendered enroute transition select control component, as a VNode.
Inherited from
SelectDepArr.renderEnrouteSelectControl
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArr.tsx:205
renderProcedureSelectControl
▸ renderProcedureSelectControl(container
, dialogPosition?
): VNode
Renders the procedure select control component.
Parameters
Name | Type | Description |
---|---|---|
container | NodeReference <HTMLElement > | A reference to the container that constrains the position of the select control pop-up. |
dialogPosition? | ContextMenuPosition | The position of the pop-up context menu dialog spawned by the select control. |
Returns
VNode
The rendered procedure select control component, as a VNode.
Inherited from
SelectDepArr.renderProcedureSelectControl
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArr.tsx:149
renderRunwaySelectControl
▸ renderRunwaySelectControl(container
, dialogPosition?
): VNode
Renders the runway transition select control component.
Parameters
Name | Type | Description |
---|---|---|
container | NodeReference <HTMLElement > | A reference to the container that constrains the position of the select control pop-up. |
dialogPosition? | ContextMenuPosition | The position of the pop-up context menu dialog spawned by the select control. |
Returns
VNode
The rendered runway transition select control component, as a VNode.
Inherited from
SelectDepArr.renderRunwaySelectControl
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArr.tsx:177
renderWaypointInput
▸ renderWaypointInput(): VNode
Renders the waypoint input component.
Returns
VNode
The rendered waypoint input component, as a VNode.
Inherited from
SelectDepArr.renderWaypointInput
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/Procedure/DepArr/SelectDepArr.tsx:132
routeEventToControl
▸ routeEventToControl(evt
, control
): boolean
Routes an interaction event to a UiControl.
Parameters
Name | Type | Description |
---|---|---|
evt | FmsHEvent | An interaction event. |
control | UiControl <UiControlProps > | The UiControl to which to route the event. |
Returns
boolean
Whether the event was handled by the UiControl.
Inherited from
SelectDepArr.routeEventToControl
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:176
setScrollEnabled
▸ setScrollEnabled(enabled
): void
Sets the scroll enabled state
Parameters
Name | Type | Description |
---|---|---|
enabled | boolean | indicating if scrolling should be enabled |
Returns
void
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:113
toggleScroll
▸ toggleScroll(): void
Toggles the scroll highlighting
Returns
void
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:104