altinn_control_view module¶
- class AltinnControlViewTab(time_units, control_dict, conn)¶
Bases:
TabImplementation,ControlViewControlView implemented as a tab.
- Parameters:
time_units (list[str])
control_dict (dict[str, Any])
conn (object)
- class AltinnControlViewWindow(time_units, control_dict, conn)¶
Bases:
WindowImplementation,ControlViewControlView implemented as a window.
- Parameters:
time_units (list[str])
control_dict (dict[str, Any])
conn (object)
- class ControlView(time_units, control_dict, conn, outputs=None)¶
Bases:
ABCProvides a layout and functionality for a modal that offers a tabular view of the controls.
- Parameters:
time_units (list[str])
control_dict (dict[str, Any])
conn (object)
outputs (list[str] | None)
- create_layout()¶
Generates the layout for the ControlView module.
- Returns:
A Div element containing two tables, kontroller and kontrollutslag.
- Return type:
layout
- abstractmethod layout()¶
Defines the layout for the ControlView module.
This is an abstract method that must be implemented by subclasses to define the module’s layout.
- Returns:
A Dash HTML Div component representing the layout of the module.
- Return type:
html.Div
- module_callbacks()¶
Registers Dash callbacks for the ControlView module.
- Return type:
None
- class ControlViewTab(time_units, control_dict, conn)¶
Bases:
TabImplementation,ControlViewControlView implemented as a tab.
- Parameters:
time_units (list[str])
control_dict (dict[str, Any])
conn (object)
- class ControlViewWindow(time_units, control_dict, conn)¶
Bases:
WindowImplementation,ControlViewControlView implemented as a window.
- Parameters:
time_units (list[str])
control_dict (dict[str, Any])
conn (object)