Skip to main content

Interface: PfdSideButtonsRefs1MenuProps

Props for PfdSideButtonsRefs1Menu

Hierarchy

  • GuiDialogProps

    PfdSideButtonsRefs1MenuProps

Properties

bus

bus: EventBus

The event bus

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Menus/PfdSideButtonsRefs1Menu.tsx:16


children

Optional children: DisplayChildren[]

The children of the display component.

Inherited from

GuiDialogProps.children

Defined in

sdk/components/FSComponent.ts:122


cssClasses

Optional cssClasses: Subject<string>

Custom CSS classes for this element

Inherited from

GuiDialogProps.cssClasses

Defined in

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


disabled

Optional disabled: boolean

If this control should be disabled

Inherited from

GuiDialogProps.disabled

Defined in

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


getFocusPositionOnScroll

Optional getFocusPositionOnScroll: (direction: ScrollDirection) => FocusPosition

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

Type declaration

▸ (direction): FocusPosition

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

Parameters
NameType
directionScrollDirection
Returns

FocusPosition

Inherited from

GuiDialogProps.getFocusPositionOnScroll

Defined in

sdk/components/controls/HardwareUiControl.tsx:56


innerKnobScroll

Optional innerKnobScroll: boolean

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

Inherited from

GuiDialogProps.innerKnobScroll

Defined in

sdk/components/controls/HardwareUiControl.tsx:32


isolateScroll

Optional isolateScroll: boolean

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

Inherited from

GuiDialogProps.isolateScroll

Defined in

sdk/components/controls/HardwareUiControl.tsx:38


onAfterScroll

Optional onAfterScroll: (control: HardwareUiControl<Record<string, any>, HardwareUiControlProps>, index: number) => void

An event called when the scroll operation has completed.

Type declaration

▸ (control, index): void

An event called when the scroll operation has completed.

Parameters
NameType
controlHardwareUiControl<Record<string, any>, HardwareUiControlProps>
indexnumber
Returns

void

Inherited from

GuiDialogProps.onAfterScroll

Defined in

sdk/components/controls/HardwareUiControl.tsx:62


onBlurred

Optional onBlurred: (source: HardwareUiControl<Record<string, any>, HardwareUiControlProps>) => void

An event called when the control loses focus.

Type declaration

▸ (source): void

An event called when the control loses focus.

Parameters
NameType
sourceHardwareUiControl<Record<string, any>, HardwareUiControlProps>
Returns

void

Inherited from

GuiDialogProps.onBlurred

Defined in

sdk/components/controls/HardwareUiControl.tsx:47


onDestroyed

Optional onDestroyed: (source: HardwareUiControl<Record<string, any>, HardwareUiControlProps>) => void

An event called when the control is destroyed.

Type declaration

▸ (source): void

An event called when the control is destroyed.

Parameters
NameType
sourceHardwareUiControl<Record<string, any>, HardwareUiControlProps>
Returns

void

Inherited from

GuiDialogProps.onDestroyed

Defined in

sdk/components/controls/HardwareUiControl.tsx:71


onDisabled

Optional onDisabled: (source: HardwareUiControl<Record<string, any>, HardwareUiControlProps>) => void

An event called when the control is disabled.

Type declaration

▸ (source): void

An event called when the control is disabled.

Parameters
NameType
sourceHardwareUiControl<Record<string, any>, HardwareUiControlProps>
Returns

void

Inherited from

GuiDialogProps.onDisabled

Defined in

sdk/components/controls/HardwareUiControl.tsx:50


onEnabled

Optional onEnabled: (source: HardwareUiControl<Record<string, any>, HardwareUiControlProps>) => void

An event called when the control is enabled.

Type declaration

▸ (source): void

An event called when the control is enabled.

Parameters
NameType
sourceHardwareUiControl<Record<string, any>, HardwareUiControlProps>
Returns

void

Inherited from

GuiDialogProps.onEnabled

Defined in

sdk/components/controls/HardwareUiControl.tsx:53


onFocused

Optional onFocused: (source: HardwareUiControl<Record<string, any>, HardwareUiControlProps>) => void

An event called when the control is focused.

Type declaration

▸ (source): void

An event called when the control is focused.

Parameters
NameType
sourceHardwareUiControl<Record<string, any>, HardwareUiControlProps>
Returns

void

Inherited from

GuiDialogProps.onFocused

