Skip to main content

Class: RadioBoxBaro

The RadioBoxNumeric component.

Hierarchy

  • RadioBoxNumeric

    RadioBoxBaro

Constructors

constructor

new RadioBoxBaro(props): RadioBoxBaro

Creates an instance of a HardwareUiControl.

Parameters

NameTypeDescription
propsRadioBoxNumericPropsThe props for this component.

Returns

RadioBoxBaro

Inherited from

RadioBoxNumeric.constructor

Defined in

sdk/components/controls/HardwareUiControl.tsx:155

Properties

baroStd

Protected baroStd: boolean = false

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Menus/Components/RadioboxBaro.tsx:17


checkOnChange

Protected Readonly checkOnChange: Subject<boolean>

Overrides

RadioBoxNumeric.checkOnChange

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Menus/Components/RadioboxBaro.tsx:15


context

Optional context: [] = undefined

The context on this component, if any.

Inherited from

RadioBoxNumeric.context

Defined in

sdk/components/FSComponent.ts:64


contextType

Optional Readonly contextType: readonly [] = undefined

The type of context for this component, if any.

Inherited from

RadioBoxNumeric.contextType

Defined in

sdk/components/FSComponent.ts:67


el

Protected Readonly el: NodeReference<HTMLDivElement>

Overrides

RadioBoxNumeric.el

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Menus/Components/RadioboxBaro.tsx:12


focusedIndex

Protected focusedIndex: number = -1

Inherited from

RadioBoxNumeric.focusedIndex

Defined in

sdk/components/controls/HardwareUiControl.tsx:139


increments

Protected Readonly increments: Subscribable<number>

Inherited from

RadioBoxNumeric.increments

Defined in

workingtitle-instruments-wt21/shared/Menus/Components/RadioboxNumeric.tsx:40


inputRef

Protected Readonly inputRef: NodeReference<HTMLInputElement>

Overrides

RadioBoxNumeric.inputRef

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Menus/Components/RadioboxBaro.tsx:14


isChecked

Protected Readonly isChecked: Subject<boolean>

Overrides

RadioBoxNumeric.isChecked

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Menus/Components/RadioboxBaro.tsx:13


label

Protected Readonly label: Subject<string>

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Menus/Components/RadioboxBaro.tsx:18


max

Protected Readonly max: Subscribable<number>

Inherited from

RadioBoxNumeric.max

Defined in

workingtitle-instruments-wt21/shared/Menus/Components/RadioboxNumeric.tsx:46


min

Protected Readonly min: Subscribable<number>

Inherited from

RadioBoxNumeric.min

Defined in

workingtitle-instruments-wt21/shared/Menus/Components/RadioboxNumeric.tsx:43


pfdSettingsManager

Protected Readonly pfdSettingsManager: DefaultUserSettingManager<PFDSettings>

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Menus/Components/RadioboxBaro.tsx:11


props

props: RadioBoxNumericProps & ComponentProps

The properties of the component.

Inherited from

RadioBoxNumeric.props

Defined in

sdk/components/FSComponent.ts:61


registeredControls

Protected registeredControls: undefined | HardwareUiControl<GuiUiControlEvents, HardwareUiControlProps>[]

Inherited from

RadioBoxNumeric.registeredControls

Defined in

sdk/components/controls/HardwareUiControl.tsx:137


unitHpa

Protected unitHpa: boolean

Defined in

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


FOCUS_CLASS

Static Readonly FOCUS_CLASS: "highlight"

Inherited from

RadioBoxNumeric.FOCUS_CLASS

Defined in

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

Accessors

isDisabled

get isDisabled(): boolean

Gets whether or not the control is currently disabled.

Returns

boolean

True if disabled, false otherwise.

Inherited from

RadioBoxNumeric.isDisabled

Defined in

sdk/components/controls/HardwareUiControl.tsx:177


isFocused

get isFocused(): boolean

Gets whether or not the control is currently focused.

Returns

boolean

True if disabled, false otherwise.

Inherited from

RadioBoxNumeric.isFocused

Defined in

sdk/components/controls/HardwareUiControl.tsx:185


isIsolated

get isIsolated(): boolean

Gets whether or not the control is currently in scroll isolation.

Returns

boolean

True if currently in scroll isolation, false otherwise.

Inherited from

