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