Skip to main content

Class: SelectedAltitudeDialog

A dialog which allows the user to enter a selected altitude reference in feet.

Hierarchy

Constructors

constructor

new SelectedAltitudeDialog(props): SelectedAltitudeDialog

Parameters

NameType
propsSelectedAltitudeDialogProps

Returns

SelectedAltitudeDialog

Inherit Doc

Inherited from

AbstractSimpleUiNumberDialog.constructor

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractSimpleUiNumberDialog.tsx:27

Properties

_knobLabelState

Protected Readonly _knobLabelState: FilteredMapSubject<UiKnobId, string>

Inherited from

AbstractSimpleUiNumberDialog._knobLabelState

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/AbstractUiView.ts:13


activeInputDef

Protected Optional activeInputDef: UiNumberDialogInputDefinition

Inherited from

AbstractSimpleUiNumberDialog.activeInputDef

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:80


backButtonImgSrc

Protected Readonly backButtonImgSrc: Subject<string>

Inherited from

AbstractSimpleUiNumberDialog.backButtonImgSrc

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:76


backButtonLabel

Protected Readonly backButtonLabel: Subject<string>

Inherited from

AbstractSimpleUiNumberDialog.backButtonLabel

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:75


backRef

Protected Readonly backRef: NodeReference<ImgTouchButton>

Inherited from

AbstractSimpleUiNumberDialog.backRef

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:69


backspaceRef

Protected Readonly backspaceRef: NodeReference<ImgTouchButton>

Inherited from

AbstractSimpleUiNumberDialog.backspaceRef

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:68


context

Optional context: [] = undefined

The context on this component, if any.

Inherited from

AbstractSimpleUiNumberDialog.context

Defined in

src/sdk/components/FSComponent.ts:64


contextType

Optional Readonly contextType: readonly [] = undefined

The type of context for this component, if any.

Inherited from

AbstractSimpleUiNumberDialog.contextType

Defined in

src/sdk/components/FSComponent.ts:67


enterRef

Protected Readonly enterRef: NodeReference<ImgTouchButton>

Inherited from

AbstractSimpleUiNumberDialog.enterRef

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:70


focusController

Protected Readonly focusController: UiFocusController

Inherited from

AbstractSimpleUiNumberDialog.focusController

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/AbstractUiView.ts:17


inputContainerRef

Protected Readonly inputContainerRef: NodeReference<HTMLDivElement>

Inherited from

AbstractSimpleUiNumberDialog.inputContainerRef

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:66


inputDefinitions

Protected Readonly inputDefinitions: Map<string, UiNumberDialogInputDefinition>

Inherited from

AbstractSimpleUiNumberDialog.inputDefinitions

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:78


inputRef

Protected Readonly inputRef: NodeReference<NumberInput>

Inherited from

AbstractSimpleUiNumberDialog.inputRef

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractSimpleUiNumberDialog.tsx:21


isAlive

Protected isAlive: boolean = true

Inherited from

AbstractSimpleUiNumberDialog.isAlive

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:87


isEnterButtonEnabled

Protected Readonly isEnterButtonEnabled: Subject<boolean>

Whether the enter button is enabled.

Inherited from

AbstractSimpleUiNumberDialog.isEnterButtonEnabled

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:96


knobLabelState

Readonly knobLabelState: SubscribableMap<UiKnobId, string> & Subscribable<UiKnobRequestedLabelState>

The bezel rotary knob label state requested by this view.

Inherited from

AbstractSimpleUiNumberDialog.knobLabelState

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/AbstractUiView.ts:15


numpadRef

Protected Readonly numpadRef: NodeReference<NumberPad>

Inherited from

AbstractSimpleUiNumberDialog.numpadRef

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:67


props

props: SelectedAltitudeDialogProps & ComponentProps

The properties of the component.

Inherited from

AbstractSimpleUiNumberDialog.props

Defined in

src/sdk/components/FSComponent.ts:61