RadioBoxNumeric.isIsolated

Defined in

sdk/components/controls/HardwareUiControl.tsx:193


length

get length(): number

Gets the current number of registered child controls.

Returns

number

The current number of registered child controls.

Inherited from

RadioBoxNumeric.length

Defined in

sdk/components/controls/HardwareUiControl.tsx:165

Methods

blur

blur(): void

Blurs, or removes focus, from the component.

Returns

void

Inherited from

RadioBoxNumeric.blur

Defined in

sdk/components/controls/HardwareUiControl.tsx:593


clearRegistered

clearRegistered(): void

Clears the list of registered components.

Returns

void

Inherited from

RadioBoxNumeric.clearRegistered

Defined in

sdk/components/controls/HardwareUiControl.tsx:793


destroy

destroy(): void

Returns

void

Inherit Doc

Inherited from

RadioBoxNumeric.destroy

Defined in

sdk/components/controls/HardwareUiControl.tsx:923


focus

focus(focusPosition): boolean

Brings focus to the control. Focusing the control will also blur the currently focused control, if any.

Parameters

NameTypeDescription
focusPositionFocusPositionThe focus position to activate for descendents of this control.

Returns

boolean

Whether this control was successfully focused.

Inherited from

RadioBoxNumeric.focus

Defined in

sdk/components/controls/HardwareUiControl.tsx:410


getChild

getChild(index): undefined | HardwareUiControl<GuiUiControlEvents, HardwareUiControlProps>

Gets a child control at the specified index.

Parameters

NameTypeDescription
indexnumberThe index of the child control to get.

Returns

undefined | HardwareUiControl<GuiUiControlEvents, HardwareUiControlProps>

The specified child control.

Inherited from

RadioBoxNumeric.getChild

Defined in

sdk/components/controls/HardwareUiControl.tsx:859


getContext

getContext(context): never

Gets a context data subscription from the context collection.

Parameters

NameTypeDescription
contextneverThe context to get the subscription for.

Returns

never

The requested context.

Throws

An error if no data for the specified context type could be found.

Inherited from

RadioBoxNumeric.getContext

Defined in

sdk/components/FSComponent.ts:106


getFocusPositionOnScroll

getFocusPositionOnScroll(direction): FocusPosition

Gets the focus position to apply when this control is focused from a scroll.

Parameters

NameTypeDescription
directionScrollDirectionThe direction of the scroll.

Returns

FocusPosition

The focus position to apply when this control is focused from a scroll.

Inherited from

RadioBoxNumeric.getFocusPositionOnScroll

Defined in

sdk/components/controls/HardwareUiControl.tsx:250


getFocusedIndex

getFocusedIndex(): number

Gets the current focused index in the registered controls collection.

Returns

number

The index of the focused control in the collection of registered controls.

Inherited from

RadioBoxNumeric.getFocusedIndex

Defined in

sdk/components/controls/HardwareUiControl.tsx:824


getMostRecentFocusedIndex

getMostRecentFocusedIndex(): number

Gets the most recent focused index (including the current focused index, if one exists) in the registered controls collection.

Returns

number

The index of the most recently focused control in the collection of registered controls.

Inherited from

RadioBoxNumeric.getMostRecentFocusedIndex

Defined in

sdk/components/controls/HardwareUiControl.tsx:833


indexOf

indexOf(child): number

Gets the index of a specified child control within the registered child controls collection.

Parameters

NameTypeDescription
childHardwareUiControl<GuiUiControlEvents, HardwareUiControlProps>The child to get the index of.

Returns

number

The index of the child, or -1 if not found.

Inherited from

RadioBoxNumeric.indexOf

Defined in

sdk/components/controls/HardwareUiControl.tsx:873


onAfterRender

onAfterRender(): void

Returns

void

Inherit Doc

Overrides

RadioBoxNumeric.onAfterRender

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Menus/Components/RadioboxBaro.tsx:49


onAfterScroll

onAfterScroll(control, index): void

An event called when a scroll operation has completed.

Parameters

NameTypeDescription
controlHardwareUiControl<GuiUiControlEvents, HardwareUiControlProps>The control that was scrolled to.
indexnumberThe index of the control in the collection of registered controls.

Returns

void

Inherited from

RadioBoxNumeric.onAfterScroll

Defined in

