Methods
(static) dismissDialog() → {void}
Close currently displayed dialog
- Type:
- void
(static) init() → {void}
- Type:
- void
(static) isDialogOpen() → {boolean}
Returns bool indicating if dialog is currently displayed
- Type:
- boolean
(static) optionClosed() → {void}
Return button the user selected
- Type:
- void
(static) optionSelected() → {void}
Return button the user selected
- Type:
- void
(static) radioDialog(title, message) → {void}
Display dialog to user with an OK button
| Name | Type | Description |
|---|---|---|
title | dynamic | |
message | dynamic |
- Type:
- void
(static) refreshThemeColors() → {void}
Refresh theme colors on JRScene and overhang. Called after theme color settings change (settings exit, login, logout). Uses refreshThemeOnTree() to walk the overhang's node tree and update all themed elements (labels, buttons, icons) in place — no component recreation or per-component refresh functions needed.
- Type:
- void
(static) reloadHome() → {void}
Signal that home screen should be reloaded (used after theme color changes) Main.bs observes reloadHomeRequested field and handles the actual reload
- Type:
- void
(static) resetTime() → {void}
Reset time
- Type:
- void
(static) setBackgroundImage(uri, isAnimatedopt, forceBackdropopt) → {void}
Set the background image
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
uri | string | The image URI to display | ||
isAnimated | boolean | <optional> | true | Whether to animate the transition |
forceBackdrop | boolean | <optional> | false | Force show backdrop regardless of user setting (used for login splashscreen) |
- Type:
- void
(static) showConfirmationDialog(title, message, buttons) → {void}
Display dialog to user with an OK button
| Name | Type | Description |
|---|---|---|
title | dynamic | |
message | dynamic | |
buttons | dynamic |
- Type:
- void
(static) standardDialog(title, message) → {void}
Display dialog to user with an OK button
| Name | Type | Description |
|---|---|---|
title | dynamic | |
message | dynamic |
- Type:
- void
(static) updateUser() → {void}
Update username in overhang
- Type:
- void
(static) userMessage(title, message) → {void}
Display dialog to user with an OK button
| Name | Type | Description |
|---|---|---|
title | string | |
message | string |
- Type:
- void