From 107481f9ad5783daed68de8dadea65be57a6266b Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Thu, 1 Mar 2018 14:21:24 +0100 Subject: Site initial commit --- .../pl.treksoft.kvision.window/-window/index.html | 217 --------------------- 1 file changed, 217 deletions(-) delete mode 100644 docs/api/pl.treksoft.kvision.window/-window/index.html (limited to 'docs/api/pl.treksoft.kvision.window/-window/index.html') diff --git a/docs/api/pl.treksoft.kvision.window/-window/index.html b/docs/api/pl.treksoft.kvision.window/-window/index.html deleted file mode 100644 index 8a45ef9e..00000000 --- a/docs/api/pl.treksoft.kvision.window/-window/index.html +++ /dev/null @@ -1,217 +0,0 @@ - - - -Window - kvision - - - -kvision / pl.treksoft.kvision.window / Window
-
-

Window

-open class Window : SimplePanel -

Floating window container.

-

Constructors

- - - - - - - -
-

<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)
-

Properties

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

caption

-
-var caption: String? -

Window caption text.

-
-

closeButton

-
-var closeButton: Boolean -

Determines if Close button is visible.

-
-

contentHeight

-
-var contentHeight: CssSize? -

Window content height.

-
-

contentWidth

-
-var contentWidth: CssSize? -

Window content width.

-
-

isDraggable

-
-var isDraggable: Boolean -

Determines if the window is draggable.

-
-

isResizable

-
-var isResizable: Boolean -

Determines if the window is resizable.

-
-

Functions

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

add

-
-open fun add(child: Component): SimplePanel -

Adds given component to the current container.

-
-

addAll

-
-open fun addAll(children: List<Component>): SimplePanel -

Adds a list of components to the current container.

-
-

afterCreate

-
-open fun afterCreate(node: VNode): Unit -

Method called after creating Snabbdom vnode.

-
-

afterDestroy

-
-open fun afterDestroy(): Unit -

Method called after destroying Snabbdom vnode.

-
-

focus

-
-open fun focus(): Unit -

Makes the current window focused.

-
-

getChildren

-
-open fun getChildren(): List<Component> -

Returns a list of children of the current container.

-
-

remove

-
-open fun remove(child: Component): SimplePanel -

Removes given component from the current container.

-
-

removeAll

-
-open fun removeAll(): SimplePanel -

Removes all children from the current container.

-
-

toFront

-
-open fun toFront(): Unit -

Moves the current window to the front.

-
-

Inherited Functions

- - - - - - - - - - - - - - - -
-

addInternal

-
-fun addInternal(child: Component): SimplePanel -

Protected and final method to add given component to the current container.

-
-

childrenVNodes

-
-open fun childrenVNodes(): Array<VNode> -

Returns the array of the children Snabbdom vnodes.

-
-

render

-
-open fun render(): VNode -

Renders current component as a Snabbdom vnode.

-
-

Companion Object Functions

- - - - - - - -
-

window

-
-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.

-
- - -- cgit