PanelStackData

open class PanelStackData<out P : AnyPanel>(val stackedPanels: PanelList<P>)

A panel data containing a stack of Panels of type P. The last (top) one should be presented to the user, while the rest is hidden under the top Panel.

Parameters

P

The type of Panel that the stack holds.

stackedPanels

The list of Panels in the stack.

Constructors

Link copied to clipboard
fun <out P : AnyPanel> PanelStackData(stackedPanels: PanelList<P>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val stackedPanels: PanelList<P>

Functions

Link copied to clipboard
fun topOrNull(): P?

Gets the top-most panel of the stack.

Inheritors

Link copied to clipboard