diff options
author | Robert Jaros <rjaros@finn.pl> | 2019-10-26 00:17:24 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2019-10-26 00:17:24 +0200 |
commit | fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb (patch) | |
tree | 911c8e9b208b9ba77f00531668d1d99b40fcb8e3 /api1/pl.treksoft.kvision.panel/-flex-panel | |
parent | 4f5db77ec2db6c87cb93ceb9f7ea9ab311247f17 (diff) | |
download | kvision-fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb.tar.gz kvision-fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb.tar.bz2 kvision-fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb.zip |
API documentation for KVision 2.0.0
Diffstat (limited to 'api1/pl.treksoft.kvision.panel/-flex-panel')
14 files changed, 521 insertions, 0 deletions
diff --git a/api1/pl.treksoft.kvision.panel/-flex-panel/-init-.html b/api1/pl.treksoft.kvision.panel/-flex-panel/-init-.html new file mode 100644 index 00000000..f3d06b40 --- /dev/null +++ b/api1/pl.treksoft.kvision.panel/-flex-panel/-init-.html @@ -0,0 +1,33 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>FlexPanel.<init> - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.panel</a> / <a href="index.html">FlexPanel</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.panel.FlexPanel$<init>(pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))"></a> +<code><span class="identifier">FlexPanel</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel$<init>(pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/direction">direction</span><span class="symbol">:</span> <a href="../-flex-dir/index.html"><span class="identifier">FlexDir</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel$<init>(pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/wrap">wrap</span><span class="symbol">:</span> <a href="../-flex-wrap/index.html"><span class="identifier">FlexWrap</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel$<init>(pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/justify">justify</span><span class="symbol">:</span> <a href="../-flex-justify/index.html"><span class="identifier">FlexJustify</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel$<init>(pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/alignItems">alignItems</span><span class="symbol">:</span> <a href="../-flex-align-items/index.html"><span class="identifier">FlexAlignItems</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel$<init>(pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/alignContent">alignContent</span><span class="symbol">:</span> <a href="../-flex-align-content/index.html"><span class="identifier">FlexAlignContent</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel$<init>(pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/spacing">spacing</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel$<init>(pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, 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.panel.FlexPanel$<init>(pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">FlexPanel</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="direction"></a> +<code>direction</code> - flexbox direction</p> +<p><a name="wrap"></a> +<code>wrap</code> - flexbox wrap</p> +<p><a name="justify"></a> +<code>justify</code> - flexbox content justification</p> +<p><a name="alignItems"></a> +<code>alignItems</code> - flexbox items alignment</p> +<p><a name="alignContent"></a> +<code>alignContent</code> - flexbox content alignment</p> +<p><a name="spacing"></a> +<code>spacing</code> - spacing between columns/rows</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.panel/-flex-panel/add-all.html b/api1/pl.treksoft.kvision.panel/-flex-panel/add-all.html new file mode 100644 index 00000000..0d9db186 --- /dev/null +++ b/api1/pl.treksoft.kvision.panel/-flex-panel/add-all.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>FlexPanel.addAll - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.panel</a> / <a href="index.html">FlexPanel</a> / <a href="./add-all.html">addAll</a><br/> +<br/> +<h1>addAll</h1> +<a name="pl.treksoft.kvision.panel.FlexPanel$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.panel.FlexPanel$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="index.html"><span class="identifier">FlexPanel</span></a></code> +<p>Overrides <a href="../-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.panel/-flex-panel/add.html b/api1/pl.treksoft.kvision.panel/-flex-panel/add.html new file mode 100644 index 00000000..fe953bd6 --- /dev/null +++ b/api1/pl.treksoft.kvision.panel/-flex-panel/add.html @@ -0,0 +1,39 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>FlexPanel.add - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.panel</a> / <a href="index.html">FlexPanel</a> / <a href="./add.html">add</a><br/> +<br/> +<h1>add</h1> +<a name="pl.treksoft.kvision.panel.FlexPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.FlexAlignItems, kotlin.collections.Set((kotlin.String)))"></a> +<code><span class="keyword">fun </span><span class="identifier">add</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.FlexAlignItems, kotlin.collections.Set((kotlin.String)))/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="identifier" id="pl.treksoft.kvision.panel.FlexPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.FlexAlignItems, kotlin.collections.Set((kotlin.String)))/order">order</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.FlexAlignItems, kotlin.collections.Set((kotlin.String)))/grow">grow</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.FlexAlignItems, kotlin.collections.Set((kotlin.String)))/shrink">shrink</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.FlexAlignItems, kotlin.collections.Set((kotlin.String)))/basis">basis</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.FlexAlignItems, kotlin.collections.Set((kotlin.String)))/alignSelf">alignSelf</span><span class="symbol">:</span> <a href="../-flex-align-items/index.html"><span class="identifier">FlexAlignItems</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.FlexAlignItems, kotlin.collections.Set((kotlin.String)))/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="symbol">: </span><a href="index.html"><span class="identifier">FlexPanel</span></a></code> +<p>Adds a component to the flexbox container.</p> +<h3>Parameters</h3> +<p><a name="child"></a> +<code>child</code> - child component</p> +<p><a name="order"></a> +<code>order</code> - child flexbox ordering</p> +<p><a name="grow"></a> +<code>grow</code> - child flexbox grow</p> +<p><a name="shrink"></a> +<code>shrink</code> - child flexbox shrink</p> +<p><a name="basis"></a> +<code>basis</code> - child flexbox basis</p> +<p><a name="alignSelf"></a> +<code>alignSelf</code> - child self alignment</p> +<p><a name="classes"></a> +<code>classes</code> - a set of CSS class names</p> +<a name="pl.treksoft.kvision.panel.FlexPanel$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.panel.FlexPanel$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="index.html"><span class="identifier">FlexPanel</span></a></code> +<p>Overrides <a href="../-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.panel/-flex-panel/align-content.html b/api1/pl.treksoft.kvision.panel/-flex-panel/align-content.html new file mode 100644 index 00000000..f4df572f --- /dev/null +++ b/api1/pl.treksoft.kvision.panel/-flex-panel/align-content.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>FlexPanel.alignContent - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.panel</a> / <a href="index.html">FlexPanel</a> / <a href="./align-content.html">alignContent</a><br/> +<br/> +<h1>alignContent</h1> +<a name="pl.treksoft.kvision.panel.FlexPanel$alignContent"></a> +<code><span class="keyword">var </span><span class="identifier">alignContent</span><span class="symbol">: </span><a href="../-flex-align-content/index.html"><span class="identifier">FlexAlignContent</span></a><span class="symbol">?</span></code> +<p>CSS flexbox content alignment.</p> +<p><strong>Getter</strong><br/> +<p>CSS flexbox content alignment.</p> +</p> +<p><strong>Setter</strong><br/> +<p>CSS flexbox content alignment.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.panel/-flex-panel/align-items.html b/api1/pl.treksoft.kvision.panel/-flex-panel/align-items.html new file mode 100644 index 00000000..b6d46129 --- /dev/null +++ b/api1/pl.treksoft.kvision.panel/-flex-panel/align-items.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>FlexPanel.alignItems - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.panel</a> / <a href="index.html">FlexPanel</a> / <a href="./align-items.html">alignItems</a><br/> +<br/> +<h1>alignItems</h1> +<a name="pl.treksoft.kvision.panel.FlexPanel$alignItems"></a> +<code><span class="keyword">var </span><span class="identifier">alignItems</span><span class="symbol">: </span><a href="../-flex-align-items/index.html"><span class="identifier">FlexAlignItems</span></a><span class="symbol">?</span></code> +<p>CSS flexbox items alignment.</p> +<p><strong>Getter</strong><br/> +<p>CSS flexbox items alignment.</p> +</p> +<p><strong>Setter</strong><br/> +<p>CSS flexbox items alignment.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.panel/-flex-panel/direction.html b/api1/pl.treksoft.kvision.panel/-flex-panel/direction.html new file mode 100644 index 00000000..b4cb415a --- /dev/null +++ b/api1/pl.treksoft.kvision.panel/-flex-panel/direction.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>FlexPanel.direction - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.panel</a> / <a href="index.html">FlexPanel</a> / <a href="./direction.html">direction</a><br/> +<br/> +<h1>direction</h1> +<a name="pl.treksoft.kvision.panel.FlexPanel$direction"></a> +<code><span class="keyword">var </span><span class="identifier">direction</span><span class="symbol">: </span><a href="../-flex-dir/index.html"><span class="identifier">FlexDir</span></a><span class="symbol">?</span></code> +<p>CSS flexbox direction.</p> +<p><strong>Getter</strong><br/> +<p>CSS flexbox direction.</p> +</p> +<p><strong>Setter</strong><br/> +<p>CSS flexbox direction.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.panel/-flex-panel/flex-panel.html b/api1/pl.treksoft.kvision.panel/-flex-panel/flex-panel.html new file mode 100644 index 00000000..0a3f453a --- /dev/null +++ b/api1/pl.treksoft.kvision.panel/-flex-panel/flex-panel.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>FlexPanel.flexPanel - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.panel</a> / <a href="index.html">FlexPanel</a> / <a href="./flex-panel.html">flexPanel</a><br/> +<br/> +<h1>flexPanel</h1> +<a name="pl.treksoft.kvision.panel.FlexPanel.Companion$flexPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, 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">flexPanel</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel.Companion$flexPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/direction">direction</span><span class="symbol">:</span> <a href="../-flex-dir/index.html"><span class="identifier">FlexDir</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel.Companion$flexPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/wrap">wrap</span><span class="symbol">:</span> <a href="../-flex-wrap/index.html"><span class="identifier">FlexWrap</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel.Companion$flexPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/justify">justify</span><span class="symbol">:</span> <a href="../-flex-justify/index.html"><span class="identifier">FlexJustify</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel.Companion$flexPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/alignItems">alignItems</span><span class="symbol">:</span> <a href="../-flex-align-items/index.html"><span class="identifier">FlexAlignItems</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel.Companion$flexPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/alignContent">alignContent</span><span class="symbol">:</span> <a href="../-flex-align-content/index.html"><span class="identifier">FlexAlignContent</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel.Companion$flexPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/spacing">spacing</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel.Companion$flexPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, 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.panel.FlexPanel.Companion$flexPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">FlexPanel</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">FlexPanel</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> diff --git a/api1/pl.treksoft.kvision.panel/-flex-panel/get-sn-style.html b/api1/pl.treksoft.kvision.panel/-flex-panel/get-sn-style.html new file mode 100644 index 00000000..32fccbed --- /dev/null +++ b/api1/pl.treksoft.kvision.panel/-flex-panel/get-sn-style.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>FlexPanel.getSnStyle - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.panel</a> / <a href="index.html">FlexPanel</a> / <a href="./get-sn-style.html">getSnStyle</a><br/> +<br/> +<h1>getSnStyle</h1> +<a name="pl.treksoft.kvision.panel.FlexPanel$getSnStyle()"></a> +<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getSnStyle</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/-string-pair.html"><span class="identifier">StringPair</span></a><span class="symbol">></span></code> +<p>Overrides <a href="../../pl.treksoft.kvision.core/-styled-component/get-sn-style.html">StyledComponent.getSnStyle</a></p> +<p>Returns the list of String pairs defining CSS style attributes and their values.</p> +<p><strong>Return</strong><br/> +the list of attributes and their values</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.panel/-flex-panel/index.html b/api1/pl.treksoft.kvision.panel/-flex-panel/index.html new file mode 100644 index 00000000..28644f6d --- /dev/null +++ b/api1/pl.treksoft.kvision.panel/-flex-panel/index.html @@ -0,0 +1,229 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>FlexPanel - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.panel</a> / <a href="./index.html">FlexPanel</a><br/> +<br/> +<h1>FlexPanel</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">FlexPanel</span> <span class="symbol">:</span> <a href="../-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>The container with CSS flexbox layout support.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">FlexPanel</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel$<init>(pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/direction">direction</span><span class="symbol">:</span> <a href="../-flex-dir/index.html"><span class="identifier">FlexDir</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel$<init>(pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/wrap">wrap</span><span class="symbol">:</span> <a href="../-flex-wrap/index.html"><span class="identifier">FlexWrap</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel$<init>(pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/justify">justify</span><span class="symbol">:</span> <a href="../-flex-justify/index.html"><span class="identifier">FlexJustify</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel$<init>(pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/alignItems">alignItems</span><span class="symbol">:</span> <a href="../-flex-align-items/index.html"><span class="identifier">FlexAlignItems</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel$<init>(pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/alignContent">alignContent</span><span class="symbol">:</span> <a href="../-flex-align-content/index.html"><span class="identifier">FlexAlignContent</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel$<init>(pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/spacing">spacing</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel$<init>(pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, 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.panel.FlexPanel$<init>(pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">FlexPanel</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="align-content.html">alignContent</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">alignContent</span><span class="symbol">: </span><a href="../-flex-align-content/index.html"><span class="identifier">FlexAlignContent</span></a><span class="symbol">?</span></code> +<p>CSS flexbox content alignment.</p> +</td> +</tr> +<tr> +<td> +<p><a href="align-items.html">alignItems</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">alignItems</span><span class="symbol">: </span><a href="../-flex-align-items/index.html"><span class="identifier">FlexAlignItems</span></a><span class="symbol">?</span></code> +<p>CSS flexbox items alignment.</p> +</td> +</tr> +<tr> +<td> +<p><a href="direction.html">direction</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">direction</span><span class="symbol">: </span><a href="../-flex-dir/index.html"><span class="identifier">FlexDir</span></a><span class="symbol">?</span></code> +<p>CSS flexbox direction.</p> +</td> +</tr> +<tr> +<td> +<p><a href="justify.html">justify</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">justify</span><span class="symbol">: </span><a href="../-flex-justify/index.html"><span class="identifier">FlexJustify</span></a><span class="symbol">?</span></code> +<p>CSS flexbox content justification.</p> +</td> +</tr> +<tr> +<td> +<p><a href="spacing.html">spacing</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">spacing</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span></code> +<p>The spacing between columns/rows.</p> +</td> +</tr> +<tr> +<td> +<p><a href="wrap.html">wrap</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">wrap</span><span class="symbol">: </span><a href="../-flex-wrap/index.html"><span class="identifier">FlexWrap</span></a><span class="symbol">?</span></code> +<p>CSS flexbox wrap mode.</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">fun </span><span class="identifier">add</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.FlexAlignItems, kotlin.collections.Set((kotlin.String)))/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="identifier" id="pl.treksoft.kvision.panel.FlexPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.FlexAlignItems, kotlin.collections.Set((kotlin.String)))/order">order</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.FlexAlignItems, kotlin.collections.Set((kotlin.String)))/grow">grow</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.FlexAlignItems, kotlin.collections.Set((kotlin.String)))/shrink">shrink</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.FlexAlignItems, kotlin.collections.Set((kotlin.String)))/basis">basis</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.FlexAlignItems, kotlin.collections.Set((kotlin.String)))/alignSelf">alignSelf</span><span class="symbol">:</span> <a href="../-flex-align-items/index.html"><span class="identifier">FlexAlignItems</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.Int, kotlin.Int, pl.treksoft.kvision.panel.FlexAlignItems, kotlin.collections.Set((kotlin.String)))/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="symbol">: </span><a href="./index.html"><span class="identifier">FlexPanel</span></a></code> +<p>Adds a component to the flexbox container.</p> +<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.panel.FlexPanel$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="./index.html"><span class="identifier">FlexPanel</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.panel.FlexPanel$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="./index.html"><span class="identifier">FlexPanel</span></a></code> +<p>Adds a list of components to the current container.</p> +</td> +</tr> +<tr> +<td> +<p><a href="get-sn-style.html">getSnStyle</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getSnStyle</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/-string-pair.html"><span class="identifier">StringPair</span></a><span class="symbol">></span></code> +<p>Returns the list of String pairs defining CSS style attributes and their values.</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.panel.FlexPanel$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="./index.html"><span class="identifier">FlexPanel</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="./index.html"><span class="identifier">FlexPanel</span></a></code> +<p>Removes all children from the current container.</p> +</td> +</tr> +</tbody> +</table> +<h3>Inherited Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-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="../-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="../-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="../-simple-panel/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="../-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="flex-panel.html">flexPanel</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">flexPanel</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel.Companion$flexPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/direction">direction</span><span class="symbol">:</span> <a href="../-flex-dir/index.html"><span class="identifier">FlexDir</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel.Companion$flexPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/wrap">wrap</span><span class="symbol">:</span> <a href="../-flex-wrap/index.html"><span class="identifier">FlexWrap</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel.Companion$flexPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/justify">justify</span><span class="symbol">:</span> <a href="../-flex-justify/index.html"><span class="identifier">FlexJustify</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel.Companion$flexPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/alignItems">alignItems</span><span class="symbol">:</span> <a href="../-flex-align-items/index.html"><span class="identifier">FlexAlignItems</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel.Companion$flexPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/alignContent">alignContent</span><span class="symbol">:</span> <a href="../-flex-align-content/index.html"><span class="identifier">FlexAlignContent</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel.Companion$flexPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/spacing">spacing</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.FlexPanel.Companion$flexPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, 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.panel.FlexPanel.Companion$flexPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.FlexDir, pl.treksoft.kvision.panel.FlexWrap, pl.treksoft.kvision.panel.FlexJustify, pl.treksoft.kvision.panel.FlexAlignItems, pl.treksoft.kvision.panel.FlexAlignContent, kotlin.Int, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.FlexPanel, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">FlexPanel</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">FlexPanel</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> +<h3>Inheritors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../-h-panel/index.html">HPanel</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">HPanel</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">FlexPanel</span></a></code> +<p>The container with horizontal layout.</p> +</td> +</tr> +<tr> +<td> +<p><a href="../-v-panel/index.html">VPanel</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">VPanel</span> <span class="symbol">:</span> <a href="./index.html"><span class="identifier">FlexPanel</span></a></code> +<p>The container with vertical layout.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.panel/-flex-panel/justify.html b/api1/pl.treksoft.kvision.panel/-flex-panel/justify.html new file mode 100644 index 00000000..cef4e63f --- /dev/null +++ b/api1/pl.treksoft.kvision.panel/-flex-panel/justify.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>FlexPanel.justify - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.panel</a> / <a href="index.html">FlexPanel</a> / <a href="./justify.html">justify</a><br/> +<br/> +<h1>justify</h1> +<a name="pl.treksoft.kvision.panel.FlexPanel$justify"></a> +<code><span class="keyword">var </span><span class="identifier">justify</span><span class="symbol">: </span><a href="../-flex-justify/index.html"><span class="identifier">FlexJustify</span></a><span class="symbol">?</span></code> +<p>CSS flexbox content justification.</p> +<p><strong>Getter</strong><br/> +<p>CSS flexbox content justification.</p> +</p> +<p><strong>Setter</strong><br/> +<p>CSS flexbox content justification.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.panel/-flex-panel/remove-all.html b/api1/pl.treksoft.kvision.panel/-flex-panel/remove-all.html new file mode 100644 index 00000000..4a5a9db9 --- /dev/null +++ b/api1/pl.treksoft.kvision.panel/-flex-panel/remove-all.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>FlexPanel.removeAll - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.panel</a> / <a href="index.html">FlexPanel</a> / <a href="./remove-all.html">removeAll</a><br/> +<br/> +<h1>removeAll</h1> +<a name="pl.treksoft.kvision.panel.FlexPanel$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="index.html"><span class="identifier">FlexPanel</span></a></code> +<p>Overrides <a href="../-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.panel/-flex-panel/remove.html b/api1/pl.treksoft.kvision.panel/-flex-panel/remove.html new file mode 100644 index 00000000..308625b1 --- /dev/null +++ b/api1/pl.treksoft.kvision.panel/-flex-panel/remove.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>FlexPanel.remove - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.panel</a> / <a href="index.html">FlexPanel</a> / <a href="./remove.html">remove</a><br/> +<br/> +<h1>remove</h1> +<a name="pl.treksoft.kvision.panel.FlexPanel$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.panel.FlexPanel$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="index.html"><span class="identifier">FlexPanel</span></a></code> +<p>Overrides <a href="../-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.panel/-flex-panel/spacing.html b/api1/pl.treksoft.kvision.panel/-flex-panel/spacing.html new file mode 100644 index 00000000..4dc0bf66 --- /dev/null +++ b/api1/pl.treksoft.kvision.panel/-flex-panel/spacing.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>FlexPanel.spacing - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.panel</a> / <a href="index.html">FlexPanel</a> / <a href="./spacing.html">spacing</a><br/> +<br/> +<h1>spacing</h1> +<a name="pl.treksoft.kvision.panel.FlexPanel$spacing"></a> +<code><span class="keyword">var </span><span class="identifier">spacing</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span></code> +<p>The spacing between columns/rows.</p> +<p><strong>Getter</strong><br/> +<p>The spacing between columns/rows.</p> +</p> +<p><strong>Setter</strong><br/> +<p>The spacing between columns/rows.</p> +</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.panel/-flex-panel/wrap.html b/api1/pl.treksoft.kvision.panel/-flex-panel/wrap.html new file mode 100644 index 00000000..4ae5640d --- /dev/null +++ b/api1/pl.treksoft.kvision.panel/-flex-panel/wrap.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>FlexPanel.wrap - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.panel</a> / <a href="index.html">FlexPanel</a> / <a href="./wrap.html">wrap</a><br/> +<br/> +<h1>wrap</h1> +<a name="pl.treksoft.kvision.panel.FlexPanel$wrap"></a> +<code><span class="keyword">var </span><span class="identifier">wrap</span><span class="symbol">: </span><a href="../-flex-wrap/index.html"><span class="identifier">FlexWrap</span></a><span class="symbol">?</span></code> +<p>CSS flexbox wrap mode.</p> +<p><strong>Getter</strong><br/> +<p>CSS flexbox wrap mode.</p> +</p> +<p><strong>Setter</strong><br/> +<p>CSS flexbox wrap mode.</p> +</p> +</BODY> +</HTML> |