From 7c2850063697f94a0d8b8d8f8588136dd4b3d05e Mon Sep 17 00:00:00 2001
From: Robert Jaros
-
-
-
-
-
-
- Constructor Overrides SimplePanel.addAll Adds a list of components to the current container.
- Return Overrides SimplePanel.add Adds given component to the current container. Return Overrides Widget.afterCreate Method called after creating Snabbdom vnode. Overrides Widget.afterDestroy Method called after destroying Snabbdom vnode. Window caption text. Determines if Close button is visible. Window content height. Window content height. Window content width. Makes the current window focused. Overrides SimplePanel.getChildren Returns a list of children of the current container. Return Floating window container. Window caption text. Determines if Close button is visible. Window content height. Window content height. Window content width. Determines if the window is draggable. Determines if the window is resizable. Adds given component to the current container. Adds a list of components to the current container. Method called after creating Snabbdom vnode. Method called after destroying Snabbdom vnode. Makes the current window focused. Returns a list of children of the current container. Removes given component from the current container. Removes all children from the current container. Moves the current window to the front. Protected and final method to add given component to the current container. Returns the array of the children Snabbdom vnodes. Renders current component as a Snabbdom vnode. DSL builder extension function. Determines if the window is draggable. Getter Determines if the window is draggable.
-
-<init>
-
-Window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, classes: Set<String> = setOf(), init: Window.() -> Unit = null)
-Parameters
-
-contentWidth
- window content widthcontentHeight
- window content heightisResizable
- determines if the window is resizableisDraggable
- determines if the window is draggablecloseButton
- determines if Close button is visibleclasses
- a set of CSS class namesinit
- an initializer extension function
-
-
-addAll
-
-open fun addAll(children: List<Component>): SimplePanel
-Parameters
-children
- list of child components
-current container
-
-add
-
-open fun add(child: Component): SimplePanel
-Parameters
-
-
-current container
-
-afterCreate
-
-protected open fun afterCreate(node: VNode): Unit
-
-
-afterDestroy
-
-protected open fun afterDestroy(): Unit
-
-
-caption
-
-var caption: String?
-
-
-closeButton
-
-var closeButton: Boolean
-
-
-contentHeight
-
-var contentHeight: CssSize?
-
-
-contentOverflow
-
-var contentOverflow: Overflow?
-
-
-contentWidth
-
-var contentWidth: CssSize?
-
-
-focus
-
-open fun focus(): Unit
-
-
-getChildren
-
-open fun getChildren(): List<Component>
-
-list of children
-
-Window
-open class Window : SimplePanel
-Constructors
-
-
-
-
-
-
-
-
-
-
-
-Window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, classes: Set<String> = setOf(), init: Window.() -> Unit = null)
Properties
-
-
-
-
-
-
-
-
-
-
-var caption: String?
-
-
-
-
-
-
-
-var closeButton: Boolean
-
-
-
-
-
-
-
-var contentHeight: CssSize?
-
-
-
-
-
-
-
-var contentOverflow: Overflow?
-
-
-
-
-
-
-
-var contentWidth: CssSize?
-
-
-
-
-
-
-
-var isDraggable: Boolean
-
-
-
-
-
-
-
-
-var isResizable: Boolean
-Functions
-
-
-
-
-
-
-
-
-
-
-open fun add(child: Component): SimplePanel
-
-
-
-
-
-
-
-open fun addAll(children: List<Component>): SimplePanel
-
-
-
-
-
-
-
-open fun afterCreate(node: VNode): Unit
-
-
-
-
-
-
-
-open fun afterDestroy(): Unit
-
-
-
-
-
-
-
-open fun focus(): Unit
-
-
-
-
-
-
-
-open fun getChildren(): List<Component>
-
-
-
-
-
-
-
-open fun remove(child: Component): SimplePanel
-
-
-
-
-
-
-
-open fun removeAll(): SimplePanel
-
-
-
-
-
-
-
-
-open fun toFront(): Unit
-Inherited Functions
-
-
-
-
-
-
-
-
-
-
-fun addInternal(child: Component): SimplePanel
-
-
-
-
-
-
-
-open fun childrenVNodes(): Array<VNode>
-
-
-
-
-
-
-
-
-open fun render(): VNode
-Companion Object Functions
-
-
-
-
-
diff --git a/api/pl.treksoft.kvision.window/-window/is-draggable.html b/api/pl.treksoft.kvision.window/-window/is-draggable.html
deleted file mode 100644
index 6432d5fb..00000000
--- a/api/pl.treksoft.kvision.window/-window/is-draggable.html
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, classes: Set<String> = setOf(), init: Window.() -> Unit = null): Window
-
-
-isDraggable
-
-var isDraggable: Boolean
-
-
Setter
-
Determines if the window is draggable.
- - - diff --git a/api/pl.treksoft.kvision.window/-window/is-resizable.html b/api/pl.treksoft.kvision.window/-window/is-resizable.html deleted file mode 100644 index 3aa1e97a..00000000 --- a/api/pl.treksoft.kvision.window/-window/is-resizable.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var isResizable: Boolean
-Determines if the window is resizable.
-Getter
-
Determines if the window is resizable.
- -Setter
-
Determines if the window is resizable.
- - - diff --git a/api/pl.treksoft.kvision.window/-window/remove-all.html b/api/pl.treksoft.kvision.window/-window/remove-all.html deleted file mode 100644 index ad12c1d6..00000000 --- a/api/pl.treksoft.kvision.window/-window/remove-all.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -open fun removeAll(): SimplePanel
-Overrides SimplePanel.removeAll
-Removes all children from the current container.
-Return
-current container
open fun remove(child: Component): SimplePanel
-Overrides SimplePanel.remove
-Removes given component from the current container.
-Return
-current container
open fun toFront(): Unit
-Moves the current window to the front.
- - diff --git a/api/pl.treksoft.kvision.window/-window/window.html b/api/pl.treksoft.kvision.window/-window/window.html deleted file mode 100644 index 452d2636..00000000 --- a/api/pl.treksoft.kvision.window/-window/window.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, classes: Set<String> = setOf(), init: Window.() -> Unit = null): Window
-DSL builder extension function.
-It takes the same parameters as the constructor of the built component.
- - diff --git a/api/pl.treksoft.kvision.window/index.html b/api/pl.treksoft.kvision.window/index.html deleted file mode 100644 index 95c0f201..00000000 --- a/api/pl.treksoft.kvision.window/index.html +++ /dev/null @@ -1,27 +0,0 @@ - - - -Floating, resizable window component.
-- - | -
-open class Window : SimplePanel
-Floating window container. - |
-