Translate UI intent to domain controllers without coupling them to Tk widgets. More...
Public Member Functions | |
| None | request_city_enabled (self, bool enabled) |
| Set city overlay visibility. | |
| None | request_city_selection (self, str kind, str period, int hours) |
| Select a city field and time window. | |
| None | request_city_playback (self, bool playing) |
| Start or pause city playback independently of radar. | |
| None | request_city_refresh (self) |
| Request fresh city data. | |
| None | request_city_details (self, str|None city_id) |
| Open a displayed city's weather details or dismiss the selection. | |
| None | request_model_selection (self, str kind) |
| Choose one model heatmap or turn it off. | |
| None | request_model_refresh (self) |
| Request a fresh full-area forecast. | |
| None | request_route_enabled (self, bool enabled) |
| Enable weather at estimated route arrival times. | |
| None | request_route_layers (self, frozenset[str] layers) |
| Choose route checkpoint values. | |
| None | request_route_refresh (self) |
| Request fresh forecasts for the remaining route. | |
| None | request_navigation_visible (self, bool visible) |
| Start or stop navigation-only weather activity. | |
| None | request_replay (self) |
| Replay weather state after a renderer restart. | |
| close (self) | |
| Release all overlay controllers when the composition shuts down. | |
Translate UI intent to domain controllers without coupling them to Tk widgets.
| None weather.weather_overlay_controller.WeatherOverlayController.request_city_details | ( | self, | |
| str | None | city_id | ||
| ) |
Open a displayed city's weather details or dismiss the selection.
| city_id | Displayed city identity, or None to close details. |
Reimplemented from ui.weather.weather_overlay_request_handler_if.WeatherOverlayRequestHandlerIf.
| None weather.weather_overlay_controller.WeatherOverlayController.request_city_enabled | ( | self, | |
| bool | enabled | ||
| ) |
Set city overlay visibility.
| enabled | Whether to show city weather. |
Reimplemented from ui.weather.weather_overlay_request_handler_if.WeatherOverlayRequestHandlerIf.
| None weather.weather_overlay_controller.WeatherOverlayController.request_city_playback | ( | self, | |
| bool | playing | ||
| ) |
Start or pause city playback independently of radar.
| playing | Whether to animate downloaded hourly values. |
Reimplemented from ui.weather.weather_overlay_request_handler_if.WeatherOverlayRequestHandlerIf.
| None weather.weather_overlay_controller.WeatherOverlayController.request_city_selection | ( | self, | |
| str | kind, | ||
| str | period, | ||
| int | hours | ||
| ) |
Select a city field and time window.
| kind | Temperature, wind or precipitation. |
| period | Past model estimates or future forecasts. |
| hours | Selected hour/window length from 1 to 24. |
Reimplemented from ui.weather.weather_overlay_request_handler_if.WeatherOverlayRequestHandlerIf.
| None weather.weather_overlay_controller.WeatherOverlayController.request_model_selection | ( | self, | |
| str | kind | ||
| ) |
Choose one model heatmap or turn it off.
| kind | Off, temperature or wind. |
Reimplemented from ui.weather.weather_overlay_request_handler_if.WeatherOverlayRequestHandlerIf.
| None weather.weather_overlay_controller.WeatherOverlayController.request_navigation_visible | ( | self, | |
| bool | visible | ||
| ) |
Start or stop navigation-only weather activity.
| visible | Whether Navigation is currently shown. |
Reimplemented from ui.weather.weather_overlay_request_handler_if.WeatherOverlayRequestHandlerIf.
| None weather.weather_overlay_controller.WeatherOverlayController.request_route_enabled | ( | self, | |
| bool | enabled | ||
| ) |
Enable weather at estimated route arrival times.
| enabled | Whether to display route weather. |
Reimplemented from ui.weather.weather_overlay_request_handler_if.WeatherOverlayRequestHandlerIf.
| None weather.weather_overlay_controller.WeatherOverlayController.request_route_layers | ( | self, | |
| frozenset[str] | layers | ||
| ) |
Choose route checkpoint values.
| layers | Temperature, rain probability and/or wind. |
Reimplemented from ui.weather.weather_overlay_request_handler_if.WeatherOverlayRequestHandlerIf.