Methods
(static) destroyActiveContent() → {void}
Destroys the currently active tab content and removes it from the scene
- Source
- Type:
- void
(static) getActiveRows() → {object}
Returns the currently active row list
- Source
- Type:
- object
(static) init() → {void}
- Source
- Type:
- void
(static) initVoiceBox() → {void}
initVoiceBox: One-time voice setup in init() — matches BaseGridView's pattern. Sets voiceEnabled=true ONCE and never sets it back to false. The firmware silently manages voiceEnabled when other screens claim voice routing. Only active is toggled on screen show/hide.
- Source
- Type:
- void
(static) loadLibraries() → {void}
Entry point called by Main.bs createAndShowHomeGroup() BEFORE pushScene(). Starting data loads before the screen transition completes improves perceived performance.
- Source
- Type:
- void
(static) onDestroy() → {void}
onDestroy: Full teardown releasing all resources before component removal Called automatically by SceneManager.popScene() / clearScenes()
- Source
- Type:
- void
(static) onIconFocusReturn(msg) → {void}
Overhang icon signals DOWN was pressed — return focus to active content
| Name | Type | Description |
|---|---|---|
msg | object |
- Source
- Type:
- void
(static) onKeyEvent(key, press) → {boolean}
| Name | Type | Description |
|---|---|---|
key | string | |
press | boolean |
- Source
- Type:
- boolean
(static) onOverhangIconAction() → {void}
Overhang icon (search/settings) was pressed — proxy to Home's interface for Main.bs. Saves the focused icon for focus restoration on return, then moves focus to Home group BEFORE firing the action. This ensures SceneManager.pushScene() can find focus in Home's tree. We focus m.top (not activeContent) to avoid a visible focus jump to the row list before the screen transition.
- Source
- Type:
- void
(static) onQuickPlayNode(msg) → {void}
Proxy quickPlayNode from whichever row list fires it. Must pass through invalid clears so Home.quickPlayNode doesn't retain a stale value that re-fires the m.port observer on screen restoration.
| Name | Type | Description |
|---|---|---|
msg | dynamic |
- Source
- Type:
- void
(static) onRowItemSelected(msg) → {void}
Proxy selectedItem from whichever row list fires it
| Name | Type | Description |
|---|---|---|
msg | dynamic |
- Source
- Type:
- void
(static) onScreenHidden() → {void}
JRScreen hook called when the screen is hidden by the screen manager
- Source
- Type:
- void
(static) onScreenShown() → {void}
JRScreen hook called when the screen is displayed by the screen manager
- Source
- Type:
- void
(static) onTabBarFocusReturn() → {void}
Tab bar signals DOWN was pressed — return focus to active content
- Source
- Type:
- void
(static) onTabChanged() → {void}
Called when selectedTabId changes (via SceneManager proxy from overhang tab bar). Destroys the old tab's content and creates the new tab's content.
- Source
- Type:
- void
(static) onUserDropdownFocusReturn() → {void}
User dropdown signals DOWN was pressed — return focus to active content
- Source
- Type:
- void
(static) onUserMenuAction() → {void}
User dropdown menu item was selected — proxy to Home's interface for Main.bs. Saves the dropdown so onScreenShown can restore focus when the user returns, then moves focus into Home's tree so pushScene can properly manage focus transfer.
- Source
- Type:
- void
(static) onVoiceSearch() → {void}
onVoiceSearch: Fires when voice input is captured by the hidden VoiceTextEditBox. Signals Main.bs to open SearchResults with the spoken query pre-populated.
- Source
- Type:
- void
(static) refresh() → {void}
- Source
- Type:
- void