sdk/components/controls/HardwareUiControl.tsx:284


onBeforeRender

onBeforeRender(): void

A callback that is called before the component is rendered.

Returns

void

Inherited from

RadioBoxNumeric.onBeforeRender

Defined in

sdk/components/FSComponent.ts:80


onBlurred

onBlurred(): void

Returns

void

Inherit Doc

Inherited from

RadioBoxNumeric.onBlurred

Defined in

workingtitle-instruments-wt21/shared/Menus/Components/RadioboxNumeric.tsx:90


onDisabled

onDisabled(): void

Returns

void

Inherit Doc

Inherited from

RadioBoxNumeric.onDisabled

Defined in

workingtitle-instruments-wt21/shared/Menus/Components/RadioboxNumeric.tsx:95


onEnabled

onEnabled(): void

Returns

void

Inherit Doc

Inherited from

RadioBoxNumeric.onEnabled

Defined in

workingtitle-instruments-wt21/shared/Menus/Components/RadioboxNumeric.tsx:100


onFocused

onFocused(): void

Returns

void

Inherit Doc

Inherited from

RadioBoxNumeric.onFocused

Defined in

workingtitle-instruments-wt21/shared/Menus/Components/RadioboxNumeric.tsx:85


onInteractionEvent

onInteractionEvent(evt): boolean

Parameters

NameType
evtGuiHEvent

Returns

boolean

Inherit Doc

Inherited from

RadioBoxNumeric.onInteractionEvent

Defined in

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


onLowerKnobDec

onLowerKnobDec(source): boolean

Handles GUI lower knob decrease events.

Parameters

NameTypeDescription
sourceWT21UiControl<WT21UiControlProps>The source of the event.

Returns

boolean

Whether the event was handled.

Inherited from

RadioBoxNumeric.onLowerKnobDec

Defined in

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


onLowerKnobInc

onLowerKnobInc(source): boolean

Handles GUI lower knob increase events.

Parameters

NameTypeDescription
sourceWT21UiControl<WT21UiControlProps>The source of the event.

Returns

boolean

Whether the event was handled.

Inherited from

RadioBoxNumeric.onLowerKnobInc

Defined in

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


onLowerMenuPush

onLowerMenuPush(source): boolean

Handles MFD LWR menu push events. (not implemented)

Parameters

NameTypeDescription
sourceWT21UiControl<WT21UiControlProps>The source of the event.

Returns

boolean

Whether the event was handled.

Inherited from

RadioBoxNumeric.onLowerMenuPush

Defined in

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


onMfdEsc

onMfdEsc(source): boolean

Handles MFD esc events. (not implemented)

Parameters

NameTypeDescription
sourceWT21UiControl<WT21UiControlProps>The source of the event.

Returns

boolean

Whether the event was handled.

Inherited from

RadioBoxNumeric.onMfdEsc

Defined in

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


onPfdEsc

onPfdEsc(source): boolean

Handles PFD esc events. (not implemented)

Parameters

NameTypeDescription
sourceWT21UiControl<WT21UiControlProps>The source of the event.

Returns

boolean

Whether the event was handled.

Inherited from

RadioBoxNumeric.onPfdEsc

Defined in

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


onPfdMenuPush

onPfdMenuPush(source): boolean

Handles PFD menu push events. (not implemented)

Parameters

NameTypeDescription
sourceWT21UiControl<WT21UiControlProps>The source of the event.

Returns

boolean

Whether the event was handled.

Inherited from

RadioBoxNumeric.onPfdMenuPush

Defined in

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


onRefsMenuPush

onRefsMenuPush(source): boolean

Handles REFS menu push events. (not implemented)

Parameters

NameTypeDescription
sourceWT21UiControl<WT21UiControlProps>The source of the event.

Returns

boolean

Whether the event was handled.

Inherited from

RadioBoxNumeric.onRefsMenuPush

Defined in

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


onRegistered

onRegistered(source): void

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

Parameters

NameTypeDescription
sourceHardwareUiControl<GuiUiControlEvents, HardwareUiControlProps>The control that emitted this event.

Returns

void

Inherited from

RadioBoxNumeric.onRegistered

Defined in

sdk/components/controls/HardwareUiControl.tsx:233


onScroll

onScroll(direction): boolean

An event called when the control is scrolled.

Parameters

