diff options
Diffstat (limited to 'api1/pl.treksoft.kvision.window/-window')
25 files changed, 715 insertions, 0 deletions
diff --git a/api1/pl.treksoft.kvision.window/-window/-init-.html b/api1/pl.treksoft.kvision.window/-window/-init-.html new file mode 100644 index 00000000..5e53cd57 --- /dev/null +++ b/api1/pl.treksoft.kvision.window/-window/-init-.html @@ -0,0 +1,37 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Window.<init> - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.window</a> / <a href="index.html">Window</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.window.Window$<init>(kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))"></a> +<code><span class="identifier">Window</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.window.Window$<init>(kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/caption">caption</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window$<init>(kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/contentWidth">contentWidth</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-css-size.html"><span class="identifier">CssSize</span></a><span class="symbol">?</span> <span class="symbol">=</span> CssSize(0, UNIT.auto)<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window$<init>(kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/contentHeight">contentHeight</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-css-size.html"><span class="identifier">CssSize</span></a><span class="symbol">?</span> <span class="symbol">=</span> CssSize(0, UNIT.auto)<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window$<init>(kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/isResizable">isResizable</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window$<init>(kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/isDraggable">isDraggable</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window$<init>(kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/closeButton">closeButton</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window$<init>(kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/maximizeButton">maximizeButton</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window$<init>(kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/minimizeButton">minimizeButton</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window$<init>(kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/icon">icon</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window$<init>(kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/classes">classes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span> <span class="symbol">=</span> setOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window$<init>(kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">Window</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span></code> +<h3>Parameters</h3> +<p><a name="caption"></a> +<code>caption</code> - window title</p> +<p><a name="contentWidth"></a> +<code>contentWidth</code> - window content width</p> +<p><a name="contentHeight"></a> +<code>contentHeight</code> - window content height</p> +<p><a name="isResizable"></a> +<code>isResizable</code> - determines if the window is resizable</p> +<p><a name="isDraggable"></a> +<code>isDraggable</code> - determines if the window is draggable</p> +<p><a name="closeButton"></a> +<code>closeButton</code> - determines if Close button is visible</p> +<p><a name="maximizeButton"></a> +<code>maximizeButton</code> - determines if Maximize button is visible</p> +<p><a name="minimizeButton"></a> +<code>minimizeButton</code> - determines if Minimize button is visible</p> +<p><a name="classes"></a> +<code>classes</code> - a set of CSS class names</p> +<p><a name="init"></a> +<code>init</code> - an initializer extension function</p> +<p><strong>Constructor</strong><br/> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.window/-window/add-all.html b/api1/pl.treksoft.kvision.window/-window/add-all.html new file mode 100644 index 00000000..bd2fb310 --- /dev/null +++ b/api1/pl.treksoft.kvision.window/-window/add-all.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Window.addAll - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.window</a> / <a href="index.html">Window</a> / <a href="./add-all.html">addAll</a><br/> +<br/> +<h1>addAll</h1> +<a name="pl.treksoft.kvision.window.Window$addAll(kotlin.collections.List((pl.treksoft.kvision.core.Component)))"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addAll</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.window.Window$addAll(kotlin.collections.List((pl.treksoft.kvision.core.Component)))/children">children</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Overrides <a href="../../pl.treksoft.kvision.panel/-simple-panel/add-all.html">SimplePanel.addAll</a></p> +<p>Adds a list of components to the current container.</p> +<h3>Parameters</h3> +<p><a name="children"></a> +<code>children</code> - list of child components</p> +<p><strong>Return</strong><br/> +current container</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.window/-window/add.html b/api1/pl.treksoft.kvision.window/-window/add.html new file mode 100644 index 00000000..ad688a2c --- /dev/null +++ b/api1/pl.treksoft.kvision.window/-window/add.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Window.add - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.window</a> / <a href="index.html">Window</a> / <a href="./add.html">add</a><br/> +<br/> +<h1>add</h1> +<a name="pl.treksoft.kvision.window.Window$add(pl.treksoft.kvision.core.Component)"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">add</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.window.Window$add(pl.treksoft.kvision.core.Component)/child">child</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Overrides <a href="../../pl.treksoft.kvision.panel/-simple-panel/add.html">SimplePanel.add</a></p> +<p>Adds given component to the current container.</p> +<h3>Parameters</h3> +<p><a name="child"></a> +<code>child</code> - child component</p> +<p><strong>Return</strong><br/> +current container</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.window/-window/after-create.html b/api1/pl.treksoft.kvision.window/-window/after-create.html new file mode 100644 index 00000000..53d6b602 --- /dev/null +++ b/api1/pl.treksoft.kvision.window/-window/after-create.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Window.afterCreate - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.window</a> / <a href="index.html">Window</a> / <a href="./after-create.html">afterCreate</a><br/> +<br/> +<h1>afterCreate</h1> +<a name="pl.treksoft.kvision.window.Window$afterCreate(com.github.snabbdom.VNode)"></a> +<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">afterCreate</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.window.Window$afterCreate(com.github.snabbdom.VNode)/node">node</span><span class="symbol">:</span> <span class="identifier">VNode</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Overrides <a href="../../pl.treksoft.kvision.core/-widget/after-create.html">Widget.afterCreate</a></p> +<p>Method called after creating Snabbdom vnode.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.window/-window/after-destroy.html b/api1/pl.treksoft.kvision.window/-window/after-destroy.html new file mode 100644 index 00000000..21da8481 --- /dev/null +++ b/api1/pl.treksoft.kvision.window/-window/after-destroy.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Window.afterDestroy - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.window</a> / <a href="index.html">Window</a> / <a href="./after-destroy.html">afterDestroy</a><br/> +<br/> +<h1>afterDestroy</h1> +<a name="pl.treksoft.kvision.window.Window$afterDestroy()"></a> +<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">afterDestroy</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Overrides <a href="../../pl.treksoft.kvision.core/-widget/after-destroy.html">Widget.afterDestroy</a></p> +<p>Method called after destroying Snabbdom vnode.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.window/-window/caption.html b/api1/pl.treksoft.kvision.window/-window/caption.html new file mode 100644 index 00000000..69fd1862 --- /dev/null +++ b/api1/pl.treksoft.kvision.window/-window/caption.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Window.caption - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.window</a> / <a href="index.html">Window</a> / <a href="./caption.html">caption</a><br/> +<br/> +<h1>caption</h1> +<a name="pl.treksoft.kvision.window.Window$caption"></a> +<code><span class="keyword">var </span><span class="identifier">caption</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code> +<p>Window caption text.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.window/-window/close-button.html b/api1/pl.treksoft.kvision.window/-window/close-button.html new file mode 100644 index 00000000..9653cd94 --- /dev/null +++ b/api1/pl.treksoft.kvision.window/-window/close-button.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Window.closeButton - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.window</a> / <a href="index.html">Window</a> / <a href="./close-button.html">closeButton</a><br/> +<br/> +<h1>closeButton</h1> +<a name="pl.treksoft.kvision.window.Window$closeButton"></a> +<code><span class="keyword">var </span><span class="identifier">closeButton</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> +<p>Determines if Close button is visible.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.window/-window/close.html b/api1/pl.treksoft.kvision.window/-window/close.html new file mode 100644 index 00000000..40fbb9ba --- /dev/null +++ b/api1/pl.treksoft.kvision.window/-window/close.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Window.close - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.window</a> / <a href="index.html">Window</a> / <a href="./close.html">close</a><br/> +<br/> +<h1>close</h1> +<a name="pl.treksoft.kvision.window.Window$close()"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">close</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Close the window.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.window/-window/content-height.html b/api1/pl.treksoft.kvision.window/-window/content-height.html new file mode 100644 index 00000000..fb8bd146 --- /dev/null +++ b/api1/pl.treksoft.kvision.window/-window/content-height.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Window.contentHeight - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.window</a> / <a href="index.html">Window</a> / <a href="./content-height.html">contentHeight</a><br/> +<br/> +<h1>contentHeight</h1> +<a name="pl.treksoft.kvision.window.Window$contentHeight"></a> +<code><span class="keyword">var </span><span class="identifier">contentHeight</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-css-size.html"><span class="identifier">CssSize</span></a><span class="symbol">?</span></code> +<p>Window content height.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.window/-window/content-overflow.html b/api1/pl.treksoft.kvision.window/-window/content-overflow.html new file mode 100644 index 00000000..d1478b00 --- /dev/null +++ b/api1/pl.treksoft.kvision.window/-window/content-overflow.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Window.contentOverflow - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.window</a> / <a href="index.html">Window</a> / <a href="./content-overflow.html">contentOverflow</a><br/> +<br/> +<h1>contentOverflow</h1> +<a name="pl.treksoft.kvision.window.Window$contentOverflow"></a> +<code><span class="keyword">var </span><span class="identifier">contentOverflow</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-overflow/index.html"><span class="identifier">Overflow</span></a><span class="symbol">?</span></code> +<p>Window content height.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.window/-window/content-width.html b/api1/pl.treksoft.kvision.window/-window/content-width.html new file mode 100644 index 00000000..04fe1927 --- /dev/null +++ b/api1/pl.treksoft.kvision.window/-window/content-width.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Window.contentWidth - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.window</a> / <a href="index.html">Window</a> / <a href="./content-width.html">contentWidth</a><br/> +<br/> +<h1>contentWidth</h1> +<a name="pl.treksoft.kvision.window.Window$contentWidth"></a> +<code><span class="keyword">var </span><span class="identifier">contentWidth</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-css-size.html"><span class="identifier">CssSize</span></a><span class="symbol">?</span></code> +<p>Window content width.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.window/-window/focus.html b/api1/pl.treksoft.kvision.window/-window/focus.html new file mode 100644 index 00000000..e765ceda --- /dev/null +++ b/api1/pl.treksoft.kvision.window/-window/focus.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Window.focus - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.window</a> / <a href="index.html">Window</a> / <a href="./focus.html">focus</a><br/> +<br/> +<h1>focus</h1> +<a name="pl.treksoft.kvision.window.Window$focus()"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">focus</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Makes the current window focused.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.window/-window/get-children.html b/api1/pl.treksoft.kvision.window/-window/get-children.html new file mode 100644 index 00000000..68cb762f --- /dev/null +++ b/api1/pl.treksoft.kvision.window/-window/get-children.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Window.getChildren - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.window</a> / <a href="index.html">Window</a> / <a href="./get-children.html">getChildren</a><br/> +<br/> +<h1>getChildren</h1> +<a name="pl.treksoft.kvision.window.Window$getChildren()"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getChildren</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">></span></code> +<p>Overrides <a href="../../pl.treksoft.kvision.panel/-simple-panel/get-children.html">SimplePanel.getChildren</a></p> +<p>Returns a list of children of the current container.</p> +<p><strong>Return</strong><br/> +list of children</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.window/-window/icon.html b/api1/pl.treksoft.kvision.window/-window/icon.html new file mode 100644 index 00000000..0aba3ce2 --- /dev/null +++ b/api1/pl.treksoft.kvision.window/-window/icon.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Window.icon - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.window</a> / <a href="index.html">Window</a> / <a href="./icon.html">icon</a><br/> +<br/> +<h1>icon</h1> +<a name="pl.treksoft.kvision.window.Window$icon"></a> +<code><span class="keyword">var </span><span class="identifier">icon</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code> +<p>Window icon.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.window/-window/index.html b/api1/pl.treksoft.kvision.window/-window/index.html new file mode 100644 index 00000000..2387d179 --- /dev/null +++ b/api1/pl.treksoft.kvision.window/-window/index.html @@ -0,0 +1,294 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Window - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.window</a> / <a href="./index.html">Window</a><br/> +<br/> +<h1>Window</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Window</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Floating window container.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">Window</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.window.Window$<init>(kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/caption">caption</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window$<init>(kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/contentWidth">contentWidth</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-css-size.html"><span class="identifier">CssSize</span></a><span class="symbol">?</span> <span class="symbol">=</span> CssSize(0, UNIT.auto)<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window$<init>(kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/contentHeight">contentHeight</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-css-size.html"><span class="identifier">CssSize</span></a><span class="symbol">?</span> <span class="symbol">=</span> CssSize(0, UNIT.auto)<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window$<init>(kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/isResizable">isResizable</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window$<init>(kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/isDraggable">isDraggable</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window$<init>(kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/closeButton">closeButton</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window$<init>(kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/maximizeButton">maximizeButton</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window$<init>(kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/minimizeButton">minimizeButton</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window$<init>(kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/icon">icon</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window$<init>(kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/classes">classes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span> <span class="symbol">=</span> setOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window$<init>(kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">Window</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span></code></td> +</tr> +</tbody> +</table> +<h3>Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="caption.html">caption</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">caption</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code> +<p>Window caption text.</p> +</td> +</tr> +<tr> +<td> +<p><a href="close-button.html">closeButton</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">closeButton</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> +<p>Determines if Close button is visible.</p> +</td> +</tr> +<tr> +<td> +<p><a href="content-height.html">contentHeight</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">contentHeight</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-css-size.html"><span class="identifier">CssSize</span></a><span class="symbol">?</span></code> +<p>Window content height.</p> +</td> +</tr> +<tr> +<td> +<p><a href="content-overflow.html">contentOverflow</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">contentOverflow</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-overflow/index.html"><span class="identifier">Overflow</span></a><span class="symbol">?</span></code> +<p>Window content height.</p> +</td> +</tr> +<tr> +<td> +<p><a href="content-width.html">contentWidth</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">contentWidth</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.core/-css-size.html"><span class="identifier">CssSize</span></a><span class="symbol">?</span></code> +<p>Window content width.</p> +</td> +</tr> +<tr> +<td> +<p><a href="icon.html">icon</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">icon</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code> +<p>Window icon.</p> +</td> +</tr> +<tr> +<td> +<p><a href="is-draggable.html">isDraggable</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">isDraggable</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> +<p>Determines if the window is draggable.</p> +</td> +</tr> +<tr> +<td> +<p><a href="is-resizable.html">isResizable</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">isResizable</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> +<p>Determines if the window is resizable.</p> +</td> +</tr> +<tr> +<td> +<p><a href="maximize-button.html">maximizeButton</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">maximizeButton</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> +<p>Determines if Maximize button is visible.</p> +</td> +</tr> +<tr> +<td> +<p><a href="minimize-button.html">minimizeButton</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">minimizeButton</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> +<p>Determines if Maximize button is visible.</p> +</td> +</tr> +</tbody> +</table> +<h3>Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="add.html">add</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">add</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.window.Window$add(pl.treksoft.kvision.core.Component)/child">child</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Adds given component to the current container.</p> +</td> +</tr> +<tr> +<td> +<p><a href="add-all.html">addAll</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addAll</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.window.Window$addAll(kotlin.collections.List((pl.treksoft.kvision.core.Component)))/children">children</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">></span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Adds a list of components to the current container.</p> +</td> +</tr> +<tr> +<td> +<p><a href="after-create.html">afterCreate</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">afterCreate</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.window.Window$afterCreate(com.github.snabbdom.VNode)/node">node</span><span class="symbol">:</span> <span class="identifier">VNode</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Method called after creating Snabbdom vnode.</p> +</td> +</tr> +<tr> +<td> +<p><a href="after-destroy.html">afterDestroy</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">afterDestroy</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Method called after destroying Snabbdom vnode.</p> +</td> +</tr> +<tr> +<td> +<p><a href="close.html">close</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">close</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Close the window.</p> +</td> +</tr> +<tr> +<td> +<p><a href="focus.html">focus</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">focus</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Makes the current window focused.</p> +</td> +</tr> +<tr> +<td> +<p><a href="get-children.html">getChildren</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getChildren</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol"><</span><a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">></span></code> +<p>Returns a list of children of the current container.</p> +</td> +</tr> +<tr> +<td> +<p><a href="remove.html">remove</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">remove</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.window.Window$remove(pl.treksoft.kvision.core.Component)/child">child</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Removes given component from the current container.</p> +</td> +</tr> +<tr> +<td> +<p><a href="remove-all.html">removeAll</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeAll</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Removes all children from the current container.</p> +</td> +</tr> +<tr> +<td> +<p><a href="to-front.html">toFront</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">toFront</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Moves the current window to the front.</p> +</td> +</tr> +<tr> +<td> +<p><a href="toggle-maximize.html">toggleMaximize</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">toggleMaximize</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Maximize or restore the window size.</p> +</td> +</tr> +<tr> +<td> +<p><a href="toggle-minimize.html">toggleMinimize</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">toggleMinimize</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Minimize or restore the window size.</p> +</td> +</tr> +</tbody> +</table> +<h3>Inherited Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/add-internal.html">addInternal</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="identifier">addInternal</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.SimplePanel$addInternal(pl.treksoft.kvision.core.Component)/child">child</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Protected and final method to add given component to the current container.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/children-v-nodes.html">childrenVNodes</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">childrenVNodes</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html"><span class="identifier">Array</span></a><span class="symbol"><</span><span class="identifier">VNode</span><span class="symbol">></span></code> +<p>Returns the array of the children Snabbdom vnodes.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.panel/-simple-panel/render.html">render</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">render</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">VNode</span></code> +<p>Renders current component as a Snabbdom vnode.</p> +</td> +</tr> +</tbody> +</table> +<h3>Companion Object Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="window.html">window</a></p> +</td> +<td> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">window</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.window.Window.Companion$window(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/caption">caption</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window.Companion$window(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/contentWidth">contentWidth</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-css-size.html"><span class="identifier">CssSize</span></a><span class="symbol">?</span> <span class="symbol">=</span> CssSize(0, UNIT.auto)<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window.Companion$window(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/contentHeight">contentHeight</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-css-size.html"><span class="identifier">CssSize</span></a><span class="symbol">?</span> <span class="symbol">=</span> CssSize(0, UNIT.auto)<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window.Companion$window(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/isResizable">isResizable</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window.Companion$window(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/isDraggable">isDraggable</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window.Companion$window(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/closeButton">closeButton</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window.Companion$window(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/maximizeButton">maximizeButton</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window.Companion$window(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/minimizeButton">minimizeButton</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window.Companion$window(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/icon">icon</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window.Companion$window(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/classes">classes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span> <span class="symbol">=</span> setOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window.Companion$window(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">Window</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">Window</span></a></code> +<p>DSL builder extension function.</p> +</td> +</tr> +</tbody> +</table> +<h3>Extension Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html">createInstance</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">.</span><span class="identifier">createInstance</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.utils$createInstance(kotlin.Any, kotlin.Array((kotlin.Any)))/args">args</span><span class="symbol">:</span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html#T"><span class="identifier">T</span></a></code> +<p>Helper function for creating JavaScript objects from dynamic constructors.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.window/-window/is-draggable.html b/api1/pl.treksoft.kvision.window/-window/is-draggable.html new file mode 100644 index 00000000..6432d5fb --- /dev/null +++ b/api1/pl.treksoft.kvision.window/-window/is-draggable.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Window.isDraggable - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.window</a> / <a href="index.html">Window</a> / <a href="./is-draggable.html">isDraggable</a><br/> +<br/> +<h1>isDraggable</h1> +<a name="pl.treksoft.kvision.window.Window$isDraggable"></a> +<code><span class="keyword">var </span><span class="identifier">isDraggable</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> +<p>Determines if the window is draggable.</p> +<p><strong>Getter</strong><br/> +<p>Determines if the window is draggable.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Determines if the window is draggable.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.window/-window/is-resizable.html b/api1/pl.treksoft.kvision.window/-window/is-resizable.html new file mode 100644 index 00000000..3aa1e97a --- /dev/null +++ b/api1/pl.treksoft.kvision.window/-window/is-resizable.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Window.isResizable - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.window</a> / <a href="index.html">Window</a> / <a href="./is-resizable.html">isResizable</a><br/> +<br/> +<h1>isResizable</h1> +<a name="pl.treksoft.kvision.window.Window$isResizable"></a> +<code><span class="keyword">var </span><span class="identifier">isResizable</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> +<p>Determines if the window is resizable.</p> +<p><strong>Getter</strong><br/> +<p>Determines if the window is resizable.</p> +</p> +<p><strong>Setter</strong><br/> +<p>Determines if the window is resizable.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.window/-window/maximize-button.html b/api1/pl.treksoft.kvision.window/-window/maximize-button.html new file mode 100644 index 00000000..be5d1f0c --- /dev/null +++ b/api1/pl.treksoft.kvision.window/-window/maximize-button.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Window.maximizeButton - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.window</a> / <a href="index.html">Window</a> / <a href="./maximize-button.html">maximizeButton</a><br/> +<br/> +<h1>maximizeButton</h1> +<a name="pl.treksoft.kvision.window.Window$maximizeButton"></a> +<code><span class="keyword">var </span><span class="identifier">maximizeButton</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> +<p>Determines if Maximize button is visible.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.window/-window/minimize-button.html b/api1/pl.treksoft.kvision.window/-window/minimize-button.html new file mode 100644 index 00000000..25b2ae6f --- /dev/null +++ b/api1/pl.treksoft.kvision.window/-window/minimize-button.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Window.minimizeButton - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.window</a> / <a href="index.html">Window</a> / <a href="./minimize-button.html">minimizeButton</a><br/> +<br/> +<h1>minimizeButton</h1> +<a name="pl.treksoft.kvision.window.Window$minimizeButton"></a> +<code><span class="keyword">var </span><span class="identifier">minimizeButton</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a></code> +<p>Determines if Maximize button is visible.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.window/-window/remove-all.html b/api1/pl.treksoft.kvision.window/-window/remove-all.html new file mode 100644 index 00000000..ad12c1d6 --- /dev/null +++ b/api1/pl.treksoft.kvision.window/-window/remove-all.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Window.removeAll - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.window</a> / <a href="index.html">Window</a> / <a href="./remove-all.html">removeAll</a><br/> +<br/> +<h1>removeAll</h1> +<a name="pl.treksoft.kvision.window.Window$removeAll()"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeAll</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Overrides <a href="../../pl.treksoft.kvision.panel/-simple-panel/remove-all.html">SimplePanel.removeAll</a></p> +<p>Removes all children from the current container.</p> +<p><strong>Return</strong><br/> +current container</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.window/-window/remove.html b/api1/pl.treksoft.kvision.window/-window/remove.html new file mode 100644 index 00000000..aa47c2e0 --- /dev/null +++ b/api1/pl.treksoft.kvision.window/-window/remove.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Window.remove - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.window</a> / <a href="index.html">Window</a> / <a href="./remove.html">remove</a><br/> +<br/> +<h1>remove</h1> +<a name="pl.treksoft.kvision.window.Window$remove(pl.treksoft.kvision.core.Component)"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">remove</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.window.Window$remove(pl.treksoft.kvision.core.Component)/child">child</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>Overrides <a href="../../pl.treksoft.kvision.panel/-simple-panel/remove.html">SimplePanel.remove</a></p> +<p>Removes given component from the current container.</p> +<h3>Parameters</h3> +<p><a name="child"></a> +<code>child</code> - child component</p> +<p><strong>Return</strong><br/> +current container</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.window/-window/to-front.html b/api1/pl.treksoft.kvision.window/-window/to-front.html new file mode 100644 index 00000000..73b48625 --- /dev/null +++ b/api1/pl.treksoft.kvision.window/-window/to-front.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Window.toFront - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.window</a> / <a href="index.html">Window</a> / <a href="./to-front.html">toFront</a><br/> +<br/> +<h1>toFront</h1> +<a name="pl.treksoft.kvision.window.Window$toFront()"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">toFront</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Moves the current window to the front.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.window/-window/toggle-maximize.html b/api1/pl.treksoft.kvision.window/-window/toggle-maximize.html new file mode 100644 index 00000000..cbe7e4f1 --- /dev/null +++ b/api1/pl.treksoft.kvision.window/-window/toggle-maximize.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Window.toggleMaximize - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.window</a> / <a href="index.html">Window</a> / <a href="./toggle-maximize.html">toggleMaximize</a><br/> +<br/> +<h1>toggleMaximize</h1> +<a name="pl.treksoft.kvision.window.Window$toggleMaximize()"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">toggleMaximize</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Maximize or restore the window size.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.window/-window/toggle-minimize.html b/api1/pl.treksoft.kvision.window/-window/toggle-minimize.html new file mode 100644 index 00000000..789fc9d5 --- /dev/null +++ b/api1/pl.treksoft.kvision.window/-window/toggle-minimize.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Window.toggleMinimize - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.window</a> / <a href="index.html">Window</a> / <a href="./toggle-minimize.html">toggleMinimize</a><br/> +<br/> +<h1>toggleMinimize</h1> +<a name="pl.treksoft.kvision.window.Window$toggleMinimize()"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">toggleMinimize</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a></code> +<p>Minimize or restore the window size.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.window/-window/window.html b/api1/pl.treksoft.kvision.window/-window/window.html new file mode 100644 index 00000000..a7848414 --- /dev/null +++ b/api1/pl.treksoft.kvision.window/-window/window.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Window.window - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.window</a> / <a href="index.html">Window</a> / <a href="./window.html">window</a><br/> +<br/> +<h1>window</h1> +<a name="pl.treksoft.kvision.window.Window.Companion$window(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))"></a> +<code><span class="keyword">fun </span><a href="../../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">window</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.window.Window.Companion$window(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/caption">caption</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window.Companion$window(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/contentWidth">contentWidth</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-css-size.html"><span class="identifier">CssSize</span></a><span class="symbol">?</span> <span class="symbol">=</span> CssSize(0, UNIT.auto)<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window.Companion$window(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/contentHeight">contentHeight</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-css-size.html"><span class="identifier">CssSize</span></a><span class="symbol">?</span> <span class="symbol">=</span> CssSize(0, UNIT.auto)<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window.Companion$window(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/isResizable">isResizable</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window.Companion$window(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/isDraggable">isDraggable</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window.Companion$window(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/closeButton">closeButton</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window.Companion$window(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/maximizeButton">maximizeButton</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window.Companion$window(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/minimizeButton">minimizeButton</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window.Companion$window(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/icon">icon</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window.Companion$window(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/classes">classes</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span> <span class="symbol">=</span> setOf()<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.window.Window.Companion$window(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Pair((kotlin.Number, pl.treksoft.kvision.core.UNIT)), kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.window.Window, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">Window</span></a><span class="symbol">.</span><span class="symbol">(</span><span class="symbol">)</span> <span class="symbol">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a><span class="symbol">)</span><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Window</span></a></code> +<p>DSL builder extension function.</p> +<p>It takes the same parameters as the constructor of the built component.</p> +</BODY> +</HTML> |