resolveFunction

Protected Optional resolveFunction: (value: any) => void

Type declaration

▸ (value): void

Parameters
NameType
valueany
Returns

void

Inherited from

AbstractSimpleUiNumberDialog.resolveFunction

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:82


resultObject

Protected resultObject: UiDialogResult<number>

Inherited from

AbstractSimpleUiNumberDialog.resultObject

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:83


rootCssClass

Protected Readonly rootCssClass: SetSubject<string>

Inherited from

AbstractSimpleUiNumberDialog.rootCssClass

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:71


showDecimalButton

Protected Readonly showDecimalButton: Subject<boolean>

Whether the decimal button is shown. Defaults to false.

Inherited from

AbstractSimpleUiNumberDialog.showDecimalButton

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:93


showSignButton

Protected Readonly showSignButton: Subject<boolean>

Whether the sign button is shown. Defaults to false.

Inherited from

AbstractSimpleUiNumberDialog.showSignButton

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:90


title

Protected Readonly title: Subject<string>

Inherited from

AbstractSimpleUiNumberDialog.title

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:73


value

Protected Readonly value: Subject<number>

This dialog's current selected value.

Inherited from

AbstractSimpleUiNumberDialog.value

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractSimpleUiNumberDialog.tsx:24

Methods

cleanupRequest

cleanupRequest(): void

Clears this dialog's pending request and fulfills the pending request Promise if one exists.

Returns

void

Inherited from

AbstractSimpleUiNumberDialog.cleanupRequest

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:326


createFocusController

createFocusController(): UiFocusController

Creates a new focus controller for this view.

Returns

UiFocusController

A new focus controller.

Inherited from

AbstractSimpleUiNumberDialog.createFocusController

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/AbstractUiView.ts:23


destroy

destroy(): void

Destroys this component.

Returns

void

Overrides

AbstractSimpleUiNumberDialog.destroy

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Views/SelectedAltitudeDialog/SelectedAltitudeDialog.tsx:277


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

AbstractSimpleUiNumberDialog.getContext

Defined in

src/sdk/components/FSComponent.ts:106


getInvalidValueMessage

getInvalidValueMessage(): string | VNode

Gets the message to display when attempting to return an invalid value.

Returns

string | VNode

The message to display when attempting to return an invalid value.

Overrides

AbstractSimpleUiNumberDialog.getInvalidValueMessage

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Views/SelectedAltitudeDialog/SelectedAltitudeDialog.tsx:106


getInvalidValueMessageDialogLayerAndKey

getInvalidValueMessageDialogLayerAndKey(): [UiViewStackLayer, string]

Gets the view stack layer and key of the message dialog to open to display the invalid value message.

Returns

[UiViewStackLayer, string]

The view stack layer and key of the message dialog to open to display the invalid value message, as [layer, key].

Inherited from

AbstractSimpleUiNumberDialog.getInvalidValueMessageDialogLayerAndKey

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:319


getPayload

getPayload(value): number

Gets the payload for a completed request.

Parameters

NameTypeDescription
valuenumberThe numeric value to return with the request.

Returns

number

The payload for a completed request.

Overrides

AbstractSimpleUiNumberDialog.getPayload

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Views/SelectedAltitudeDialog/SelectedAltitudeDialog.tsx:113


getRootCssClassName

getRootCssClassName(): string

Gets the CSS class name (singular) for this dialog's root element.

Returns

string

The CSS class name (singular) for this dialog's root element.

Overrides

AbstractSimpleUiNumberDialog.getRootCssClassName

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Views/SelectedAltitudeDialog/SelectedAltitudeDialog.tsx:118


isValueValid

isValueValid(value): boolean

Checks if a value is valid to be returned for a request.

Parameters

NameTypeDescription
valuenumberThe value to check.

Returns

boolean

Whether the specified value is valid to be returned for a request.

Overrides

