Window

open class Window(caption: String?, contentWidth: <ERROR CLASS>?, contentHeight: <ERROR CLASS>?, isResizable: Boolean, isDraggable: Boolean, closeButton: Boolean, maximizeButton: Boolean, minimizeButton: Boolean, icon: String?, className: String?, init: Window.() -> Unit?)

Floating window container.

Parameters

caption

window title

contentWidth

window content width

contentHeight

window content height

isResizable

determines if the window is resizable

isDraggable

determines if the window is draggable

closeButton

determines if Close button is visible

maximizeButton

determines if Maximize button is visible

minimizeButton

determines if Minimize button is visible

className

CSS class names

init

an initializer extension function

Constructors

Window
Link copied to clipboard
fun Window(caption: String? = null, contentWidth: <ERROR CLASS>? = CssSize(0, UNIT.auto), contentHeight: <ERROR CLASS>? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, maximizeButton: Boolean = false, minimizeButton: Boolean = false, icon: String? = null, className: String? = null, init: Window.() -> Unit? = null)

Types

Companion
Link copied to clipboard
object Companion

Functions

add
Link copied to clipboard
open fun add(child: <ERROR CLASS>): Window
open fun add(position: Int, child: <ERROR CLASS>): Window
addAll
Link copied to clipboard
open fun addAll(children: List<<ERROR CLASS>>): Window
afterCreate
Link copied to clipboard
open fun afterCreate(node: <ERROR CLASS>)
afterDestroy
Link copied to clipboard
open fun afterDestroy()
close
Link copied to clipboard
open fun close()

Close the window.

disposeAll
Link copied to clipboard
open fun disposeAll(): Window
getChildren
Link copied to clipboard
open fun getChildren(): List<<ERROR CLASS>>
remove
Link copied to clipboard
open fun remove(child: <ERROR CLASS>): Window
removeAll
Link copied to clipboard
open fun removeAll(): Window
removeAt
Link copied to clipboard
open fun removeAt(position: Int): Window
toFront
Link copied to clipboard
open fun toFront()

Moves the current window to the front.

toggleMaximize
Link copied to clipboard
open fun toggleMaximize()

Maximize or restore the window size.

toggleMinimize
Link copied to clipboard
open fun toggleMinimize()

Minimize or restore the window size.

Properties

caption
Link copied to clipboard
var caption: <ERROR CLASS>

Window caption text.

closeButton
Link copied to clipboard
var closeButton: <ERROR CLASS>

Determines if Close button is visible.

contentHeight
Link copied to clipboard
var contentHeight: <ERROR CLASS>

Window content height.

contentOverflow
Link copied to clipboard
var contentOverflow: <ERROR CLASS>

Window content height.

contentWidth
Link copied to clipboard
var contentWidth: <ERROR CLASS>

Window content width.

icon
Link copied to clipboard
var icon: Nothing?

Window icon.

isDraggable
Link copied to clipboard
var isDraggable: <ERROR CLASS>

Determines if the window is draggable.

isResizable
Link copied to clipboard
var isResizable: <ERROR CLASS>

Determines if the window is resizable.

maximizeButton
Link copied to clipboard
var maximizeButton: <ERROR CLASS>

Determines if Maximize button is visible.

minimizeButton
Link copied to clipboard
var minimizeButton: <ERROR CLASS>

Determines if Maximize button is visible.