Skip to main content

Interface: PfdSideButtonsRefs2MenuProps

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Menus/PfdSideButtonsRefs2Menu.tsx:10

Props for PfdSideButtonsRefsMenu

Extends

  • GuiDialogProps

Properties

bus

bus: EventBus

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Menus/PfdSideButtonsRefs2Menu.tsx:12

The event bus


children?

optional children: DisplayChildren[]

Defined in: sdk/components/FSComponent.ts:122

The children of the display component.

Inherited from

GuiDialogProps.children


cssClasses?

optional cssClasses: Subject<string>

Defined in: workingtitle-instruments-wt21/shared/UI/WT21UiControl.tsx:18

Custom CSS classes for this element

Inherited from

GuiDialogProps.cssClasses


disabled?

optional disabled: boolean

Defined in: workingtitle-instruments-wt21/shared/UI/WT21UiControl.tsx:15

If this control should be disabled

Inherited from

GuiDialogProps.disabled


getFocusPositionOnScroll()?

optional getFocusPositionOnScroll: (direction) => FocusPosition

Defined in: sdk/components/controls/HardwareUiControl.tsx:56

A function which returns how the control should focus its children when it is focused from a scroll.

Parameters

ParameterType
directionScrollDirection

Returns

FocusPosition

Inherited from

GuiDialogProps.getFocusPositionOnScroll


innerKnobScroll?

optional innerKnobScroll: boolean

Defined in: sdk/components/controls/HardwareUiControl.tsx:32

Whether or not the inner FMS knob scrolls also by default.

Inherited from

GuiDialogProps.innerKnobScroll


isolateScroll?

optional isolateScroll: boolean

Defined in: sdk/components/controls/HardwareUiControl.tsx:38

When enabled, scroll commands will not propagate from this control to its parent while the control is focused.

Inherited from

GuiDialogProps.isolateScroll


onAfterScroll()?

optional onAfterScroll: (control, index) => void

Defined in: sdk/components/controls/HardwareUiControl.tsx:62

An event called when the scroll operation has completed.

Parameters

ParameterType
controlHardwareUiControl
indexnumber

Returns

void

Inherited from

GuiDialogProps.onAfterScroll


onBlurred()?

optional onBlurred: (source) => void

Defined in: sdk/components/controls/HardwareUiControl.tsx:47

An event called when the control loses focus.

Parameters

ParameterType
sourceHardwareUiControl

Returns

void

Inherited from

GuiDialogProps.onBlurred


onDestroyed()?

optional onDestroyed: (source) => void

Defined in: sdk/components/controls/HardwareUiControl.tsx:71

An event called when the control is destroyed.

Parameters

ParameterType
sourceHardwareUiControl

Returns

void

Inherited from

GuiDialogProps.onDestroyed


onDisabled()?

optional onDisabled: (source) => void

Defined in: sdk/components/controls/HardwareUiControl.tsx:50

An event called when the control is disabled.

Parameters

ParameterType
sourceHardwareUiControl

Returns

void

Inherited from

GuiDialogProps.onDisabled


onEnabled()?

optional onEnabled: (source) => void

Defined in: sdk/components/controls/HardwareUiControl.tsx:53

An event called when the control is enabled.

Parameters

ParameterType
sourceHardwareUiControl

Returns

void

Inherited from

GuiDialogProps.onEnabled


onFocused()?

optional onFocused: (source) => void

Defined in: sdk/components/controls/HardwareUiControl.tsx:44

An event called when the control is focused.

Parameters

ParameterType
sourceHardwareUiControl

Returns

void

Inherited from

GuiDialogProps.onFocused


onLowerKnobDec?

optional onLowerKnobDec: UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onLowerKnobDec


onLowerKnobInc?

optional onLowerKnobInc: UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onLowerKnobInc


onLowerMenuPush?

optional onLowerMenuPush: UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onLowerMenuPush


onMfdEsc?

optional onMfdEsc: UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onMfdEsc


onPfdEsc?

optional onPfdEsc: UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onPfdEsc


onPfdMenuPush?

optional onPfdMenuPush: UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onPfdMenuPush


onRefsMenuPush?

optional onRefsMenuPush: UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onRefsMenuPush


onRegistered()?

optional onRegistered: (source) => void

Defined in: sdk/components/controls/HardwareUiControl.tsx:65

An event called when a control is registered with this control.

Parameters

ParameterType
sourceHardwareUiControl

Returns

void

Inherited from

GuiDialogProps.onRegistered


onScroll()?

optional onScroll: (direction) => boolean

Defined in: sdk/components/controls/HardwareUiControl.tsx:59

An event called when the control is scrolled.

Parameters

ParameterType
directionScrollDirection

Returns

boolean

Inherited from

GuiDialogProps.onScroll


onSoftkey1L?

optional onSoftkey1L: UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onSoftkey1L


onSoftkey1R?

optional onSoftkey1R: UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onSoftkey1R


onSoftkey2L?

optional onSoftkey2L: UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onSoftkey2L


onSoftkey2R?

optional onSoftkey2R: UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onSoftkey2R


onSoftkey3L?

optional onSoftkey3L: UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onSoftkey3L


onSoftkey3R?

optional onSoftkey3R: UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onSoftkey3R


onSoftkey4L?

optional onSoftkey4L: UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onSoftkey4L


onSoftkey4R?

optional onSoftkey4R: UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onSoftkey4R


onUnregistered()?

optional onUnregistered: (source) => void

Defined in: sdk/components/controls/HardwareUiControl.tsx:68

An event called when a control is unregistered with this control.

Parameters

ParameterType
sourceHardwareUiControl

Returns

void

Inherited from

GuiDialogProps.onUnregistered


onUpperKnobDec?

optional onUpperKnobDec: UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onUpperKnobDec


onUpperKnobInc?

optional onUpperKnobInc: UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onUpperKnobInc


onUpperKnobPush?

optional onUpperKnobPush: UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onUpperKnobPush


onUpperMenuPush?

optional onUpperMenuPush: UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onUpperMenuPush


planner

planner: FlightPlanner

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Menus/PfdSideButtonsRefs2Menu.tsx:15

An instance of the flight planner.


reconcileChildBlur()?

optional reconcileChildBlur: (index, child) => number | BlurReconciliation

Defined in: sdk/components/controls/HardwareUiControl.tsx:80

A function which reconciles the focus state of the control's children when the control is focused with no focused children after a child has been blurred.

Parameters

ParameterTypeDescription
indexnumberThe index of the child control that was blurred.
childHardwareUiControlThe child control that was blurred.

Returns

number | BlurReconciliation

The index of the child to focus, or a blur reconciliation strategy.

Inherited from

GuiDialogProps.reconcileChildBlur


ref?

optional ref: NodeReference<any>

Defined in: sdk/components/FSComponent.ts:125

A reference to the display component.

Inherited from

GuiDialogProps.ref


requireChildFocus?

optional requireChildFocus: boolean

Defined in: sdk/components/controls/HardwareUiControl.tsx:41

Whether the control requires one of its child controls to be focused for itself to be focused.

Inherited from

GuiDialogProps.requireChildFocus


viewService

viewService: MenuViewService

Defined in: workingtitle-instruments-wt21/shared/UI/GuiDialog.tsx:11

The menu view service.

Inherited from

GuiDialogProps.viewService