Defined in

sdk/components/controls/HardwareUiControl.tsx:44


onLowerKnobDec

onLowerKnobDec: undefined | UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onLowerKnobDec


onLowerKnobInc

onLowerKnobInc: undefined | UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onLowerKnobInc


onLowerMenuPush

onLowerMenuPush: undefined | UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onLowerMenuPush


onMfdEsc

onMfdEsc: undefined | UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onMfdEsc


onPfdEsc

onPfdEsc: undefined | UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onPfdEsc


onPfdMenuPush

onPfdMenuPush: undefined | UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onPfdMenuPush


onRefsMenuPush

onRefsMenuPush: undefined | UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onRefsMenuPush


onRegistered

Optional onRegistered: (source: HardwareUiControl<Record<string, any>, HardwareUiControlProps>) => void

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

Type declaration

▸ (source): void

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

Parameters
NameType
sourceHardwareUiControl<Record<string, any>, HardwareUiControlProps>
Returns

void

Inherited from

GuiDialogProps.onRegistered

Defined in

sdk/components/controls/HardwareUiControl.tsx:65


onScroll

Optional onScroll: (direction: ScrollDirection) => boolean

An event called when the control is scrolled.

Type declaration

▸ (direction): boolean

An event called when the control is scrolled.

Parameters
NameType
directionScrollDirection
Returns

boolean

Inherited from

GuiDialogProps.onScroll

Defined in

sdk/components/controls/HardwareUiControl.tsx:59


onSoftkey1L

onSoftkey1L: undefined | UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onSoftkey1L


onSoftkey1R

onSoftkey1R: undefined | UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onSoftkey1R


onSoftkey2L

onSoftkey2L: undefined | UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onSoftkey2L


onSoftkey2R

onSoftkey2R: undefined | UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onSoftkey2R


onSoftkey3L

onSoftkey3L: undefined | UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onSoftkey3L


onSoftkey3R

onSoftkey3R: undefined | UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onSoftkey3R


onSoftkey4L

onSoftkey4L: undefined | UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onSoftkey4L


onSoftkey4R

onSoftkey4R: undefined | UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onSoftkey4R


onUnregistered

Optional onUnregistered: (source: HardwareUiControl<Record<string, any>, HardwareUiControlProps>) => void

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

Type declaration

▸ (source): void

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

Parameters
NameType
sourceHardwareUiControl<Record<string, any>, HardwareUiControlProps>
Returns

void

Inherited from

GuiDialogProps.onUnregistered

Defined in

sdk/components/controls/HardwareUiControl.tsx:68


onUpperKnobDec

onUpperKnobDec: undefined | UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onUpperKnobDec


onUpperKnobInc

onUpperKnobInc: undefined | UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onUpperKnobInc


onUpperKnobPush

onUpperKnobPush: undefined | UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onUpperKnobPush


onUpperMenuPush

onUpperMenuPush: undefined | UiControlEventHandler<WT21UiControl<WT21UiControlProps>>

Inherited from

GuiDialogProps.onUpperMenuPush


planner

planner: FlightPlanner<any>

An instance of the flight planner.

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Menus/PfdSideButtonsRefs1Menu.tsx:19


reconcileChildBlur

Optional reconcileChildBlur: (index: number, child: HardwareUiControl<Record<string, any>, HardwareUiControlProps>) => number | BlurReconciliation

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.

Param

The index of the child control that was blurred.

Param

The child control that was blurred.

Type declaration

▸ (index, child): number | BlurReconciliation

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
NameTypeDescription
indexnumberThe index of the child control that was blurred.
childHardwareUiControl<Record<string, any>, HardwareUiControlProps>The child control that was blurred.
Returns

number | BlurReconciliation

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

Inherited from

GuiDialogProps.reconcileChildBlur

Defined in

sdk/components/controls/HardwareUiControl.tsx:80


ref

Optional ref: NodeReference<any>

A reference to the display component.

Inherited from

GuiDialogProps.ref

Defined in

sdk/components/FSComponent.ts:125


requireChildFocus

Optional requireChildFocus: boolean

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

Inherited from

GuiDialogProps.requireChildFocus

Defined in

sdk/components/controls/HardwareUiControl.tsx:41


viewService

viewService: MenuViewService<Record<string, unknown>>

The menu view service.

Inherited from

GuiDialogProps.viewService

Defined in

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