AbstractSimpleUiNumberDialog.isValueValid

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Views/SelectedAltitudeDialog/SelectedAltitudeDialog.tsx:123


onAfterRender

onAfterRender(): void

A callback that is called after the component is rendered.

Returns

void

Overrides

AbstractSimpleUiNumberDialog.onAfterRender

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Views/SelectedAltitudeDialog/SelectedAltitudeDialog.tsx:59


onBackPressed

onBackPressed(): void

Responds to when this dialog's back/cancel button is pressed.

Returns

void

Inherited from

AbstractSimpleUiNumberDialog.onBackPressed

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:376


onBackspacePressed

onBackspacePressed(): void

Responds to when this dialog's backspace button is pressed.

Returns

void

Overrides

AbstractSimpleUiNumberDialog.onBackspacePressed

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Views/SelectedAltitudeDialog/SelectedAltitudeDialog.tsx:129


onBeforeRender

onBeforeRender(): void

A callback that is called before the component is rendered.

Returns

void

Inherited from

AbstractSimpleUiNumberDialog.onBeforeRender

Defined in

src/sdk/components/FSComponent.ts:80


onCleanupRequest

onCleanupRequest(): void

A callback method which is called when this dialog cleans up a request. This method is called before the pending request Promise is fulfilled, if one exists.

Returns

void

Inherited from

AbstractSimpleUiNumberDialog.onCleanupRequest

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:340


onClose

onClose(): void

Responds to when this view is closed.

Returns

void

Overrides

AbstractSimpleUiNumberDialog.onClose

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Views/SelectedAltitudeDialog/SelectedAltitudeDialog.tsx:86


onDecimalPressed

onDecimalPressed(): void

Called when this dialog's decimal button is pressed.

Returns

void

Inherited from

AbstractSimpleUiNumberDialog.onDecimalPressed

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:362


onEditingActiveChanged

onEditingActiveChanged(isEditingActive, activeInputDef): void

Responds to when the editing state of this dialog's active number input changes.

Parameters

NameTypeDescription
isEditingActivebooleanWhether editing is active.
activeInputDefUiNumberDialogInputDefinitionThe active input definition.

Returns

void

Inherited from

AbstractSimpleUiNumberDialog.onEditingActiveChanged

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:140


onEnterPressed

onEnterPressed(): void

Responds to when this dialog's enter button is pressed.

Returns

void

Inherited from

AbstractSimpleUiNumberDialog.onEnterPressed

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:383


onNumberPressed

onNumberPressed(value): void

Responds to when one of this dialog's number pad buttons is pressed.

Parameters

NameTypeDescription
valuenumberThe value of the button that was pressed.

Returns

void

Inherited from

AbstractSimpleUiNumberDialog.onNumberPressed

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:348


onOcclusionChange

onOcclusionChange(occlusionType): void

Responds to when the occlusion type applied to this view changes while this view is open.

Parameters

NameTypeDescription
occlusionTypeUiViewOcclusionTypeThe new occlusion type applied to this view.

Returns

void

Inherited from

AbstractSimpleUiNumberDialog.onOcclusionChange

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/AbstractUiView.ts:56


onOpen

onOpen(sizeMode, dimensions): void

Responds to when this view is opened.

Parameters

NameTypeDescription
sizeModeUiViewSizeModeThe new size mode of this view's container.
dimensionsReadonly<Omit<Float64Array, "set" | "sort" | "copyWithin">>The new dimensions of this view's container, as [width, height] in pixels.

Returns

void

Overrides

AbstractSimpleUiNumberDialog.onOpen

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Views/SelectedAltitudeDialog/SelectedAltitudeDialog.tsx:77


onPause

onPause(): void

Responds to when this view is paused.

Returns

void

Inherited from

AbstractSimpleUiNumberDialog.onPause

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/AbstractUiView.ts:44


onRequest

onRequest(input): number

A callback method which is called when this dialog receives a request.

Parameters

