Skip to main content

Class: RadioBoxSTD

Defined in: workingtitle-instruments-wt21/instruments/html_ui/Pages/VCockpit/Instruments/WT21/PFD/Menus/Components/RadioboxSTD.tsx:9

The RadioBoxNumeric component.

Extends

  • RadioBoxNumeric

Constructors

Constructor

new RadioBoxSTD(props): RadioBoxSTD

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

Creates an instance of a HardwareUiControl.

Parameters

ParameterTypeDescription
propsRadioBoxNumericPropsThe props for this component.

Returns

RadioBoxSTD

Inherited from

RadioBoxNumeric.constructor

Properties

baroStd

protected baroStd: boolean = false

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


checkOnChange

protected readonly checkOnChange: Subject<boolean>

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

Overrides

RadioBoxNumeric.checkOnChange


context?

optional context: [] = undefined

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

The context on this component, if any.

Inherited from

RadioBoxNumeric.context


contextType?

readonly optional contextType: readonly [] = undefined

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

The type of context for this component, if any.

Inherited from

RadioBoxNumeric.contextType


el

protected readonly el: NodeReference<HTMLDivElement>

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

Overrides

RadioBoxNumeric.el


focusedIndex

protected focusedIndex: number = -1

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

Inherited from

RadioBoxNumeric.focusedIndex


increments

protected readonly increments: Subscribable<number>

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

Inherited from

RadioBoxNumeric.increments


inputRef

protected readonly inputRef: NodeReference<HTMLInputElement>

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

Overrides

RadioBoxNumeric.inputRef


isChecked

protected readonly isChecked: Subject<boolean>

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

Overrides

RadioBoxNumeric.isChecked


label

protected readonly label: Subject<string>

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


max

protected readonly max: Subscribable<number>

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

Inherited from

RadioBoxNumeric.max


min

protected readonly min: Subscribable<number>

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

Inherited from

RadioBoxNumeric.min


pfdSettingsManager

protected readonly pfdSettingsManager: DefaultUserSettingManager<PFDSettings>

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


props

props: RadioBoxNumericProps & ComponentProps

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

The properties of the component.

Inherited from

RadioBoxNumeric.props


registeredControls

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

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

Inherited from

RadioBoxNumeric.registeredControls


unitHpa

protected unitHpa: boolean

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


FOCUS_CLASS

readonly static FOCUS_CLASS: "highlight" = 'highlight'

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

Inherited from

RadioBoxNumeric.FOCUS_CLASS

Accessors

isDisabled

Get Signature

get isDisabled(): boolean

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

Gets whether or not the control is currently disabled.

Returns

boolean

True if disabled, false otherwise.

Inherited from

RadioBoxNumeric.isDisabled


isFocused

Get Signature

get isFocused(): boolean

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

Gets whether or not the control is currently focused.

Returns

boolean

True if disabled, false otherwise.

Inherited from

RadioBoxNumeric.isFocused


isIsolated

Get Signature

get isIsolated(): boolean

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

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


length

Get Signature

get length(): number

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

Gets the current number of registered child controls.

Returns

number

The current number of registered child controls.

Inherited from

RadioBoxNumeric.length

Methods

blur()

blur(): void

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

Blurs, or removes focus, from the component.

Returns

void

Inherited from

RadioBoxNumeric.blur


clearRegistered()

clearRegistered(): void

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

Clears the list of registered components.

Returns

void

Inherited from

RadioBoxNumeric.clearRegistered


destroy()

destroy(): void

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

Returns

void

Inherit Doc

Inherited from

RadioBoxNumeric.destroy


focus()

focus(focusPosition): boolean

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

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

Parameters

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

Returns

boolean

Whether this control was successfully focused.

Inherited from

RadioBoxNumeric.focus


getChild()

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

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

Gets a child control at the specified index.

Parameters

ParameterTypeDescription
indexnumberThe index of the child control to get.

Returns

undefined | HardwareUiControl<GuiUiControlEvents, HardwareUiControlProps>

The specified child control.

Inherited from

RadioBoxNumeric.getChild


getContext()

protected getContext(context): never

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

Gets a context data subscription from the context collection.

Parameters

ParameterTypeDescription
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


getFocusedIndex()

getFocusedIndex(): number

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

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


getFocusPositionOnScroll()

protected getFocusPositionOnScroll(direction): FocusPosition

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

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

Parameters

ParameterTypeDescription
directionScrollDirectionThe direction of the scroll.

Returns

FocusPosition

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

Inherited from

RadioBoxNumeric.getFocusPositionOnScroll


getMostRecentFocusedIndex()

getMostRecentFocusedIndex(): number

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

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


indexOf()

indexOf(child): number

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

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

Parameters

