restoreWindowContainer

abstract fun restoreWindowContainer(id: String, tag: String? = null): Boolean

Restores a WindowContainer by id and optional tag. This can only be used when there is a stage open.

Return

true if succeeded; false otherwise.

Parameters

id

Id of window container that you want to restore.

tag

When tag is null, all opened window containers with the same id are restored. When set, only the window with the same id and tag is restored.


abstract fun restoreWindowContainer(): Boolean

Restores the current WindowContainer. This can only be used when there is a stage open.

Return

true if succeeded; false otherwise.