CompactProcessViewModel
A ViewModel used for populating the templates of MainProcessPanels and TaskProcessPanels.
The template is divided into several sections. Each section can be populated by its own data field in this ViewModel.
A schematic overview of the vertical main process panel template:
__________________________________________________________
| |
| ______ |
| | | |
| | Logo | |
| |______| |
| _________________________ |
| | | |
| | | | Process metadata
| | | | section
| | Image | |
| | | |
| | | |
| |_________________________| |
| Primary Text |
| Secondary Text |
|__________________________________________________________|
| |
| Progress | Progress bar
|__________________________________________________________| section
| __________ __________ __________ |
| | | | | | | | Primary controls
| | Button 1 | | Button 2 | | Button n | | section
| |__________|, |__________|...|__________| |
|__________________________________________________________|
| __________ __________ __________ |
| | | | | | | | Secondary controls
| | Button 1 | | Button 2 | | Button n | | section
| |__________|, |__________|...|__________| |
|__________________________________________________________|
Parameters
Inheritors
Types
A ViewModel containing information required to display a progress bar.
Properties
The maximum number of controls for primaryControlsViewModel. If there are more controls, they are not displayed. Default value is MAX_NUMBER_OF_CONTROLS_PER_SECTION. If the value is null
, there is no maximum.
The maximum number of controls for secondaryControlsViewModel. If there are more controls, they are not displayed. Default value is MAX_NUMBER_OF_CONTROLS_PER_SECTION. If the value is null
, there is no maximum.
The metadata that describes an ongoing process. This allows the user to recognise what the ongoing process is about.
A ViewModel containing a list of buttons to offer in the main process panel or task process panel. The primary buttons commonly impact the ongoing process directly. E.g., skipping a song.
A ViewModel containing information required to display a progress bar.
A ViewModel containing a list of buttons to offer in the main process panel or task process panel. The secondary buttons commonly do not impact the ongoing process but offer actions related to the ongoing process. E.g., liking a song.