Skip to main content

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

NameTypeDescription
segmentDataFlightPlanSegmentDataThe flight plan segment data to wrap.
storeFlightPlanStoreThe flight plan store this belongs to.
listManagerFlightPlanListManagerThe list manager that this belongs to.

Returns

FlightPlanSegmentListData

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

FlightPlanBaseListData.type

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