Class: FlightPlanSegmentListData
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
Creates a new segment list data object.
Parameters
Name | 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
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanSegmentListData.ts:43
Properties
airwayText
• Readonly
airwayText: MappedSubject
<[undefined
| string
, boolean
], string
>
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanSegmentListData.ts:30
isCollapsed
• Readonly
isCollapsed: MappedSubject
<[boolean
, ReadonlySet
<FlightPlanSegment
>], boolean
>
Whether the segment is collapsed.
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanSegmentListData.ts:22
isVisible
• Readonly
isVisible: Subject
<boolean
>
Whether this list item is visible in the list.
Implementation of
FlightPlanBaseListData.isVisible
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanSegmentListData.ts:19
segmentData
• Readonly
segmentData: FlightPlanSegmentData
The flight plan segment data to wrap.
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanSegmentListData.ts:44
type
• Readonly
type: "segment"
The type of flight plan list item.
Implementation of
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanSegmentListData.ts:16
Methods
destroy
▸ destroy(): void
Call when this segment is rmoved from the plan.
Returns
void
Defined in
src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/FlightPlan/FlightPlanSegmentListData.ts:50