PanelStackAttachment

class PanelStackAttachment<P : GenericPanel<C>, C : PanelContext>(val panelStack: PanelList<P>, val panelContextFactory: (P, PanelContext) -> C)

Attaches a panelStack. For each panel a panel context of type C is created by panelContextFactory.

Parameters

P

The Panel type this adapter handles.

C

The PanelContext of P.

Constructors

Link copied to clipboard
fun <P : GenericPanel<C>, C : PanelContext> PanelStackAttachment(panelStack: PanelList<P>, panelContextFactory: (P, PanelContext) -> C)

Properties

Link copied to clipboard
val panelContextFactory: (P, PanelContext) -> C
Link copied to clipboard
val panelStack: PanelList<P>