Class: FlightPlanLegListData
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/FlightPlanLegListData.ts:20
Represents a flight plan leg in a list. Wraps a FlightPlanLegData object. Contains fields specific to flight plan lists.
Implements
Constructors
Constructor
new FlightPlanLegListData(
legData
,segmentListData
,store
,unitsSettingManager
):FlightPlanLegListData
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/FlightPlanLegListData.ts:82
FlightPlanLegListData constructor.
Parameters
Parameter | Type | Description |
---|---|---|
legData | FlightPlanLegData | The flight plan leg data to wrap. |
segmentListData | undefined | FlightPlanSegmentListData | The segment list data that this leg belong's to. Not required for random direct to leg. |
store | FlightPlanStore | The flight plan store this belongs to. |
unitsSettingManager | UnitsUserSettingManager | The units setting manager. |
Returns
FlightPlanLegListData
Properties
airwayExitText
readonly
airwayExitText:MappedSubject
<[boolean
,undefined
|string
],string
>
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/FlightPlanLegListData.ts:35
Airway exit text.
displayDistance
readonly
displayDistance:NumberUnitSubject
<Distance
,SimpleUnit
<Distance
>>
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/FlightPlanLegListData.ts:65
The leg distance, but meant for display in a list. Can change when active leg, and more. Shows segment distance for collapsed airway exit.
displayDtk
readonly
displayDtk:BasicNavAngleSubject
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/FlightPlanLegListData.ts:59
The leg DTK for displaying in certain places like the flight plan page. Changes when this is the active leg and stuff like that.
displayEte
readonly
displayEte:NumberUnitSubject
<Duration
,SimpleUnit
<Duration
>>
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/FlightPlanLegListData.ts:70
Estimated time Enroute of the leg, in seconds duration. How long it will take to fly the leg. Shows the segment ETE for collapsed airway exit.
hasHiddenAirwayLegsBefore
readonly
hasHiddenAirwayLegsBefore:Subject
<boolean
>
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/FlightPlanLegListData.ts:32
Whether there are hidden airway legs before this one, should only apply to last leg in collapsed airway.
isFirstVisibleLegInSegment
readonly
isFirstVisibleLegInSegment:Subject
<boolean
>
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/FlightPlanLegListData.ts:29
Whether this leg is the first visible leg in a segment.
isFullyCollapsedAirwayExit
readonly
isFullyCollapsedAirwayExit:Subscribable
<boolean
>
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/FlightPlanLegListData.ts:55
isVisible
readonly
isVisible:Subscribable
<boolean
>
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/FlightPlanLegListData.ts:26
Whether this list item is visible in the list.
Implementation of
FlightPlanBaseListData
.isVisible
legData
readonly
legData:FlightPlanLegData
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/FlightPlanLegListData.ts:83
The flight plan leg data to wrap.
segmentListData
readonly
segmentListData:undefined
|FlightPlanSegmentListData
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/FlightPlanLegListData.ts:84
The segment list data that this leg belong's to. Not required for random direct to leg.
type
readonly
type:"leg"
='leg'
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/FlightPlanLegListData.ts:22
The type of flight plan list item.
Implementation of
Methods
destroy()
destroy():
void
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/FlightPlanLegListData.ts:211
Call when this leg is removed from the list.
Returns
void