Class: GtcSidebar
Colletion of functions for working with the GtcSidebar.
Constructors
constructor
• new GtcSidebar(): GtcSidebar
Returns
Properties
hidePanesString
▪ Static
Readonly
hidePanesString: "$hide-panes$"
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/Sidebar.ts:55
Methods
createSidebarState
▸ createSidebarState(): GtcSidebarState
Creates an instance of the sidebar state to be used by GtcViews.
Returns
new sidebar state.
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/Sidebar.ts:62
isDualConcentricKnobLabelKey
▸ isDualConcentricKnobLabelKey(key
): key is "dataEntryPushEnter" | "dataEntryPushEnterHold" | "panPointPushPanOff"
Checks if string is a DualConcentricKnobLabelKey.
Parameters
Name | Type | Description |
---|---|---|
key | string | The string. |
Returns
key is "dataEntryPushEnter" | "dataEntryPushEnterHold" | "panPointPushPanOff"
whether the key is a DualConcentricKnobLabelKey or not.
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/Sidebar.ts:144
pipeObjectOfSubs
▸ pipeObjectOfSubs(from
, to
): Subscription
[]
Pipes all the subscribables from one ObjectOfSubjects to another.
Parameters
Name | Type | Description |
---|---|---|
from | ObjectOfSubs | Object to pipe from. |
to | MutableObjectOfSubs | Object to pipe to. |
Returns
Subscription
[]
All the subscriptions made from the pipes.
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/Sidebar.ts:88
renderDualConcentricKnobLabel
▸ renderDualConcentricKnobLabel(labelOrKey
, orientation
): string
Renders the DualConcentricKnobLabel.
Parameters
Name | Type | Description |
---|---|---|
labelOrKey | string | The label to render, or a DualConcentricKnobLabelKey. |
orientation | GtcOrientation | The gtc orientation. |
Returns
string
the final string.
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/Sidebar.ts:100
renderDualConcentricKnobLabelHorizontal
▸ renderDualConcentricKnobLabelHorizontal(labelKey
): string
Renders the DualConcentricKnobLabel for the horizontal orientation.
Parameters
Name | Type | Description |
---|---|---|
labelKey | "dataEntryPushEnter" | "dataEntryPushEnterHold" | "panPointPushPanOff" | The label key. |
Returns
string
The rendered string.
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/Sidebar.ts:116
renderDualConcentricKnobLabelVertical
▸ renderDualConcentricKnobLabelVertical(labelKey
): string
Renders the DualConcentricKnobLabel for the vertical orientation.
Parameters
Name | Type | Description |
---|---|---|
labelKey | "dataEntryPushEnter" | "dataEntryPushEnterHold" | "panPointPushPanOff" | The label key. |
Returns
string
The rendered string.
Defined in
workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/GTC/GtcService/Sidebar.ts:130