Abstract Class: DisplayComponent<P, Contexts>
Defined in: src/sdk/components/FSComponent.ts:58
A display component in the component framework.
Extended by
BingComponentAbstractNumberUnitDisplayDigitScrollerDurationDisplayLatLonDisplayLifecycleComponentHardwareUiControlHorizonSharedCanvasSubLayerHorizonComponentHorizonLayerDefaultMapLabeledRingLabelMapComponentMapLayerMapSharedCachedCanvasSubLayerMapSharedCanvasSubLayerSynVisComponentCollectionComponentAirspeedIndicatorAltimeterAoaIndicatorApproachNameDisplayCASDisplayCasDisplay2FailureBoxFmaMasterSlotFmaModeSlotGarminChartAirplaneIconLayerGarminChartDisplayGarminChartScaleBarLayerHorizonDisplayHsiCompassHsiGpsIntegrityAnnunciationImgTouchButtonLatLonDisplayMagVarDisplayMapBannerIndicatorMapDetailIndicatorMapOrientationIndicatorMapRangeDisplayMapRangeValueDisplayMapRelativeTerrainStatusIndicatorMapTerrainScaleIndicatorMapTrafficFailedIndicatorMapTrafficOffScaleIndicatorMapTrafficStatusIndicatorMarkerBeaconDisplayMinimumsDisplayNavDataBarNavDataFieldNavStatusBoxNavStatusBoxDtkAlertNavStatusBoxLegArrowNavStatusBoxLegDisplayPfdTrafficAnnunciationRadarAltimeterRollLimitIndicatorsScrollListSetValueTouchButtonSoftKeySoftKeyBarTerrainSystemAnnunciationTimeDisplayToggleStatusBarToggleTouchButtonTouchButtonTouchPadTouchSliderTrafficMapAdsbModeIndicatorTrafficMapAdsbOffBannerIndicatorTrafficMapAltitudeModeIndicatorTrafficMapFailedBannerIndicatorTrafficMapOperatingModeIndicatorTrafficMapStandbyBannerIndicatorTurnRateIndicatorValueTouchButtonVerticalSpeedIndicatorWaypointComponentWeatherRadarWindDisplayGarminChartDisplayLayerRollIndicatorScaleComponentAltimeterApproachNameDisplayArrowToggle_OLDArtificialHorizonAttitudeIndicatorBaseGaugeBottomInfoPanelCASCompassRoseCourseNeedleComponentCourseNeedlesCylinderSetDMEWindowEISFlightDirectorFlightPathMarkerFmaFmaApSlotFmaDisplaySlotFmaLegIconFplActiveLegArrowFPLOriginG1000AirspeedIndicatorG1000SynVisG1000WaypointIconGroupBoxHorizonCompassHSIHSIMapHSIMapCourseDeviationHSIRoseMagVarDisplayMapInsetMapRangeDisplayMapSettingControlMarkerBeaconMFDFPLWeatherMFDMapSettingsRowMFDNavDataBarMFDSystemSetupAirspaceAlertsGroupMFDSystemSetupComSpacingGroupMFDSystemSetupDataBarGroupMFDSystemSetupDateTimeGroupMFDSystemSetupNearestAirportGroupMFDSystemSetupRowMFDSystemSetupUnitsGroupNearestIntersectionInformationGroupNearestIntersectionReferenceVorGroupNearestNdbFrequencyGroupNearestNdbInformationGroupNearestVorInformationGroupPrimaryHorizonDisplayRadioAltimeterScrollBarSoftKeySoftKeyBarStartupLogoSvtAirportLabelSvtAirportLabelsTimeDisplayTransponderTurnRateIndicatorUiControlUiControlGroupUserSettingSelectControlUserSettingToggleControlUserSettingToggleEnumControlVerticalDeviationVerticalSpeedIndicatorWarningDisplayWaypointAlerterWindOptionWindOverlayXMLColumnGroupXMLGaugeColumnAltitudeConstraintDisplayApproachNameDisplayChecklistPaneViewItemChecklistPaneViewItemListCurrentVnavProfilePanelDisplayOverlayLayerDisplayPaneDisplayPaneContainerDisplayPaneViewFlightPlanTextFromToArrowFlightPlanTextPanelFlightPlanTextRowFpaDisplayG3000CASDisplay2G3000CASMessageCountG3000CASScrollBarG3000FullCASDisplay2GarminLatLonDisplayLegNameDisplayMapRangeDisplayMapRangeSettingDisplayMapRangeValueDisplaySimpleAltitudeConstraintDisplaySpeedConstraintDisplayTerrainSystemAnnunciationTimeDisplayToggleStatusBarWeightBalancePaneViewEstimatedWeightWeightBalancePaneViewGraphWeightBalancePaneViewLoadStationWeightBalancePaneViewWeightBalanceDisplayOverlayComponentWeightBalancePaneViewPanelAoaIndicatorBearingInfoBearingInfoBannerBearingPointerBottomInfoPanelComInfoBoxCourseNeedleFmaG3000AirspeedIndicatorG3000AltimeterG3000PfdTerrainSystemAnnunciationHorizonDisplayHsiHsiCompassHsiGpsIntegrityAnnunciationHsiMapHsiRoseInsetMapContainerMinimumsDisplayNavDmeInfoNavDmeInfoBannerNavInsetMapNavStatusBoxNavStatusBoxBannerPfdTrafficAnnunciationRadarAltimeterSpeedInfoTemperatureInfoTimeInfoTrafficInsetMapTurnRateIndicatorVerticalDeviationIndicatorVerticalSpeedIndicatorWindDisplayMfdNavDataBarStartupScreenAddEnrouteWaypointListItemButtonBarChannelInputSlotCharInputCharInputSlotCursorInputDigitInputSlotFlightPlanAltitudeConstraintBoxFlightPlanApproachListItemFlightPlanArrivalListItemFlightPlanDataFieldsBoxFlightPlanDestinationListItemFlightPlanEnrouteListItemFlightPlanLegListItemFlightPlanOriginListItemFlightPlanSegmentListItemFrequencyInputGenericCursorInputSlotGtcAvionicsSettingsPageMfdFieldsListGtcAvionicsSettingsPageSystemListGtcAvionicsSettingsPageUnitsListGtcBearingArrowGtcContainerGtcDesignatedPaneButtonGtcImgTouchButtonGtcLandingDataPageConfigTabGtcLandingDataPageDataTabGtcListGtcListButtonGtcListItemGtcListSelectTouchButtonGtcMapDetailSettingIconGtcMapRangeSettingSelectButtonGtcMinimumsControlGtcMinimumsTouchButtonGtcNavComTopBarGtcNearestTabGtcNearestWaypointListGtcNearestWaypointListItemGtcNearestWaypointPageListItemGtcPfdSettingsPageGeneralListGtcPfdSettingsPageMasterListGtcPfdSettingsPagePfdListGtcPfdSettingsPageSvtListGtcPfdTrafficMapButtonGtcSetValueTouchButtonGtcSliderThumbIconGtcTakeoffDataPageConfigTabGtcTakeoffDataPageDataTabGtcToggleTouchButtonGtcToldDataPageOriginDestTabGtcToldDataPageRunwayTabGtcToldDataPageWeatherTabGtcToldOriginDestDisplayGtcToldRunwayDisplayGtcTouchButtonGtcValueTouchButtonGtcViewGtcWaypointButtonGtcWaypointIconGtcWaypointInfoPageInfoGtcWaypointInfoPageNoWaypointMessageGtcWaypointSelectButtonImgTouchButtonKeyboardLabelBarLabelBarLabelNumberInputNumberPadRoundTouchButtonSetValueTouchButtonSignInputSlotTabbedContainerTabbedContentTerrainSettingsDisplayTitleBarToggleTouchButtonTouchButtonTouchListTouchSliderTrafficSettingsDisplayValueTouchButtonXpdrTcasSettingsGroupGtcAvionicsSettingsPageTabContentGtcPfdSettingsPageTabContentGtcToldDataPageTabContentAbstractMfdPageAbstractPfdInsetAbstractTabbedContentAbstractUiViewAfcsStatusBoxBaroMinimumDisplayBearingInformationDisplayChannelInputSlotCharInputCharInputSlotCnsAudioButtonGroupCnsComButtonGroupCnsNavButtonGroupCnsXpdrButtonGroupCombinedTouchButtonCursorInputDigitInputSlotDirectToNearestTabItemFrequencyInputG3XAirspeedIndicatorG3XAltimeterG3XBearingDisplayG3XFailureBoxG3XHorizonDisplayG3XLoadingIconG3XMapDetailIndicatorG3XMapRangeSettingDisplayG3XMapRangeValueDisplayG3XMapTerrainScaleIndicatorG3XMapTrafficStatusIndicatorG3XNavDataBarG3XNumberUnitDisplayG3XTimeDisplayG3XTrafficMapOperatingModeIndicatorG3XVerticalSpeedIndicatorGdu460CnsDataBarGdu460DisplayGdu460EisGdu460HorizonDisplayGenericCursorInputSlotGenericUiFocusableComponentHsiHsiBearingPointerHsiCompassHsiCourseNeedleHsiGpsIntegrityAnnunciationHsiRoseHsiUpperDeviationIndicatorImgTouchButtonMapRangeSettingSelectButtonMapRangeTargetControlIndicatorMapRelativeTerrainStatusIndicatorMapScaleBarIndicatorMarkerBeaconDisplayMfdFplPageApproachLegPreviewListItemMfdFplPageDataFieldSlotMfdFplPageLegListItemMfdPageContainerMfdPageNavBarNumberInputNumberPadPfdAileronRudderTrimGaugePfdElevatorTrimGaugePfdFlapsElevatorTrimGaugePfdFlapsGaugePfdFlightPlanInsetApproachLegPreviewListItemPfdFlightPlanInsetLegListItemPfdInsetContainerPfdWindDisplayScrollListSetValueTouchButtonSignInputSlotStatusBarTabbedContainerToggleStatusBarToggleTouchButtonTouchButtonTouchSliderTrafficMapCombinedIndicatorTrafficMapRangeControlIndicatorTurnRateIndicatorUiBearingArrowUiFlightPlanLegDisplayUiFlightPlanListUiImgTouchButtonUiListUiListButtonUiListFocusableUiListItemUiListSelectTouchButtonUiNearestWaypointDisplayUiNearestWaypointListUiNearestWaypointListItemUiPaneUiPaneContainerUiPaneViewStackContainerUiSetValueTouchButtonUiToggleTouchButtonUiTouchButtonUiTouchSliderUiValueTouchButtonUiWaypointDisplayUiWaypointIconUiWaypointSelectButtonUiWaypointTouchButtonUserTimerValueDisplayValueTouchButtonVerticalDeviationIndicatorWaypointInfoWaypointInfoChartDisplayWaypointInfoInfoFocusableTouchButtonGduDisplayMfdPagePfdInsetPfdInstrumentsPluginComponentTabbedContentUiPaneContentUiViewBearingPointerDataFieldsBottomSectionContainerBottomSectionVer1BottomSectionVer2BottomSectionVer3CompassRoseElapsedTimeDisplayFloatingRadioItemFormatSwitchHSIArcHSIArcHeadingVectorHSIBearingPointerHSIContainerHSICourseNeedleHSIGhostNeedleHSIHeadingBugHSIPlanHSIRoseHSITcasHSITrackPointerLeftInfoPanelMenuContainerMinimumsDisplayNavSourceDataFieldNavSourcePresetNextradInfoPopupMenuPopupMenuSectionRadioBoxRadioBoxSelectRightInfoPanelTcasFlagTerrWxInfoTfcInfoWindVectorWT21_PFD_MsgInfoAirspeedIndicatorAirspeedSelectBoxAirspeedTrendVectorAltimeterAltPreselectBoxAoaIndicatorArtificialHorizonAttitudeDirectorIndicatorAttitudeIndicatorBaroPresetFlightDirectorFlightModeAnnunciatorLateralDeviationIndicatorLowerSectionContainerMachDisplayMarkerBeaconRadioAltimeterReversionFlagSpeedBugSpeedRangeUpperSectionContainerVerticalDeviationIndicatorVnavPreselectBoxVSIVSpeedValueCASCASAnnunciationCASOverlayFMSTextMfdHsiMfdTextPageComponentSystemsOverlayContainerTextPagesContainerUpperTextContainerWT21CduDisplayAbstractEngineIndicatorAltitudeArcBarTouchButtonBarTouchButtonArrowBarTouchButtonWithArrowAndSelectorButtonBoxArrowButtonMenuCheckBoxCompassRoseNumbersCompassRoseTicksCurrentHeadingDisplayDiamondListItemEpic2ListEpic2StartupDisplayComponentEpic2TouchListHeadingBugHeadingBugArrowHeadingFailureFlagInputBoxInputFieldKeyboardInputButtonListButtonListItemMapCompassArcMaskMapCompassOffsetModalNumberDisplayOutlinedElementRadioButtonScrollableBarTouchButtonScrollableButtonIconScrollListSectionOutlineSxmRadioBarTouchButtonTabbedContentContainerTabContentTabsTimeDisplayTouchButtonTouchButtonCheckboxAfcsSpeedBugAltitudeDigitalReadoutAltitudeTapeAltitudeTapeContainerAltitudeTrendVectorAnnunciatorApproachStatusAttitudeFailureFlagAutothrottleStatusBaroMinimumBugBaroSelectionBaseDetailPageBearingPointerBearingPointerSourcesDisplayCDIConfigurationLimitBugDegradedNavAlertDetailPageOptionDynamicSpeedBugExpandedLocalizerDisplayFlightPathAccelerationChevronFlightPathSpeedErrorFmaFmaSlotFmsMessageIconFmsSpeedBugGpwsGroundProxAlertGpwsPullUpAlertHorizonDisplayHorizonSectionContainerHSIContainerHsiDisplayHsiFullHsiMapMachDigitalReadoutMarkerBeaconMaxSpeedBugMetricAltitudeMinimumsAlertNavPreviewPfdAlertsPfdControllerStatePfdInfoRadioAltitudeDisplayRadioDetailWindowRadioSectionContainerRadioSubWindowRadioTuningWindowRangeNumberSelectedAltitudeSelectedAltitudeBugSelectedHeadingSelectedMinimumsSelectedNavSourceInfoSelectedSpeedSelectedSpeedBugSelectedVerticalSpeedSelectedVerticalSpeedBugSpeedDigitalReadoutSpeedTapeSpeedTapeContainerSpeedVectorStallAnnunciatorSteepApproachStatusSynVisAnnunciatorTakeoffVSpeedDisplayTcasAlertAnnunciatorTCASRingThrustDirectorTimeInfoTrafficAnnunciatorTurnRateIndicatorVerticalDeviationVerticalDeviationSourceVerticalSpeedContainerVerticalSpeedPointerVerticalTrackAlertVfrCodeRowVnavTargetAltitudeBugVnavTargetAltitudeReadoutVSpeedBugAbstractDetailPageAltitudeBugComponentSpeedBugComponentActivatePlanButtonBarChartsAirportDropdownLabelChartsDisplayChartSelectionDropdownChartViewerChartViewSideButtonsDestinationInfoFlightPlanAmendListItemFlightPlanConfigSectionFlightPlanConfigTopBarFlightPlanDirectListItemFlightPlanDiscoListItemFlightPlanDividerListItemFlightPlanDtoRandomListItemFlightPlanHoldListItemFlightPlanLabelListItemFlightPlanLegListItemFlightPlanListContextMenuFlightPlanListSectionFlightPlanLogControllerSectionFmsMessageWindowHoldButtonIconLineArrowIconPlaneAirportLandingIconPlaneAirportTakeOffIconPlaneLandingIconPlanePathIconPlaneRunwayIconPlaneTakeoffMfdMapMfdMapInfoMfdMapSideButtonsMfdMapTopButtonsRangeNumbersUpperMfdSectionVectorsButtonWaypointListHeaderAvionicsWindowTopBarCASChecklistItemBaseFcsSettingsRowPfdSettingsRowSystemConfigWindowSystemConfigWindowMenu
Type Parameters
| Type Parameter | Default type |
|---|---|
P | - |
Contexts extends unknown[] | [] |
Constructors
Constructor
new DisplayComponent<
P,Contexts>(props):DisplayComponent<P,Contexts>
Defined in: src/sdk/components/FSComponent.ts:73
Creates an instance of a DisplayComponent.
Parameters
| Parameter | Type | Description |
|---|---|---|
props | P | The propertis of the component. |
Returns
DisplayComponent<P, Contexts>
Properties
context?
optionalcontext: [...ContextSubcriptions<Contexts>[]] =undefined
Defined in: src/sdk/components/FSComponent.ts:64
The context on this component, if any.
contextType?
readonlyoptionalcontextType: readonly [ContextTypes<Contexts>] =undefined
Defined in: src/sdk/components/FSComponent.ts:67
The type of context for this component, if any.
props
props:
P&ComponentProps
Defined in: src/sdk/components/FSComponent.ts:61
The properties of the component.
Methods
destroy()
destroy():
void
Defined in: src/sdk/components/FSComponent.ts:98
Destroys this component.
Returns
void
getContext()
protectedgetContext(context):ContextSubcriptions<Contexts>[number]
Defined in: src/sdk/components/FSComponent.ts:106
Gets a context data subscription from the context collection.
Parameters
| Parameter | Type | Description |
|---|---|---|
context | ContextTypes<Contexts>[number] | The context to get the subscription for. |
Returns
ContextSubcriptions<Contexts>[number]
The requested context.
Throws
An error if no data for the specified context type could be found.
onAfterRender()
onAfterRender(
node):void
Defined in: src/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
onBeforeRender()
onBeforeRender():
void
Defined in: src/sdk/components/FSComponent.ts:80
A callback that is called before the component is rendered.
Returns
void
render()
abstractrender():null|VNode
Defined in: src/sdk/components/FSComponent.ts:93
Renders the component.
Returns
null | VNode
A JSX element to be rendered.