toPanelList

fun <P : AnyPanel> Collection<P>.toPanelList(): PanelList<P>

Converts this to a PanelList with the same contents.


fun <P : AnyDismissablePanel> Collection<P>.toPanelList(): DismissablePanelList<P>

Converts this to a DismissablePanelList with the same contents.