Skip to main content

Class: DialGauge

Defined in: workingtitle-instruments-epic2/shared/Components/Eis/DialGauge.tsx:42

A DialGauge

Extends

Constructors

Constructor

new DialGauge(props): DialGauge

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

Creates an instance of a DisplayComponent.

Parameters

ParameterTypeDescription
propsDialGaugePropsThe propertis of the component.

Returns

DialGauge

Inherited from

AbstractEngineGauge.constructor

Properties

context?

optional context: [] = undefined

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

The context on this component, if any.

Inherited from

AbstractEngineGauge.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

AbstractEngineGauge.contextType


DISPLAY_VALUE_FORMATTER()

protected readonly DISPLAY_VALUE_FORMATTER: (number) => string

Defined in: workingtitle-instruments-epic2/shared/Components/Eis/AbstractEngineIndicator.tsx:14

Parameters

ParameterType
numbernumber

Returns

string

Inherited from

AbstractEngineGauge.DISPLAY_VALUE_FORMATTER


grayMask

protected readonly grayMask: NodeReference<HTMLDivElement>

Defined in: workingtitle-instruments-epic2/shared/Components/Eis/DialGauge.tsx:45


isAmber

protected readonly isAmber: MappedSubject<[boolean, boolean], boolean>

Defined in: workingtitle-instruments-epic2/shared/Components/Eis/DialGauge.tsx:49


isAmberHighActive

protected isAmberHighActive: Subscribable<boolean> | Subscribable<false> | Subscribable<true>

Defined in: workingtitle-instruments-epic2/shared/Components/Eis/DialGauge.tsx:48


isAmberLowActive

protected isAmberLowActive: Subscribable<boolean> | Subscribable<false> | Subscribable<true>

Defined in: workingtitle-instruments-epic2/shared/Components/Eis/DialGauge.tsx:47


isPointerVisible

protected readonly isPointerVisible: MappedSubscribable<boolean>

Defined in: workingtitle-instruments-epic2/shared/Components/Eis/DialGauge.tsx:55


isRed

protected readonly isRed: MappedSubject<[boolean, boolean], boolean>

Defined in: workingtitle-instruments-epic2/shared/Components/Eis/DialGauge.tsx:53


isRedHighActive

protected isRedHighActive: Subscribable<boolean> | Subscribable<false> | Subscribable<true>

Defined in: workingtitle-instruments-epic2/shared/Components/Eis/DialGauge.tsx:52


isRedLowActive

protected isRedLowActive: Subscribable<boolean> | Subscribable<false> | Subscribable<true>

Defined in: workingtitle-instruments-epic2/shared/Components/Eis/DialGauge.tsx:51


pointer

protected readonly pointer: Subscribable<null | number>

Defined in: workingtitle-instruments-epic2/shared/Components/Eis/AbstractEngineGauge.tsx:58

Inherited from

AbstractEngineGauge.pointer


pointerTransform

protected readonly pointerTransform: Subject<string>

Defined in: workingtitle-instruments-epic2/shared/Components/Eis/DialGauge.tsx:56


pointerTransformBuilder

protected readonly pointerTransformBuilder: CssRotate3dTransform

Defined in: workingtitle-instruments-epic2/shared/Components/Eis/DialGauge.tsx:57


props

props: DialGaugeProps & ComponentProps

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

The properties of the component.

Inherited from

AbstractEngineGauge.props


valueDisp

protected readonly valueDisp: MappedSubscribable<string>

Defined in: workingtitle-instruments-epic2/shared/Components/Eis/AbstractEngineIndicator.tsx:16

Inherited from

AbstractEngineGauge.valueDisp

Methods

destroy()

destroy(): void

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

Destroys this component.

Returns

void

Inherited from

AbstractEngineGauge.destroy


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

AbstractEngineGauge.getContext


onAfterRender()

onAfterRender(node): void

Defined in: workingtitle-instruments-epic2/shared/Components/Eis/DialGauge.tsx:168

A callback that is called after the component is rendered.

Parameters

ParameterTypeDescription
nodeVNodeThe component's VNode.

Returns

void

Overrides

AbstractEngineGauge.onAfterRender


onBeforeRender()

onBeforeRender(): void

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

A callback that is called before the component is rendered.

Returns

void

Inherited from

AbstractEngineGauge.onBeforeRender


onValueChanged()

protected onValueChanged(val): void

Defined in: workingtitle-instruments-epic2/shared/Components/Eis/DialGauge.tsx:106

Sub handler for props.value.

Parameters

ParameterType
valnull | number

Returns

void

Overrides

AbstractEngineGauge.onValueChanged


render()

render(): VNode

Defined in: workingtitle-instruments-epic2/shared/Components/Eis/DialGauge.tsx:185

Renders the component.

Returns

VNode

A JSX element to be rendered.

Overrides

AbstractEngineGauge.render


renderMarks()

protected renderMarks(): VNode[]

Defined in: workingtitle-instruments-epic2/shared/Components/Eis/DialGauge.tsx:70

Renders the static markings

Returns

VNode[]

SVG lines.

Overrides

AbstractEngineGauge.renderMarks


updateMask()

updateMask(angle): void

Defined in: workingtitle-instruments-epic2/shared/Components/Eis/DialGauge.tsx:118

Updates the current Gauge mask.

Parameters

ParameterTypeDescription
anglenumberThe new mask angle.

Returns

void