PanelContainerViewModel

open class PanelContainerViewModel<CD, VM : PanelSubContainerViewModel<SD>, SD>(val panelContainerData: CD?, val subContainerViewModels: List<VM>)

The view model of a panel container.

Parameters

panelContainerData

The panel container data.

subContainerViewModels

View models of the panel sub-containers with one or more panels currently attached.

CD

The type of the panel container data. The panel container data is the input data that is visualized by the panel container.

VM

The view model type of the panel sub-container.

SD

The type of the panel sub-container data. The data is derived from the panel container data.

Constructors

Link copied to clipboard
fun <CD, VM : PanelSubContainerViewModel<SD>> PanelContainerViewModel(panelContainerData: CD?, subContainerViewModels: List<VM>)

Properties

Link copied to clipboard
val panelContainerData: CD?
Link copied to clipboard
val subContainerViewModels: List<VM>

Functions

Link copied to clipboard
open override fun toString(): String