Class: WptInfo<T>
The PFD waypoint info popout.
Type parameters
Name | Type |
---|---|
T | extends WptInfoProps = WptInfoProps |
Hierarchy
UiView
<T
,Facility
>↳
WptInfo
↳↳
MFDWptInfo
↳↳
PFDWptInfo
Constructors
constructor
• new WptInfo<T
>(props
): WptInfo
<T
>
Type parameters
Name | Type |
---|---|
T | extends WptInfoProps = WptInfoProps |
Parameters
Name | Type |
---|---|
props | T |
Returns
WptInfo
<T
>
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: WptInfoController
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/WptInfo/WptInfo.tsx:39
focusSubject
• Protected
focusSubject: Subject
<boolean
>
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:33
inputData
• inputData: Subject
<any
>
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:36
inputSelectedIcao
• Protected
Readonly
inputSelectedIcao: Subject
<string
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/WptInfo/WptInfo.tsx:27
onAccept
• onAccept: SubEventInterface
<WptInfo
<T
>, undefined
| Facility
>
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:40
onClose
• onClose: SubEventInterface
<WptInfo
<T
>, void
>
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:39
onOpen
• onOpen: SubEventInterface
<WptInfo
<T
>, void
>
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:38
planeHeadingSub
• Protected
Readonly
planeHeadingSub: Subject
<number
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/WptInfo/WptInfo.tsx:31
planePosSub
• Protected
Readonly
planePosSub: GeoPointSubject
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/WptInfo/WptInfo.tsx:30
props
• props: T
& ComponentProps
The properties of the component.
Inherited from
Defined in
sdk/components/FSComponent.ts:61
scrollController
• Protected
scrollController: ScrollController
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:32
selectedWaypointSub
• Protected
Readonly
selectedWaypointSub: Subject
<null
| Waypoint
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/WptInfo/WptInfo.tsx:29
store
• Protected
Readonly
store: WptInfoStore
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/WptInfo/WptInfo.tsx:38
unitSettingManager
• Protected
Readonly
unitSettingManager: UnitsUserSettingManager
<UnitsUserSettingTypes
>
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/WptInfo/WptInfo.tsx:41
viewContainerRef
• Protected
Readonly
viewContainerRef: NodeReference
<HTMLDivElement
>
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:32
viewResult
• viewResult: undefined
| Facility
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:34
Methods
accept
▸ accept(result?
, closeView?
): void
Confirms the view result and closes the view.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
result? | Facility | undefined | Provide the view result if not already set. |
closeView | boolean | true | Indicates if the view should be closed after confirming the result. |
Returns
void
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:108
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
close
▸ close(quickclose?
): void
Closes the view.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
quickclose | boolean | false | bool stating whether to quickclose the child. |
Returns
void
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:65
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
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
notifyViewOpened
▸ notifyViewOpened(): void
Notifies subscribers that the view has been opened.
Returns
void
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:131
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
onEnterPressed
▸ onEnterPressed(): void
Executes actions when Enter is pressed.
Returns
void
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/WptInfo/WptInfo.tsx:59
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
onInputDataSet
▸ onInputDataSet(input
): void
Method to be overridden by view inheriting UiView to do something when the input data is set.
Parameters
Name | Type | Description |
---|---|---|
input | any | The data that was set. |
Returns
void
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:194
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
Overrides
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/WptInfo/WptInfo.tsx:44
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
onViewClosed
▸ onViewClosed(): void
Method to be overridden by view inheriting UiView to do something when the dialog opens.
Returns
void
Overrides
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/WptInfo/WptInfo.tsx:97
onViewOpened
▸ onViewOpened(): void
Method to be overridden by view inheriting UiView to do something when the view opens.
Returns
void
Overrides
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/WptInfo/WptInfo.tsx:90
onViewPaused
▸ onViewPaused(): void
Method to be overridden by view inheriting UiView to do something when the dialog opens.
Returns
void
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:179
onViewResumed
▸ onViewResumed(): void
Method to be overridden by view inheriting UiView to do something when the dialog opens.
Returns
void
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:174
onWptDupDialogAccept
▸ onWptDupDialogAccept(facility
): void
A callback which is called when a waypoint duplicate dialog invoked by this view accepts.
Parameters
Name | Type | Description |
---|---|---|
facility | null | Facility | The facility returned by the waypoint duplicate dialog. |
Returns
void
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/WptInfo/WptInfo.tsx:78
onWptDupDialogClose
▸ onWptDupDialogClose(): void
A callback which is called when a waypoint duplicate dialog invoked by this view closes.
Returns
void
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/WptInfo/WptInfo.tsx:85
open
▸ open(isSubView
, zIndex?
): void
Shows the view.
Parameters
Name | Type | Description |
---|---|---|
isSubView | boolean | Whether the view is being displayed as a subview. |
zIndex? | number | The z-index to assign on the view container. |
Returns
void
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:47
pause
▸ pause(): void
Pauses the view (usually only called by ViewService).
Returns
void
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:201
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
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:119
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(): null
| VNode
Renders the component.
Returns
null
| VNode
A JSX element to be rendered.
Inherited from
Defined in
sdk/components/FSComponent.ts:93
renderBearing
▸ renderBearing(cssClass?
): VNode
Renders a component which displays the bearing to the store's selected waypoint.
Parameters
Name | Type | Description |
---|---|---|
cssClass? | string | CSS class(es) to apply to the root of the component. |
Returns
VNode
a component which displays the bearing to the store's selected waypoint, as a VNode.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/WptInfo/WptInfo.tsx:144
renderDistance
▸ renderDistance(cssClass?
): VNode
Renders a component which displays the distance to the store's selected waypoint.
Parameters
Name | Type | Description |
---|---|---|
cssClass? | string | CSS class(es) to apply to the root of the component. |
Returns
VNode
a component which displays the distance to the store's selected waypoint, as a VNode.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/WptInfo/WptInfo.tsx:159
renderWaypointInput
▸ renderWaypointInput(): VNode
Renders a waypoint input component.
Returns
VNode
a waypoint input component, as a VNode.
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/WptInfo/WptInfo.tsx:123
resume
▸ resume(): void
Resumes the view (usually only called by ViewService).
Returns
void
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:208
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
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControlGroup.tsx:176
setInput
▸ setInput(input
): this
Set data on this view.
Parameters
Name | Type | Description |
---|---|---|
input | any | The input data. |
Returns
this
This view instance for chain commands.
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:97
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
setZIndex
▸ setZIndex(zIndex
): void
Sets this view's z-index.
Parameters
Name | Type | Description |
---|---|---|
zIndex | undefined | number | The new z-indez. If not defined, the view's z-index will be reset. |
Returns
void
Inherited from
Defined in
workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiView.tsx:88
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