NameTypeDescription
directionScrollDirectionThe direction that is being requested to scroll.

Returns

boolean

True if this control handled this event, false otherwise.

Inherited from

RadioBoxNumeric.onScroll

Defined in

sdk/components/controls/HardwareUiControl.tsx:263


onSoftkey1L

onSoftkey1L(source): boolean

Parameters

NameType
sourceWT21UiControl<WT21UiControlProps>

Returns

boolean

Inherit Doc

Inherited from

RadioBoxNumeric.onSoftkey1L

Defined in

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


onSoftkey1R

onSoftkey1R(source): boolean

Parameters

NameType
sourceWT21UiControl<WT21UiControlProps>

Returns

boolean

Inherit Doc

Inherited from

RadioBoxNumeric.onSoftkey1R

Defined in

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


onSoftkey2L

onSoftkey2L(source): boolean

Parameters

NameType
sourceWT21UiControl<WT21UiControlProps>

Returns

boolean

Inherit Doc

Inherited from

RadioBoxNumeric.onSoftkey2L

Defined in

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


onSoftkey2R

onSoftkey2R(source): boolean

Parameters

NameType
sourceWT21UiControl<WT21UiControlProps>

Returns

boolean

Inherit Doc

Inherited from

RadioBoxNumeric.onSoftkey2R

Defined in

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


onSoftkey3L

onSoftkey3L(source): boolean

Parameters

NameType
sourceWT21UiControl<WT21UiControlProps>

Returns

boolean

Inherit Doc

Inherited from

RadioBoxNumeric.onSoftkey3L

Defined in

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


onSoftkey3R

onSoftkey3R(source): boolean

Parameters

NameType
sourceWT21UiControl<WT21UiControlProps>

Returns

boolean

Inherit Doc

Inherited from

RadioBoxNumeric.onSoftkey3R

Defined in

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


onSoftkey4L

onSoftkey4L(source): boolean

Parameters

NameType
sourceWT21UiControl<WT21UiControlProps>

Returns

boolean

Inherit Doc

Inherited from

RadioBoxNumeric.onSoftkey4L

Defined in

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


onSoftkey4R

onSoftkey4R(source): boolean

Parameters

NameType
sourceWT21UiControl<WT21UiControlProps>

Returns

boolean

Inherit Doc

Inherited from

RadioBoxNumeric.onSoftkey4R

Defined in

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


onUnregistered

onUnregistered(source): void

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

Parameters

NameTypeDescription
sourceHardwareUiControl<GuiUiControlEvents, HardwareUiControlProps>The control that emitted this event.

Returns

void

Inherited from

RadioBoxNumeric.onUnregistered

Defined in

sdk/components/controls/HardwareUiControl.tsx:241


onUpperKnobDec

onUpperKnobDec(): boolean

Returns

boolean

Inherit Doc

Overrides

RadioBoxNumeric.onUpperKnobDec

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Menus/Components/RadioboxBaro.tsx:29


onUpperKnobInc

onUpperKnobInc(): boolean

Returns

boolean

Inherit Doc

Overrides

RadioBoxNumeric.onUpperKnobInc

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Menus/Components/RadioboxBaro.tsx:21


onUpperKnobPush

onUpperKnobPush(): boolean

Returns

boolean

Inherit Doc

Overrides

RadioBoxNumeric.onUpperKnobPush

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Menus/Components/RadioboxBaro.tsx:37


onUpperMenuPush

onUpperMenuPush(source): boolean

Handles MFD UPR menu push events. (not implemented)

Parameters

NameTypeDescription
sourceWT21UiControl<WT21UiControlProps>The source of the event.

Returns

boolean

Whether the event was handled.

Inherited from

RadioBoxNumeric.onUpperMenuPush

Defined in

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


reconcileChildBlur

reconcileChildBlur(index, child): number | BlurReconciliation

Reconciles the focus state of this control's children when this control is focused with no focused children after a child has been blurred.

Parameters

NameTypeDescription
indexnumberThe index of the child control that was blurred. If the child is no longer registered, then this is the index of the child prior to being unregistered.
childHardwareUiControl<GuiUiControlEvents, HardwareUiControlProps>The child control that was blurred.

Returns

number | BlurReconciliation

The index of the child control to focus.

Inherited from

RadioBoxNumeric.reconcileChildBlur