ParameterTypeDescription
childHardwareUiControl<GuiUiControlEvents>The child to get the index of.

Returns

number

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

Inherited from

RadioBoxNumeric.indexOf


onAfterRender()

onAfterRender(): void

Defined in: workingtitle-instruments-wt21/shared/Menus/Components/RadioboxNumeric.tsx:105

Returns

void

Inherit Doc

Inherited from

RadioBoxNumeric.onAfterRender


onAfterScroll()

protected onAfterScroll(control, index): void

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

An event called when a scroll operation has completed.

Parameters

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

Returns

void

Inherited from

RadioBoxNumeric.onAfterScroll


onBeforeRender()

onBeforeRender(): void

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

A callback that is called before the component is rendered.

Returns

void

Inherited from

RadioBoxNumeric.onBeforeRender


onBlurred()

protected onBlurred(): void

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

Returns

void

Inherit Doc

Inherited from

RadioBoxNumeric.onBlurred


onDisabled()

protected onDisabled(): void

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

Returns

void

Inherit Doc

Inherited from

RadioBoxNumeric.onDisabled


onEnabled()

protected onEnabled(): void

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

Returns

void

Inherit Doc

Inherited from

RadioBoxNumeric.onEnabled


onFocused()

protected onFocused(): void

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

Returns

void

Inherit Doc

Inherited from

RadioBoxNumeric.onFocused


onInteractionEvent()

onInteractionEvent(evt): boolean

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

Parameters

ParameterType
evtGuiHEvent

Returns

boolean

Inherit Doc

Inherited from

RadioBoxNumeric.onInteractionEvent


onLowerKnobDec()

onLowerKnobDec(source): boolean

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

Handles GUI lower knob decrease events.

Parameters

ParameterTypeDescription
sourceWT21UiControlThe source of the event.

Returns

boolean

Whether the event was handled.

Inherited from

RadioBoxNumeric.onLowerKnobDec


onLowerKnobInc()

onLowerKnobInc(source): boolean

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

Handles GUI lower knob increase events.

Parameters

ParameterTypeDescription
sourceWT21UiControlThe source of the event.

Returns

boolean

Whether the event was handled.

Inherited from

RadioBoxNumeric.onLowerKnobInc


onLowerMenuPush()

onLowerMenuPush(source): boolean

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

Handles MFD LWR menu push events. (not implemented)

Parameters

ParameterTypeDescription
sourceWT21UiControlThe source of the event.

Returns

boolean

Whether the event was handled.

Inherited from

RadioBoxNumeric.onLowerMenuPush


onMfdEsc()

onMfdEsc(source): boolean

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

Handles MFD esc events. (not implemented)

Parameters

ParameterTypeDescription
sourceWT21UiControlThe source of the event.

Returns

boolean

Whether the event was handled.

Inherited from

RadioBoxNumeric.onMfdEsc


onPfdEsc()

onPfdEsc(source): boolean

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

Handles PFD esc events. (not implemented)

Parameters

ParameterTypeDescription
sourceWT21UiControlThe source of the event.

Returns

boolean

Whether the event was handled.

Inherited from

RadioBoxNumeric.onPfdEsc


onPfdMenuPush()

onPfdMenuPush(source): boolean

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

Handles PFD menu push events. (not implemented)

Parameters

ParameterTypeDescription
sourceWT21UiControlThe source of the event.

Returns

boolean

Whether the event was handled.

Inherited from

RadioBoxNumeric.onPfdMenuPush


onRefsMenuPush()

onRefsMenuPush(source): boolean

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

Handles REFS menu push events. (not implemented)

Parameters

ParameterTypeDescription
sourceWT21UiControlThe source of the event.

Returns

boolean

Whether the event was handled.

Inherited from

RadioBoxNumeric.onRefsMenuPush


onRegistered()

protected onRegistered(source): void

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

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

Parameters

ParameterTypeDescription
sourceHardwareUiControl<GuiUiControlEvents>The control that emitted this event.

Returns

void

Inherited from

RadioBoxNumeric.onRegistered


onScroll()

protected onScroll(direction): boolean

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

An event called when the control is scrolled.

Parameters

ParameterTypeDescription
directionScrollDirectionThe direction that is being requested to scroll.

Returns

boolean

True if this control handled this event, false otherwise.

Inherited from

RadioBoxNumeric.onScroll


onSoftkey1L()

onSoftkey1L(source): boolean

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

Parameters

ParameterType
sourceWT21UiControl

Returns

boolean

Inherit Doc

Inherited from

RadioBoxNumeric.onSoftkey1L


onSoftkey1R()

onSoftkey1R(source): boolean

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

Parameters

ParameterType
sourceWT21UiControl

Returns

boolean

Inherit Doc

Inherited from

RadioBoxNumeric.onSoftkey1R


