diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-10-22 00:01:39 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-10-22 00:01:39 +0200 |
commit | eb930482e9972a21d39f2aea8b813acf58ff5b64 (patch) | |
tree | 1c64052b39527aca51793860894baa37791cc94f /api/pl.treksoft.kvision.panel/-flex-panel | |
parent | 7c2850063697f94a0d8b8d8f8588136dd4b3d05e (diff) | |
download | kvision-eb930482e9972a21d39f2aea8b813acf58ff5b64.tar.gz kvision-eb930482e9972a21d39f2aea8b813acf58ff5b64.tar.bz2 kvision-eb930482e9972a21d39f2aea8b813acf58ff5b64.zip |
API documentation for KVision 0.0.19
Diffstat (limited to 'api/pl.treksoft.kvision.panel/-flex-panel')
14 files changed, 507 insertions, 0 deletions
diff --git a/api/pl.treksoft.kvision.panel/-flex-panel/-init-.html b/api/pl.treksoft.kvision.panel/-flex-panel/-init-.html new file mode 100644 index 00000000..23a1d6e5 --- /dev/null +++ b/api/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> <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> 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/api/pl.treksoft.kvision.panel/-flex-panel/add-all.html b/api/pl.treksoft.kvision.panel/-flex-panel/add-all.html new file mode 100644 index 00000000..0d9db186 --- /dev/null +++ b/api/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/api/pl.treksoft.kvision.panel/-flex-panel/add.html b/api/pl.treksoft.kvision.panel/-flex-panel/add.html new file mode 100644 index 00000000..fe953bd6 --- /dev/null +++ b/api/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/api/pl.treksoft.kvision.panel/-flex-panel/align-content.html b/api/pl.treksoft.kvision.panel/-flex-panel/align-content.html new file mode 100644 index 00000000..f4df572f --- /dev/null +++ b/api/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/api/pl.treksoft.kvision.panel/-flex-panel/align-items.html b/api/pl.treksoft.kvision.panel/-flex-panel/align-items.html new file mode 100644 index 00000000..b6d46129 --- /dev/null +++ b/api/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/api/pl.treksoft.kvision.panel/-flex-panel/direction.html b/api/pl.treksoft.kvision.panel/-flex-panel/direction.html new file mode 100644 index 00000000..b4cb415a --- /dev/null +++ b/api/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/api/pl.treksoft.kvision.panel/-flex-panel/flex-panel.html b/api/pl.treksoft.kvision.panel/-flex-panel/flex-panel.html new file mode 100644 index 00000000..4627c54e --- /dev/null +++ b/api/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> <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> 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/api/pl.treksoft.kvision.panel/-flex-panel/get-sn-style.html b/api/pl.treksoft.kvision.panel/-flex-panel/get-sn-style.html new file mode 100644 index 00000000..32fccbed --- /dev/null +++ b/api/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/api/pl.treksoft.kvision.panel/-flex-panel/index.html b/api/pl.treksoft.kvision.panel/-flex-panel/index.html new file mode 100644 index 00000000..6bcd8aa8 --- /dev/null +++ b/api/pl.treksoft.kvision.panel/-flex-panel/index.html @@ -0,0 +1,215 @@ +<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> <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> 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> <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> 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>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/api/pl.treksoft.kvision.panel/-flex-panel/justify.html b/api/pl.treksoft.kvision.panel/-flex-panel/justify.html new file mode 100644 index 00000000..cef4e63f --- /dev/null +++ b/api/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/api/pl.treksoft.kvision.panel/-flex-panel/remove-all.html b/api/pl.treksoft.kvision.panel/-flex-panel/remove-all.html new file mode 100644 index 00000000..4a5a9db9 --- /dev/null +++ b/api/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/api/pl.treksoft.kvision.panel/-flex-panel/remove.html b/api/pl.treksoft.kvision.panel/-flex-panel/remove.html new file mode 100644 index 00000000..308625b1 --- /dev/null +++ b/api/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/api/pl.treksoft.kvision.panel/-flex-panel/spacing.html b/api/pl.treksoft.kvision.panel/-flex-panel/spacing.html new file mode 100644 index 00000000..4dc0bf66 --- /dev/null +++ b/api/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/api/pl.treksoft.kvision.panel/-flex-panel/wrap.html b/api/pl.treksoft.kvision.panel/-flex-panel/wrap.html new file mode 100644 index 00000000..4ae5640d --- /dev/null +++ b/api/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> |