Skip to main content

Class: RollLimitIndicators

Defined in: src/garminsdk/components/nextgenpfd/horizon/RollLimitIndicators.tsx:81

A PFD roll indicator scale component that displays roll limit indicators.

Extends​

Implements​

Constructors​

Constructor​

new RollLimitIndicators(props): RollLimitIndicators

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

Creates an instance of a DisplayComponent.

Parameters​

ParameterTypeDescription
propsRollLimitIndicatorsPropsThe propertis of the component.

Returns​

RollLimitIndicators

Inherited from​

DisplayComponent<RollLimitIndicatorsProps>.constructor

Properties​

context?​

optional context: [] = undefined

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

The context on this component, if any.

Implementation of​

RollIndicatorScaleComponent.context

Inherited from​

DisplayComponent.context


contextType?​

readonly optional contextType: readonly [] = undefined

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

The type of context for this component, if any.

Implementation of​

RollIndicatorScaleComponent.contextType

Inherited from​

DisplayComponent.contextType


isRollIndicatorScaleComponent​

readonly isRollIndicatorScaleComponent: true = true

Defined in: src/garminsdk/components/nextgenpfd/horizon/RollLimitIndicators.tsx:86

Flags this object as a RollIndicatorScaleComponent.

Implementation of​

RollIndicatorScaleComponent.isRollIndicatorScaleComponent


props​

props: RollLimitIndicatorsProps & ComponentProps

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

The properties of the component.

Implementation of​

RollIndicatorScaleComponent.props

Inherited from​

DisplayComponent.props

Methods​

destroy()​

destroy(): void

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

Destroys this component.

Returns​

void

Implementation of​

RollIndicatorScaleComponent.destroy

Inherited from​

DisplayComponent.destroy


getContext()​

protected getContext(context): never

Defined in: src/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.

Implementation of​

RollIndicatorScaleComponent.getContext

Inherited from​

DisplayComponent.getContext


onAfterRender()​

onAfterRender(node): void

Defined in: src/sdk/components/FSComponent.ts:87

A callback that is called after the component is rendered.

Parameters​

ParameterTypeDescription
nodeVNodeThe component's VNode.

Returns​

void

Implementation of​

RollIndicatorScaleComponent.onAfterRender

Inherited from​

DisplayComponent.onAfterRender


onBeforeRender()​

onBeforeRender(): void

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

A callback that is called before the component is rendered.

Returns​

void

Implementation of​

RollIndicatorScaleComponent.onBeforeRender

Inherited from​

DisplayComponent.onBeforeRender


onProjectionChanged()​

onProjectionChanged(projection, changeFlags): void

Defined in: src/garminsdk/components/nextgenpfd/horizon/RollLimitIndicators.tsx:109

This method is called when this component's horizon projection changes.

Parameters​

ParameterTypeDescription
projectionHorizonProjectionThis component's horizon projection.
changeFlagsnumberThe types of changes made to the projection.

Returns​

void

Implementation of​

RollIndicatorScaleComponent.onProjectionChanged


onScaleAttached()​

onScaleAttached(): void

Defined in: src/garminsdk/components/nextgenpfd/horizon/RollLimitIndicators.tsx:98

This method is called when this component's parent roll indicator is attached to its parent horizon component.

Returns​

void

Implementation of​

RollIndicatorScaleComponent.onScaleAttached


onScaleDetached()​

onScaleDetached(): void

Defined in: src/garminsdk/components/nextgenpfd/horizon/RollLimitIndicators.tsx:177

This method is called when this component's parent roll indicator is detached from its parent horizon component.

Returns​

void

Implementation of​

RollIndicatorScaleComponent.onScaleDetached


onScaleVisibilityChanged()​

onScaleVisibilityChanged(isVisible): void

Defined in: src/garminsdk/components/nextgenpfd/horizon/RollLimitIndicators.tsx:103

This method is called when this component's parent roll indicator's visibility changes. This method is guaranteed to be called only after onScaleAttached() is called. The parent roll indicator is always initially considered to be visible (i.e. if this method is never called, then it is safe to assume the roll indicator is always visible).

Parameters​

ParameterTypeDescription
isVisiblebooleanWhether the parent roll indicator is now visible.

Returns​

void

Implementation of​

RollIndicatorScaleComponent.onScaleVisibilityChanged


onUpdated()​

onUpdated(time, elapsed): void

Defined in: src/garminsdk/components/nextgenpfd/horizon/RollLimitIndicators.tsx:114

This method is called once every update cycle.

Parameters​

ParameterTypeDescription
timenumberThe current time, as a Javascript timestamp.
elapsednumberThe elapsed time, in milliseconds, since the last update.

Returns​

void

Implementation of​

RollIndicatorScaleComponent.onUpdated


render()​

render(): VNode

Defined in: src/garminsdk/components/nextgenpfd/horizon/RollLimitIndicators.tsx:182

Renders the component.

Returns​

VNode

A JSX element to be rendered.

Implementation of​

RollIndicatorScaleComponent.render

Overrides​

DisplayComponent.render