Skip to main content

Class: DisplayPaneUtils

Collection of functions for working with Display Panes.

Constructors

constructor

new DisplayPaneUtils(): DisplayPaneUtils

Returns

DisplayPaneUtils

Properties

ALL_INDEXES

Static Readonly ALL_INDEXES: readonly [LeftPfdInstrument, LeftPfd, LeftMfd, RightMfd, RightPfd, RightPfdInstrument]

An array of indexes of all display panes.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/DisplayPanes/DisplayPaneUtils.ts:6


CONTROLLABLE_INDEXES

Static Readonly CONTROLLABLE_INDEXES: readonly [LeftPfd, LeftMfd, RightMfd, RightPfd]

An array of indexes of display panes that are controllable by GTCs.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/DisplayPanes/DisplayPaneUtils.ts:16


MFD_INDEXES

Static Readonly MFD_INDEXES: readonly [LeftMfd, RightMfd]

An array of indexes of MFD display panes.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/DisplayPanes/DisplayPaneUtils.ts:36


PFD_INDEXES

Static Readonly PFD_INDEXES: readonly [LeftPfd, RightPfd]

An array of indexes of PFD display panes.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/DisplayPanes/DisplayPaneUtils.ts:30


PFD_INSTRUMENT_INDEXES

Static Readonly PFD_INSTRUMENT_INDEXES: readonly [LeftPfdInstrument, RightPfdInstrument]

An array of indexes of PFD instrument display panes.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/DisplayPanes/DisplayPaneUtils.ts:24

Methods

isControllableDisplayPaneIndex

isControllableDisplayPaneIndex(value): value is ControllableDisplayPaneIndex

Checks whether a value is a controllable display pane index.

Parameters

NameTypeDescription
valueunknownThe value to check.

Returns

value is ControllableDisplayPaneIndex

Whether the specified value is a controllable display pane index.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/DisplayPanes/DisplayPaneUtils.ts:46


isMfdDisplayPaneIndex

isMfdDisplayPaneIndex(value): value is LeftMfd | RightMfd

Checks whether a value is an MFD display pane index.

Parameters

NameTypeDescription
valueunknownThe value to check.

Returns

value is LeftMfd | RightMfd

Whether the specified value is an MFD display pane index.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/DisplayPanes/DisplayPaneUtils.ts:85


isPfdDisplayPaneIndex

isPfdDisplayPaneIndex(value): value is LeftPfd | RightPfd

Checks whether a value is a PFD display pane index.

Parameters

NameTypeDescription
valueunknownThe value to check.

Returns

value is LeftPfd | RightPfd

Whether the specified value is a PFD display pane index.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/DisplayPanes/DisplayPaneUtils.ts:72


isPfdInstrumentDisplayPaneIndex

isPfdInstrumentDisplayPaneIndex(value): value is LeftPfdInstrument | RightPfdInstrument

Checks whether a value is a PFD instrument display pane index.

Parameters

NameTypeDescription
valueunknownThe value to check.

Returns

value is LeftPfdInstrument | RightPfdInstrument

Whether the specified value is a PFD instrument display pane index.

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Components/DisplayPanes/DisplayPaneUtils.ts:59