Interface: GenericNumberInputProps
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControls2/GenericNumberInput.tsx:13
Component props for GenericNumberInput.
Extends
Properties
children?
optional
children:DisplayChildren
[]
Defined in: sdk/components/FSComponent.ts:122
The children of the display component.
Inherited from
class?
optional
class:string
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControls2/GenericNumberInput.tsx:55
CSS class(es) to apply to the root of the component.
digitizer()?
optional
digitizer: (value
,signValues
,digitValues
) =>void
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControls2/GenericNumberInput.tsx:25
A function which assigns values to individual sign and digit inputs based on the bound value.
Parameters
Parameter | Type | Description |
---|---|---|
value | number | The bound value. |
signValues | readonly Subject <-1 | 1 >[] | An array containing subjects which bind the values of the component's individual sign inputs. The order of the subjects is the same as the order of the sign inputs in the component's control subtree. |
digitValues | readonly Subject <number >[] | An array containing subjects which bind the values of the component's individual digit inputs. The order of the subjects is the same as the order of the digit inputs in the component's control subtree. |
Returns
void
editOnActivate?
optional
editOnActivate:boolean
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControls2/GenericNumberInput.tsx:52
Whether the first event activating the input should also edit the value.
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
Parameter | Type |
---|---|
direction | ScrollDirection |
Returns
FocusPosition
Inherited from
G1000UiControlProps
.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
G1000UiControlProps
.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
G1000UiControlProps
.isolateScroll
keyboardEntryDisabled?
optional
keyboardEntryDisabled:boolean
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControls2/GenericNumberInput.tsx:58
Whether keyboard entry should be disabled.
on0?
optional
on0:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
on1?
optional
on1:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
on2?
optional
on2:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
on3?
optional
on3:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
on4?
optional
on4:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
on5?
optional
on5:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
on6?
optional
on6:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
on7?
optional
on7:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
on8?
optional
on8:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
on9?
optional
on9:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onA?
optional
onA:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onAfterScroll()?
optional
onAfterScroll: (control
,index
) =>void
Defined in: sdk/components/controls/HardwareUiControl.tsx:62
An event called when the scroll operation has completed.
Parameters
Parameter | Type |
---|---|
control | HardwareUiControl |
index | number |
Returns
void
Inherited from
G1000UiControlProps
.onAfterScroll
onB?
optional
onB:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onBKSP?
optional
onBKSP:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onBlurred()?
optional
onBlurred: (source
) =>void
Defined in: sdk/components/controls/HardwareUiControl.tsx:47
An event called when the control loses focus.
Parameters
Parameter | Type |
---|---|
source | HardwareUiControl |
Returns
void
Inherited from
onC?
optional
onC:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onClr?
optional
onClr:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onClrLong?
optional
onClrLong:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onCom?
optional
onCom:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onCrs?
optional
onCrs:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onD?
optional
onD:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onDestroyed()?
optional
onDestroyed: (source
) =>void
Defined in: sdk/components/controls/HardwareUiControl.tsx:71
An event called when the control is destroyed.
Parameters
Parameter | Type |
---|---|
source | HardwareUiControl |
Returns
void
Inherited from
G1000UiControlProps
.onDestroyed
onDirectTo?
optional
onDirectTo:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
G1000UiControlProps
.onDirectTo
onDisabled()?
optional
onDisabled: (source
) =>void
Defined in: sdk/components/controls/HardwareUiControl.tsx:50
An event called when the control is disabled.
Parameters
Parameter | Type |
---|---|
source | HardwareUiControl |
Returns
void
Inherited from
G1000UiControlProps
.onDisabled
onDot?
optional
onDot:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onE?
optional
onE:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onEnabled()?
optional
onEnabled: (source
) =>void
Defined in: sdk/components/controls/HardwareUiControl.tsx:53
An event called when the control is enabled.
Parameters
Parameter | Type |
---|---|
source | HardwareUiControl |
Returns
void
Inherited from
onEnter?
optional
onEnter:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onF?
optional
onF:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onFocused()?
optional
onFocused: (source
) =>void
Defined in: sdk/components/controls/HardwareUiControl.tsx:44
An event called when the control is focused.
Parameters
Parameter | Type |
---|---|
source | HardwareUiControl |
Returns
void
Inherited from
onFPL?
optional
onFPL:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onG?
optional
onG:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onH?
optional
onH:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onHome?
optional
onHome:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onI?
optional
onI:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onInnerControlKnobDec?
optional
onInnerControlKnobDec:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
G1000UiControlProps
.onInnerControlKnobDec
onInnerControlKnobInc?
optional
onInnerControlKnobInc:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
G1000UiControlProps
.onInnerControlKnobInc
onInnerControlKnobPush?
optional
onInnerControlKnobPush:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
G1000UiControlProps
.onInnerControlKnobPush
onInputAccepted()?
optional
onInputAccepted: (value
) =>void
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControls2/GenericNumberInput.tsx:43
A function which responds to when an input value is accepted.
Parameters
Parameter | Type | Description |
---|---|---|
value | number | The accepted value. |
Returns
void
onInputRejected()?
optional
onInputRejected: (value
) =>void
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControls2/GenericNumberInput.tsx:49
A function which responds to when an input value is rejected.
Parameters
Parameter | Type | Description |
---|---|---|
value | number | The rejected value. |
Returns
void
onJ?
optional
onJ:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onJoystickDown?
optional
onJoystickDown:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
G1000UiControlProps
.onJoystickDown
onJoystickLeft?
optional
onJoystickLeft:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
G1000UiControlProps
.onJoystickLeft
onJoystickPush?
optional
onJoystickPush:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
G1000UiControlProps
.onJoystickPush
onJoystickRight?
optional
onJoystickRight:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
G1000UiControlProps
.onJoystickRight
onJoystickUp?
optional
onJoystickUp:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
G1000UiControlProps
.onJoystickUp
onK?
optional
onK:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onL?
optional
onL:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onLowerKnobDec?
optional
onLowerKnobDec:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
G1000UiControlProps
.onLowerKnobDec
onLowerKnobInc?
optional
onLowerKnobInc:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
G1000UiControlProps
.onLowerKnobInc
onM?
optional
onM:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onMenu?
optional
onMenu:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onN?
optional
onN:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onNav?
optional
onNav:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onO?
optional
onO:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onOuterControlKnobDec?
optional
onOuterControlKnobDec:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
G1000UiControlProps
.onOuterControlKnobDec
onOuterControlKnobInc?
optional
onOuterControlKnobInc:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
G1000UiControlProps
.onOuterControlKnobInc
onP?
optional
onP:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onPlusMinus?
optional
onPlusMinus:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
G1000UiControlProps
.onPlusMinus
onProc?
optional
onProc:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onQ?
optional
onQ:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onR?
optional
onR:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onRangeDec?
optional
onRangeDec:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
G1000UiControlProps
.onRangeDec
onRangeInc?
optional
onRangeInc:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
G1000UiControlProps
.onRangeInc
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
Parameter | Type |
---|---|
source | HardwareUiControl |
Returns
void
Inherited from
G1000UiControlProps
.onRegistered
onS?
optional
onS:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onScroll()?
optional
onScroll: (direction
) =>boolean
Defined in: sdk/components/controls/HardwareUiControl.tsx:59
An event called when the control is scrolled.
Parameters
Parameter | Type |
---|---|
direction | ScrollDirection |
Returns
boolean
Inherited from
onSPC?
optional
onSPC:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onT?
optional
onT:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onU?
optional
onU:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
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
Parameter | Type |
---|---|
source | HardwareUiControl |
Returns
void
Inherited from
G1000UiControlProps
.onUnregistered
onUpperKnobDec?
optional
onUpperKnobDec:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
G1000UiControlProps
.onUpperKnobDec
onUpperKnobInc?
optional
onUpperKnobInc:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
G1000UiControlProps
.onUpperKnobInc
onUpperKnobPush?
optional
onUpperKnobPush:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
G1000UiControlProps
.onUpperKnobPush
onV?
optional
onV:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onW?
optional
onW:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onX?
optional
onX:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onXpdr?
optional
onXpdr:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onY?
optional
onY:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
onZ?
optional
onZ:UiControlEventHandler
<G1000UiControl
<G1000UiControlProps
>>
Inherited from
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
Parameter | Type | Description |
---|---|---|
index | number | The index of the child control that was blurred. |
child | HardwareUiControl | The child control that was blurred. |
Returns
number
| BlurReconciliation
The index of the child to focus, or a blur reconciliation strategy.
Inherited from
G1000UiControlProps
.reconcileChildBlur
ref?
optional
ref:NodeReference
<any
>
Defined in: sdk/components/FSComponent.ts:125
A reference to the display component.
Inherited from
renderInactiveValue()?
optional
renderInactiveValue: (value
) =>string
|VNode
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControls2/GenericNumberInput.tsx:31
A function which renders the input's value when editing is not active. If defined, the output of the function replaces all rendered child components when editing is not active.
Parameters
Parameter | Type |
---|---|
value | number |
Returns
string
| VNode
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
G1000UiControlProps
.requireChildFocus
solidHighlightDuration?
optional
solidHighlightDuration:number
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControls2/GenericNumberInput.tsx:37
The duration, in milliseconds, of the applied solid highlight when this input is focused or edited. Defaults to 1000.
value
value:
Subject
<number
>
Defined in: workingtitle-instruments-g1000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG1000/Shared/UI/UiControls2/GenericNumberInput.tsx:15
A subject which is bound to the input value.