Class: GenericTabbedContent
A generic implementation of TabbedContent
which renders its children as-is and defers callback logic to
functions passed to its props.
Hierarchy
AbstractTabbedContent
<GenericTabbedContentProps
>↳
GenericTabbedContent
Constructors
constructor
• new GenericTabbedContent(props
): GenericTabbedContent
Creates an instance of a DisplayComponent.
Parameters
Name | Type | Description |
---|---|---|
props | GenericTabbedContentProps | The propertis of the component. |
Returns
Inherited from
AbstractTabbedContent.constructor
Defined in
src/sdk/components/FSComponent.ts:73
Properties
_knobLabelState
• Protected
Readonly
_knobLabelState: MapSubject
<UiKnobId
, string
>
Inherited from
AbstractTabbedContent._knobLabelState
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/TabbedContainer/AbstractTabbedContent.ts:14
context
• Optional
context: [] = undefined
The context on this component, if any.
Inherited from
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
AbstractTabbedContent.contextType
Defined in
src/sdk/components/FSComponent.ts:67
isTabbedContent
• Readonly
isTabbedContent: true
Flags this component as a TabbedContent.
Inherited from
AbstractTabbedContent.isTabbedContent
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/TabbedContainer/AbstractTabbedContent.ts:12
knobLabelState
• Readonly
knobLabelState: SubscribableMap
<UiKnobId
, string
> & Subscribable
<UiKnobRequestedLabelState
>
The bezel rotary knob label state requested by this content.
Inherited from
AbstractTabbedContent.knobLabelState
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/TabbedContainer/AbstractTabbedContent.ts:16
props
• props: GenericTabbedContentProps
& ComponentProps
The properties of the component.
Inherited from
Defined in
src/sdk/components/FSComponent.ts:61
Methods
destroy
▸ destroy(): void
Destroys this component.
Returns
void
Overrides
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/TabbedContainer/GenericTabbedContent.tsx:135
getContext
▸ getContext(context
): never
Gets a context data subscription from the context collection.
Parameters
Name | Type | Description |
---|---|---|
context | never | The 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
AbstractTabbedContent.getContext
Defined in
src/sdk/components/FSComponent.ts:106
onAfterRender
▸ onAfterRender(thisNode
): void
A callback that is called after the component is rendered.
Parameters
Name | Type | Description |
---|---|---|
thisNode | VNode | The component's VNode. |
Returns
void
Overrides
AbstractTabbedContent.onAfterRender
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/TabbedContainer/GenericTabbedContent.tsx:81
onBeforeRender
▸ onBeforeRender(): void
A callback that is called before the component is rendered.
Returns
void
Inherited from
AbstractTabbedContent.onBeforeRender
Defined in
src/sdk/components/FSComponent.ts:80
onClose
▸ onClose(): void
Responds to when this content is closed. Content is closed when it is deselected or its parent container is closed.
Returns
void
Overrides
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/TabbedContainer/GenericTabbedContent.tsx:103
onDeselect
▸ onDeselect(): void
Responds to when this content is deselected.
Returns
void
Overrides
AbstractTabbedContent.onDeselect
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/TabbedContainer/GenericTabbedContent.tsx:93
onOpen
▸ onOpen(): void
Responds to when this content is opened. Content is opened when it is selected and its parent container is open.
Returns
void
Overrides
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/TabbedContainer/GenericTabbedContent.tsx:98
onPause
▸ onPause(): void
Responds to when this content is paused. Content is paused when it is deselected or its parent container is paused.
Returns
void
Overrides
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/TabbedContainer/GenericTabbedContent.tsx:113
onResume
▸ onResume(): void
Responds to when this content is resumed. Content is resumed when it is selected and its parent container is resumed.
Returns
void
Overrides
AbstractTabbedContent.onResume
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/TabbedContainer/GenericTabbedContent.tsx:108
onSelect
▸ onSelect(): void
Responds to when this content is selected to be displayed in its parent container.
Returns
void
Overrides
AbstractTabbedContent.onSelect
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/TabbedContainer/GenericTabbedContent.tsx:88
onUiInteractionEvent
▸ onUiInteractionEvent(event
): boolean
Handles a UiInteractionEvent.
Parameters
Name | Type | Description |
---|---|---|
event | UiInteractionEvent | The event to handle. |
Returns
boolean
Whether the event was handled.
Overrides
AbstractTabbedContent.onUiInteractionEvent
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/TabbedContainer/GenericTabbedContent.tsx:123
onUpdate
▸ onUpdate(time
): void
Responds to when this content is updated. Content is updated when it is selected and its parent container is updated.
Parameters
Name | Type | Description |
---|---|---|
time | number | The current real (operating system) time, as a Javascript timestamp. |
Returns
void
Overrides
AbstractTabbedContent.onUpdate
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/TabbedContainer/GenericTabbedContent.tsx:118
render
▸ render(): VNode
Renders the component.
Returns
VNode
A JSX element to be rendered.
Overrides
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/TabbedContainer/GenericTabbedContent.tsx:128