Class: FlightPlanSegmentListData
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/FlightPlanSegmentListData.ts:14
Represents a flight plan segment in a list. Wraps a FlightPlanSegmentData object. Contains fields specific to flight plan lists.
Implements
Constructors
Constructor
new FlightPlanSegmentListData(
segmentData
,store
,listManager
):FlightPlanSegmentListData
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/FlightPlanSegmentListData.ts:43
Creates a new segment list data object.
Parameters
Parameter | Type | Description |
---|---|---|
segmentData | FlightPlanSegmentData | The flight plan segment data to wrap. |
store | FlightPlanStore | The flight plan store this belongs to. |
listManager | FlightPlanListManager | The list manager that this belongs to. |
Returns
FlightPlanSegmentListData
Properties
airwayText
readonly
airwayText:MappedSubject
<[undefined
|string
,boolean
],string
>
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/FlightPlanSegmentListData.ts:30
isCollapsed
readonly
isCollapsed:MappedSubject
<[boolean
,ReadonlySet
<FlightPlanSegment
>],boolean
>
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/FlightPlanSegmentListData.ts:22
Whether the segment is collapsed.
isVisible
readonly
isVisible:Subject
<boolean
>
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/FlightPlanSegmentListData.ts:19
Whether this list item is visible in the list.
Implementation of
FlightPlanBaseListData
.isVisible
segmentData
readonly
segmentData:FlightPlanSegmentData
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/FlightPlanSegmentListData.ts:44
The flight plan segment data to wrap.
type
readonly
type:"segment"
='segment'
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/FlightPlanSegmentListData.ts:16
The type of flight plan list item.
Implementation of
Methods
destroy()
destroy():
void
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/FlightPlan/FlightPlanSegmentListData.ts:50
Call when this segment is rmoved from the plan.
Returns
void