Defined in

sdk/components/controls/HardwareUiControl.tsx:688


register

register(control, index?): void

Registers a child control with this control.

Parameters

NameTypeDescription
controlHardwareUiControl<GuiUiControlEvents, HardwareUiControlProps>The control to register.
index?numberThe index at which to register the control. If none is provided, the control will be registered at the end of the collection of child controls.

Returns

void

Inherited from

RadioBoxNumeric.register

Defined in

sdk/components/controls/HardwareUiControl.tsx:722


render

render(): VNode

Returns

VNode

Inherit Doc

Overrides

RadioBoxNumeric.render

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Menus/Components/RadioboxBaro.tsx:89


scroll

scroll(direction): boolean

Scrolls the currently focused control in the supplied direction.

Parameters

NameTypeDescription
directionScrollDirectionThe direction that is being requested to scroll.

Returns

boolean

True if propagation should be stopped, false otherwise.

Inherited from

RadioBoxNumeric.scroll

Defined in

sdk/components/controls/HardwareUiControl.tsx:293


setDisabled

setDisabled(isDisabled): void

Sets the component to be disabled, removing the ability for the component to scroll. Setting a component to disabled will also blur the component and its children, if necessary.

Parameters

NameTypeDescription
isDisabledbooleanWhether or not the component is disabled.

Returns

void

Inherited from

RadioBoxNumeric.setDisabled

Defined in

sdk/components/controls/HardwareUiControl.tsx:705


setFocusedIndex

setFocusedIndex(index, focusPosition?): void

Sets the current most recently focused child control index. If this control is focused and has children that have focus, this will also switch child focus to the new index.

Parameters

NameTypeDefault valueDescription
indexnumberundefinedThe index of the child control to set most recent focus for.
focusPositionFocusPositionFocusPosition.MostRecentThe focus position to focus the child for, if required.

Returns

void

Inherited from

RadioBoxNumeric.setFocusedIndex

Defined in

sdk/components/controls/HardwareUiControl.tsx:843


setIsolated

setIsolated(isolated): void

Sets whether or not this control is in scroll isolation. While scroll isolation is enabled, scroll events will not propagate to the control's parent when the control has focus.

Parameters

NameTypeDescription
isolatedbooleanWhether or not the control is isolated.

Returns

void

Inherited from

RadioBoxNumeric.setIsolated

Defined in

sdk/components/controls/HardwareUiControl.tsx:895


setParent

setParent(parent): void

Sets the parent of this control.

Parameters

NameTypeDescription
parentHardwareUiControl<GuiUiControlEvents, HardwareUiControlProps>The parent to set.

Returns

void

Inherited from

RadioBoxNumeric.setParent

Defined in

sdk/components/controls/HardwareUiControl.tsx:885


triggerEvent

triggerEvent(event, source, ...args): boolean

Triggers an event on this control. The event will first be routed to the deepest focused descendent of this control and will propagate up the control tree until it is handled or there are no more controls to which to propagate.

Parameters

NameTypeDescription
eventGuiHEventThe event to trigger.
sourceHardwareUiControl<Record<string, any>, HardwareUiControlProps>The source of the event. Defaults to this if not supplied.
...argsany[]Additional arguments to pass to the event handler.

Returns

boolean

True if the event was handled, false otherwise.

Inherited from

RadioBoxNumeric.triggerEvent

Defined in

sdk/components/controls/HardwareUiControl.tsx:348


unregister

unregister(item): void

Unregisters a child control with this control.

Parameters

NameTypeDescription
itemnumber | HardwareUiControl<GuiUiControlEvents, HardwareUiControlProps>The child control or index of a child control to unregister. If a child control is provided, it will attempt to be located in the control's child registry and then removed. If an index is provided, the child control at that registered index will be removed.

Returns

void

Inherited from

RadioBoxNumeric.unregister

Defined in

sdk/components/controls/HardwareUiControl.tsx:748


updateBaro

updateBaro(increase?): void

Updates the correct SimVar.

Parameters

NameTypeDefault valueDescription
increasebooleantrueWhether the Simvar should be increased or not

Returns

void

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Menus/Components/RadioboxBaro.tsx:67


updateLabel

updateLabel(): void

Updates the label.

Returns

void

Defined in

workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Menus/Components/RadioboxBaro.tsx:80