NameTypeDescription
inputSelectedAltitudeDialogInputThe input for the request.

Returns

number

The initial numeric value to load into this dialog's number input.

Overrides

AbstractSimpleUiNumberDialog.onRequest

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Views/SelectedAltitudeDialog/SelectedAltitudeDialog.tsx:95


onResize

onResize(sizeMode, dimensions): void

Responds when this view's container is resized while it is open.

Parameters

NameTypeDescription
sizeModeUiViewSizeModeThe new size mode of this view's container.
dimensionsReadonly<Omit<Float64Array, "set" | "sort" | "copyWithin">>The new dimensions of this view's container, as [width, height] in pixels.

Returns

void

Inherited from

AbstractSimpleUiNumberDialog.onResize

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/AbstractUiView.ts:50


onResume

onResume(): void

Responds to when this view is resumed.

Returns

void

Inherited from

AbstractSimpleUiNumberDialog.onResume

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:225


onSignPressed

onSignPressed(): void

Called when this dialog's sign button is pressed.

Returns

void

Overrides

AbstractSimpleUiNumberDialog.onSignPressed

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Views/SelectedAltitudeDialog/SelectedAltitudeDialog.tsx:139


onUiInteractionEvent

onUiInteractionEvent(event): boolean

Handles a UiInteractionEvent.

Parameters

NameTypeDescription
eventUiInteractionEventThe event to handle.

Returns

boolean

Whether the event was handled.

Inherited from

AbstractSimpleUiNumberDialog.onUiInteractionEvent

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:230


onUpdate

onUpdate(time): void

Called every update cycle.

Parameters

NameTypeDescription
timenumberThe current real (operating system) time, as a Javascript timestamp.

Returns

void

Inherited from

AbstractSimpleUiNumberDialog.onUpdate

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/UiSystem/AbstractUiView.ts:62


registerInputDefinition

registerInputDefinition(key, def): void

Registers an input definition with this dialog. Definitions must be registered before they are requested as the active input in order to function properly.

Parameters

NameTypeDescription
keystringThe key to register the definition under. If an existing definition is already registered under the same key, it will be replaced.
defUiNumberDialogInputDefinitionThe definition to register.

Returns

void

Inherited from

AbstractSimpleUiNumberDialog.registerInputDefinition

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:105


render

render(): VNode

Renders the component.

Returns

VNode

A JSX element to be rendered.

Inherited from

AbstractSimpleUiNumberDialog.render

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:388


renderBackButton

renderBackButton(ref, rootCssClassName): null | VNode

Renders this dialog's back/cancel button.

Parameters

NameTypeDescription
refNodeReference<DisplayComponent<any, []>>The reference to which to assign the rendered button.
rootCssClassNameundefined | stringThe CSS class name for this dialog's root element.

Returns

null | VNode

This dialog's back/cancel button, as a VNode, or null if this dialog does not have a backspace button.

Inherited from

AbstractSimpleUiNumberDialog.renderBackButton

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:477


renderBackspaceButton

renderBackspaceButton(ref, rootCssClassName): null | VNode

Renders this dialog's backspace button.

Parameters

NameTypeDescription
refNodeReference<DisplayComponent<any, []>>The reference to which to assign the rendered button.
rootCssClassNameundefined | stringThe CSS class name for this dialog's root element.

Returns

null | VNode

This dialog's backspace button, as a VNode, or null if this dialog does not have a backspace button.

Inherited from

AbstractSimpleUiNumberDialog.renderBackspaceButton

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:459


renderEnterButton

renderEnterButton(ref, rootCssClassName): null | VNode

Renders this dialog's enter button.

Parameters

NameTypeDescription
refNodeReference<DisplayComponent<any, []>>The reference to which to assign the rendered button.
rootCssClassNameundefined | stringThe CSS class name for this dialog's root element.

Returns

null | VNode

This dialog's enter button, as a VNode, or null if this dialog does not have a backspace button.