onSoftkey2L()

onSoftkey2L(source): boolean

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

Parameters

ParameterType
sourceWT21UiControl

Returns

boolean

Inherit Doc

Inherited from

RadioBoxNumeric.onSoftkey2L


onSoftkey2R()

onSoftkey2R(source): boolean

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

Parameters

ParameterType
sourceWT21UiControl

Returns

boolean

Inherit Doc

Inherited from

RadioBoxNumeric.onSoftkey2R


onSoftkey3L()

onSoftkey3L(source): boolean

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

Parameters

ParameterType
sourceWT21UiControl

Returns

boolean

Inherit Doc

Inherited from

RadioBoxNumeric.onSoftkey3L


onSoftkey3R()

onSoftkey3R(source): boolean

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

Parameters

ParameterType
sourceWT21UiControl

Returns

boolean

Inherit Doc

Inherited from

RadioBoxNumeric.onSoftkey3R


onSoftkey4L()

onSoftkey4L(source): boolean

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

Parameters

ParameterType
sourceWT21UiControl

Returns

boolean

Inherit Doc

Inherited from

RadioBoxNumeric.onSoftkey4L


onSoftkey4R()

onSoftkey4R(source): boolean

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

Parameters

ParameterType
sourceWT21UiControl

Returns

boolean

Inherit Doc

Inherited from

RadioBoxNumeric.onSoftkey4R


onUnregistered()

protected onUnregistered(source): void

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

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

Parameters

ParameterTypeDescription
sourceHardwareUiControl<GuiUiControlEvents>The control that emitted this event.

Returns

void

Inherited from

RadioBoxNumeric.onUnregistered


onUpperKnobDec()

onUpperKnobDec(): boolean

Defined in: workingtitle-instruments-wt21/shared/Menus/Components/RadioboxNumeric.tsx:73

Returns

boolean

Inherit Doc

Inherited from

RadioBoxNumeric.onUpperKnobDec


onUpperKnobInc()

onUpperKnobInc(): boolean

Defined in: workingtitle-instruments-wt21/shared/Menus/Components/RadioboxNumeric.tsx:61

Returns

boolean

Inherit Doc

Inherited from

RadioBoxNumeric.onUpperKnobInc


onUpperKnobPush()

onUpperKnobPush(): boolean

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

Returns

boolean

Inherit Doc

Overrides

RadioBoxNumeric.onUpperKnobPush


onUpperMenuPush()

onUpperMenuPush(source): boolean

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

Handles MFD UPR menu push events. (not implemented)

Parameters

ParameterTypeDescription
sourceWT21UiControlThe source of the event.

Returns

boolean

Whether the event was handled.

Inherited from

RadioBoxNumeric.onUpperMenuPush


reconcileChildBlur()

protected reconcileChildBlur(index, child): number | BlurReconciliation

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

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

ParameterTypeDescription
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>The child control that was blurred.

Returns

number | BlurReconciliation

The index of the child control to focus.

Inherited from

RadioBoxNumeric.reconcileChildBlur


register()

register(control, index?): void

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

Registers a child control with this control.

Parameters

ParameterTypeDescription
controlHardwareUiControl<GuiUiControlEvents>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


render()

render(): VNode

Defined in: workingtitle-instruments-wt21/shared/Menus/Components/RadioboxNumeric.tsx:128

Returns

VNode

Inherit Doc

Inherited from

RadioBoxNumeric.render


scroll()

scroll(direction): boolean

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

Scrolls the currently focused control in the supplied direction.

Parameters

ParameterTypeDescription
directionScrollDirectionThe direction that is being requested to scroll.

Returns

boolean

True if propagation should be stopped, false otherwise.

Inherited from

RadioBoxNumeric.scroll


setDisabled()

setDisabled(isDisabled): void

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

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

ParameterTypeDescription
isDisabledbooleanWhether or not the component is disabled.

Returns

void

Inherited from

RadioBoxNumeric.setDisabled


setFocusedIndex()

setFocusedIndex(index, focusPosition): void

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

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

ParameterTypeDefault 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


setIsolated()

setIsolated(isolated): void

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

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

ParameterTypeDescription
isolatedbooleanWhether or not the control is isolated.

Returns

void

Inherited from

RadioBoxNumeric.setIsolated


setParent()

setParent(parent): void

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

Sets the parent of this control.

Parameters

ParameterTypeDescription
parentHardwareUiControl<GuiUiControlEvents>The parent to set.

Returns

void

Inherited from

RadioBoxNumeric.setParent


triggerEvent()

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

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

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

ParameterTypeDescription
eventGuiHEventThe event to trigger.
sourceHardwareUiControlThe 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


unregister()

unregister(item): void

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

Unregisters a child control with this control.

Parameters

ParameterTypeDescription
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