Inherited from

AbstractSimpleUiNumberDialog.renderEnterButton

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:496


renderInput

renderInput(ref, value): VNode

Renders this dialog's number input.

Parameters

NameTypeDescription
refNodeReference<NumberInput>The reference to which to assign the rendered input.
valueMutableSubscribable<number, number>The value to bind to the input.

Returns

VNode

This dialog's number input, as a VNode.

Overrides

AbstractSimpleUiNumberDialog.renderInput

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Views/SelectedAltitudeDialog/SelectedAltitudeDialog.tsx:175


renderInputToContainer

renderInputToContainer(def): void

Renders one of this dialog's registered inputs to the input container.

Parameters

NameTypeDescription
defUiNumberDialogInputDefinitionThe definition for the input to render.

Returns

void

Inherited from

AbstractSimpleUiNumberDialog.renderInputToContainer

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:209


renderNumberPad

renderNumberPad(ref, rootCssClassName): VNode

Renders this dialog's number pad.

Parameters

NameTypeDescription
refNodeReference<NumberPad>The reference to which to assign the rendered number pad.
rootCssClassNameundefined | stringThe CSS class name for this dialog's root element.

Returns

VNode

This dialog's number pad, as a VNode.

Inherited from

AbstractSimpleUiNumberDialog.renderNumberPad

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:428


renderOtherContents

renderOtherContents(): null | VNode

Renders additional contents in this dialog's root container.

Returns

null | VNode

Additional contents in this dialog's root container, as a VNode, or null if there are no additional contents.

Overrides

AbstractSimpleUiNumberDialog.renderOtherContents

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Views/SelectedAltitudeDialog/SelectedAltitudeDialog.tsx:162


renderOtherNumberPadContents

renderOtherNumberPadContents(rootCssClassName): null | VNode

Renders additional contents in this dialog's number pad container.

Parameters

NameTypeDescription
rootCssClassNameundefined | stringThe CSS class name for this dialog's root element.

Returns

null | VNode

Additional contents in this dialog's number pad container, as a VNode, or null if there are no additional contents.

Inherited from

AbstractSimpleUiNumberDialog.renderOtherNumberPadContents

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:449


request

request(input): Promise<UiDialogResult<number>>

Requests a value from this dialog.

Parameters

NameTypeDescription
inputSelectedAltitudeDialogInputInput parameters defining the request.

Returns

Promise<UiDialogResult<number>>

A Promise which is fulfilled with the result of the request. The result will indicate whether the request was cancelled, and if the request was not cancelled, it will also contain the requested value.

Inherited from

AbstractSimpleUiNumberDialog.request

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractSimpleUiNumberDialog.tsx:39


resetActiveInput

resetActiveInput(key?, initialValue?, resetEditing?): void

Resets the active input.

Parameters

NameTypeDefault valueDescription
key?stringundefinedThe key of the input to set as the active input. Defaults to the key of the current active input.
initialValue?numberundefinedThe initial value to set on the new active input. If not defined, the new active input will retain its current value.
resetEditingbooleanfalseWhether to reset the editing state of this dialog, in effect resetting the Back/Cancel button on the button bar to Back. Defaults to false.

Returns

void

Inherited from

AbstractSimpleUiNumberDialog.resetActiveInput

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:178


setBackButtonStyle

setBackButtonStyle(style): void

Sets the style of this dialog's back/cancel button.

Parameters

NameTypeDescription
style"cancel" | "back"The style to set.

Returns

void

Inherited from

AbstractSimpleUiNumberDialog.setBackButtonStyle

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:124


validateValueAndClose

validateValueAndClose(): Promise<void>

Validates the currently selected value, and if valid sets the value to be returned for the currently pending request and closes this dialog.

Returns

Promise<void>

Inherited from

AbstractSimpleUiNumberDialog.validateValueAndClose

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/MFD/Dialogs/AbstractUiNumberDialog.tsx:261