diff options
Diffstat (limited to 'api1/pl.treksoft.kvision.panel/-tab-panel')
12 files changed, 407 insertions, 0 deletions
diff --git a/api1/pl.treksoft.kvision.panel/-tab-panel/-init-.html b/api1/pl.treksoft.kvision.panel/-tab-panel/-init-.html new file mode 100644 index 00000000..76a3400c --- /dev/null +++ b/api1/pl.treksoft.kvision.panel/-tab-panel/-init-.html @@ -0,0 +1,27 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TabPanel.<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">TabPanel</a> / <a href="./-init-.html"><init></a><br/> +<br/> +<h1><init></h1> +<a name="pl.treksoft.kvision.panel.TabPanel$<init>(pl.treksoft.kvision.panel.TabPosition, pl.treksoft.kvision.panel.SideTabSize, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.TabPanel, kotlin.Unit)))"></a> +<code><span class="identifier">TabPanel</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel$<init>(pl.treksoft.kvision.panel.TabPosition, pl.treksoft.kvision.panel.SideTabSize, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.TabPanel, kotlin.Unit)))/tabPosition">tabPosition</span><span class="symbol">:</span> <a href="../-tab-position/index.html"><span class="identifier">TabPosition</span></a> <span class="symbol">=</span> TabPosition.TOP<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel$<init>(pl.treksoft.kvision.panel.TabPosition, pl.treksoft.kvision.panel.SideTabSize, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.TabPanel, kotlin.Unit)))/sideTabSize">sideTabSize</span><span class="symbol">:</span> <a href="../-side-tab-size/index.html"><span class="identifier">SideTabSize</span></a> <span class="symbol">=</span> SideTabSize.SIZE_3<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel$<init>(pl.treksoft.kvision.panel.TabPosition, pl.treksoft.kvision.panel.SideTabSize, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.TabPanel, kotlin.Unit)))/scrollableTabs">scrollableTabs</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel$<init>(pl.treksoft.kvision.panel.TabPosition, pl.treksoft.kvision.panel.SideTabSize, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.TabPanel, 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.TabPanel$<init>(pl.treksoft.kvision.panel.TabPosition, pl.treksoft.kvision.panel.SideTabSize, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.TabPanel, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">TabPanel</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="tabPosition"></a> +<code>tabPosition</code> - tab position</p> +<p><a name="sideTabSize"></a> +<code>sideTabSize</code> - side tab size</p> +<p><a name="scrollableTabs"></a> +<code>scrollableTabs</code> - determines if tabs are scrollable (default: false)</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/-tab-panel/active-index.html b/api1/pl.treksoft.kvision.panel/-tab-panel/active-index.html new file mode 100644 index 00000000..01be57ab --- /dev/null +++ b/api1/pl.treksoft.kvision.panel/-tab-panel/active-index.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TabPanel.activeIndex - 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">TabPanel</a> / <a href="./active-index.html">activeIndex</a><br/> +<br/> +<h1>activeIndex</h1> +<a name="pl.treksoft.kvision.panel.TabPanel$activeIndex"></a> +<code><span class="keyword">var </span><span class="identifier">activeIndex</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a></code> +<p>The index of active (visible) tab.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.panel/-tab-panel/add-all.html b/api1/pl.treksoft.kvision.panel/-tab-panel/add-all.html new file mode 100644 index 00000000..73a08956 --- /dev/null +++ b/api1/pl.treksoft.kvision.panel/-tab-panel/add-all.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TabPanel.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">TabPanel</a> / <a href="./add-all.html">addAll</a><br/> +<br/> +<h1>addAll</h1> +<a name="pl.treksoft.kvision.panel.TabPanel$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.TabPanel$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">TabPanel</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/-tab-panel/add-tab.html b/api1/pl.treksoft.kvision.panel/-tab-panel/add-tab.html new file mode 100644 index 00000000..fd140749 --- /dev/null +++ b/api1/pl.treksoft.kvision.panel/-tab-panel/add-tab.html @@ -0,0 +1,30 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TabPanel.addTab - 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">TabPanel</a> / <a href="./add-tab.html">addTab</a><br/> +<br/> +<h1>addTab</h1> +<a name="pl.treksoft.kvision.panel.TabPanel$addTab(kotlin.String, pl.treksoft.kvision.core.Component, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.String)"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addTab</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel$addTab(kotlin.String, pl.treksoft.kvision.core.Component, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.String)/title">title</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel$addTab(kotlin.String, pl.treksoft.kvision.core.Component, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.String)/panel">panel</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.TabPanel$addTab(kotlin.String, pl.treksoft.kvision.core.Component, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.String)/icon">icon</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel$addTab(kotlin.String, pl.treksoft.kvision.core.Component, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.String)/image">image</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel$addTab(kotlin.String, pl.treksoft.kvision.core.Component, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.String)/closable">closable</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel$addTab(kotlin.String, pl.treksoft.kvision.core.Component, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.String)/route">route</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">TabPanel</span></a></code> +<p>Adds new tab and optionally bounds it's activation to a given route.</p> +<h3>Parameters</h3> +<p><a name="title"></a> +<code>title</code> - title of the tab</p> +<p><a name="panel"></a> +<code>panel</code> - child component</p> +<p><a name="icon"></a> +<code>icon</code> - icon of the tab</p> +<p><a name="image"></a> +<code>image</code> - image of the tab</p> +<p><a name="closable"></a> +<code>closable</code> - determines if this tab is closable</p> +<p><a name="route"></a> +<code>route</code> - JavaScript route to activate given child</p> +<p><strong>Return</strong><br/> +current container</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.panel/-tab-panel/add.html b/api1/pl.treksoft.kvision.panel/-tab-panel/add.html new file mode 100644 index 00000000..21369b50 --- /dev/null +++ b/api1/pl.treksoft.kvision.panel/-tab-panel/add.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TabPanel.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">TabPanel</a> / <a href="./add.html">add</a><br/> +<br/> +<h1>add</h1> +<a name="pl.treksoft.kvision.panel.TabPanel$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.TabPanel$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">TabPanel</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/-tab-panel/get-child-component.html b/api1/pl.treksoft.kvision.panel/-tab-panel/get-child-component.html new file mode 100644 index 00000000..a5e88799 --- /dev/null +++ b/api1/pl.treksoft.kvision.panel/-tab-panel/get-child-component.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TabPanel.getChildComponent - 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">TabPanel</a> / <a href="./get-child-component.html">getChildComponent</a><br/> +<br/> +<h1>getChildComponent</h1> +<a name="pl.treksoft.kvision.panel.TabPanel$getChildComponent(kotlin.Int)"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getChildComponent</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel$getChildComponent(kotlin.Int)/index">index</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><a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">?</span></code> +<p>Returns child component by tab index.</p> +<h3>Parameters</h3> +<p><a name="index"></a> +<code>index</code> - tab index</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.panel/-tab-panel/get-nav-component.html b/api1/pl.treksoft.kvision.panel/-tab-panel/get-nav-component.html new file mode 100644 index 00000000..825aaccd --- /dev/null +++ b/api1/pl.treksoft.kvision.panel/-tab-panel/get-nav-component.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TabPanel.getNavComponent - 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">TabPanel</a> / <a href="./get-nav-component.html">getNavComponent</a><br/> +<br/> +<h1>getNavComponent</h1> +<a name="pl.treksoft.kvision.panel.TabPanel$getNavComponent(kotlin.Int)"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getNavComponent</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel$getNavComponent(kotlin.Int)/index">index</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><a href="../../pl.treksoft.kvision.html/-tag/index.html"><span class="identifier">Tag</span></a><span class="symbol">?</span></code> +<p>Returns tab header component by tab index.</p> +<h3>Parameters</h3> +<p><a name="index"></a> +<code>index</code> - tab index</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.panel/-tab-panel/index.html b/api1/pl.treksoft.kvision.panel/-tab-panel/index.html new file mode 100644 index 00000000..d8db44dd --- /dev/null +++ b/api1/pl.treksoft.kvision.panel/-tab-panel/index.html @@ -0,0 +1,187 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TabPanel - 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">TabPanel</a><br/> +<br/> +<h1>TabPanel</h1> +<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">TabPanel</span> <span class="symbol">:</span> <a href="../-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code> +<p>The container rendering it's children as tabs.</p> +<p>It supports activating children by a JavaScript route.</p> +<h3>Constructors</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="-init-.html"><init></a></p> +</td> +<td> +<code><span class="identifier">TabPanel</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel$<init>(pl.treksoft.kvision.panel.TabPosition, pl.treksoft.kvision.panel.SideTabSize, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.TabPanel, kotlin.Unit)))/tabPosition">tabPosition</span><span class="symbol">:</span> <a href="../-tab-position/index.html"><span class="identifier">TabPosition</span></a> <span class="symbol">=</span> TabPosition.TOP<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel$<init>(pl.treksoft.kvision.panel.TabPosition, pl.treksoft.kvision.panel.SideTabSize, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.TabPanel, kotlin.Unit)))/sideTabSize">sideTabSize</span><span class="symbol">:</span> <a href="../-side-tab-size/index.html"><span class="identifier">SideTabSize</span></a> <span class="symbol">=</span> SideTabSize.SIZE_3<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel$<init>(pl.treksoft.kvision.panel.TabPosition, pl.treksoft.kvision.panel.SideTabSize, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.TabPanel, kotlin.Unit)))/scrollableTabs">scrollableTabs</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel$<init>(pl.treksoft.kvision.panel.TabPosition, pl.treksoft.kvision.panel.SideTabSize, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.TabPanel, 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.TabPanel$<init>(pl.treksoft.kvision.panel.TabPosition, pl.treksoft.kvision.panel.SideTabSize, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.TabPanel, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">TabPanel</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="active-index.html">activeIndex</a></p> +</td> +<td> +<code><span class="keyword">var </span><span class="identifier">activeIndex</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a></code> +<p>The index of active (visible) tab.</p> +</td> +</tr> +</tbody> +</table> +<h3>Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="add.html">add</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">add</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel$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">TabPanel</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.TabPanel$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">TabPanel</span></a></code> +<p>Adds a list of components to the current container.</p> +</td> +</tr> +<tr> +<td> +<p><a href="add-tab.html">addTab</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">addTab</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel$addTab(kotlin.String, pl.treksoft.kvision.core.Component, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.String)/title">title</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel$addTab(kotlin.String, pl.treksoft.kvision.core.Component, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.String)/panel">panel</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.TabPanel$addTab(kotlin.String, pl.treksoft.kvision.core.Component, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.String)/icon">icon</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel$addTab(kotlin.String, pl.treksoft.kvision.core.Component, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.String)/image">image</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel$addTab(kotlin.String, pl.treksoft.kvision.core.Component, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.String)/closable">closable</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel$addTab(kotlin.String, pl.treksoft.kvision.core.Component, kotlin.String, kotlin.String, kotlin.Boolean, kotlin.String)/route">route</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">TabPanel</span></a></code> +<p>Adds new tab and optionally bounds it's activation to a given route.</p> +</td> +</tr> +<tr> +<td> +<p><a href="get-child-component.html">getChildComponent</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getChildComponent</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel$getChildComponent(kotlin.Int)/index">index</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><a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">?</span></code> +<p>Returns child component by tab index.</p> +</td> +</tr> +<tr> +<td> +<p><a href="get-nav-component.html">getNavComponent</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getNavComponent</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel$getNavComponent(kotlin.Int)/index">index</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><a href="../../pl.treksoft.kvision.html/-tag/index.html"><span class="identifier">Tag</span></a><span class="symbol">?</span></code> +<p>Returns tab header component by tab index.</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.TabPanel$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">TabPanel</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">TabPanel</span></a></code> +<p>Removes all children from the current container.</p> +</td> +</tr> +<tr> +<td> +<p><a href="remove-tab.html">removeTab</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeTab</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel$removeTab(kotlin.Int)/index">index</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><a href="./index.html"><span class="identifier">TabPanel</span></a></code> +<p>Removes tab at given index.</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="tab-panel.html">tabPanel</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">tabPanel</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel.Companion$tabPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.TabPosition, pl.treksoft.kvision.panel.SideTabSize, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.TabPanel, kotlin.Unit)))/tabPosition">tabPosition</span><span class="symbol">:</span> <a href="../-tab-position/index.html"><span class="identifier">TabPosition</span></a> <span class="symbol">=</span> TabPosition.TOP<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel.Companion$tabPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.TabPosition, pl.treksoft.kvision.panel.SideTabSize, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.TabPanel, kotlin.Unit)))/sideTabSize">sideTabSize</span><span class="symbol">:</span> <a href="../-side-tab-size/index.html"><span class="identifier">SideTabSize</span></a> <span class="symbol">=</span> SideTabSize.SIZE_3<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel.Companion$tabPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.TabPosition, pl.treksoft.kvision.panel.SideTabSize, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.TabPanel, kotlin.Unit)))/scrollableTabs">scrollableTabs</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel.Companion$tabPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.TabPosition, pl.treksoft.kvision.panel.SideTabSize, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.TabPanel, 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.TabPanel.Companion$tabPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.TabPosition, pl.treksoft.kvision.panel.SideTabSize, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.TabPanel, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="./index.html"><span class="identifier">TabPanel</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">TabPanel</span></a></code> +<p>DSL builder extension function.</p> +</td> +</tr> +</tbody> +</table> +<h3>Extension Functions</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html">createInstance</a></p> +</td> +<td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span><span class="symbol">></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">?</span><span class="symbol">.</span><span class="identifier">createInstance</span><span class="symbol">(</span><span class="keyword">vararg</span> <span class="identifier" id="pl.treksoft.kvision.utils$createInstance(kotlin.Any, kotlin.Array((kotlin.Any)))/args">args</span><span class="symbol">:</span> <span class="keyword">dynamic</span><span class="symbol">)</span><span class="symbol">: </span><a href="../../pl.treksoft.kvision.utils/kotlin.-any/create-instance.html#T"><span class="identifier">T</span></a></code> +<p>Helper function for creating JavaScript objects from dynamic constructors.</p> +</td> +</tr> +</tbody> +</table> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.panel/-tab-panel/remove-all.html b/api1/pl.treksoft.kvision.panel/-tab-panel/remove-all.html new file mode 100644 index 00000000..24cc98db --- /dev/null +++ b/api1/pl.treksoft.kvision.panel/-tab-panel/remove-all.html @@ -0,0 +1,18 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TabPanel.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">TabPanel</a> / <a href="./remove-all.html">removeAll</a><br/> +<br/> +<h1>removeAll</h1> +<a name="pl.treksoft.kvision.panel.TabPanel$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">TabPanel</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/-tab-panel/remove-tab.html b/api1/pl.treksoft.kvision.panel/-tab-panel/remove-tab.html new file mode 100644 index 00000000..2ef88c03 --- /dev/null +++ b/api1/pl.treksoft.kvision.panel/-tab-panel/remove-tab.html @@ -0,0 +1,15 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TabPanel.removeTab - 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">TabPanel</a> / <a href="./remove-tab.html">removeTab</a><br/> +<br/> +<h1>removeTab</h1> +<a name="pl.treksoft.kvision.panel.TabPanel$removeTab(kotlin.Int)"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeTab</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel$removeTab(kotlin.Int)/index">index</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><a href="index.html"><span class="identifier">TabPanel</span></a></code> +<p>Removes tab at given index.</p> +</BODY> +</HTML> diff --git a/api1/pl.treksoft.kvision.panel/-tab-panel/remove.html b/api1/pl.treksoft.kvision.panel/-tab-panel/remove.html new file mode 100644 index 00000000..9e2a04b0 --- /dev/null +++ b/api1/pl.treksoft.kvision.panel/-tab-panel/remove.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TabPanel.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">TabPanel</a> / <a href="./remove.html">remove</a><br/> +<br/> +<h1>remove</h1> +<a name="pl.treksoft.kvision.panel.TabPanel$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.TabPanel$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">TabPanel</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/-tab-panel/tab-panel.html b/api1/pl.treksoft.kvision.panel/-tab-panel/tab-panel.html new file mode 100644 index 00000000..5791988b --- /dev/null +++ b/api1/pl.treksoft.kvision.panel/-tab-panel/tab-panel.html @@ -0,0 +1,16 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>TabPanel.tabPanel - 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">TabPanel</a> / <a href="./tab-panel.html">tabPanel</a><br/> +<br/> +<h1>tabPanel</h1> +<a name="pl.treksoft.kvision.panel.TabPanel.Companion$tabPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.TabPosition, pl.treksoft.kvision.panel.SideTabSize, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.TabPanel, 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">tabPanel</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel.Companion$tabPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.TabPosition, pl.treksoft.kvision.panel.SideTabSize, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.TabPanel, kotlin.Unit)))/tabPosition">tabPosition</span><span class="symbol">:</span> <a href="../-tab-position/index.html"><span class="identifier">TabPosition</span></a> <span class="symbol">=</span> TabPosition.TOP<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel.Companion$tabPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.TabPosition, pl.treksoft.kvision.panel.SideTabSize, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.TabPanel, kotlin.Unit)))/sideTabSize">sideTabSize</span><span class="symbol">:</span> <a href="../-side-tab-size/index.html"><span class="identifier">SideTabSize</span></a> <span class="symbol">=</span> SideTabSize.SIZE_3<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel.Companion$tabPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.TabPosition, pl.treksoft.kvision.panel.SideTabSize, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.TabPanel, kotlin.Unit)))/scrollableTabs">scrollableTabs</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a> <span class="symbol">=</span> false<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.TabPanel.Companion$tabPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.TabPosition, pl.treksoft.kvision.panel.SideTabSize, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.TabPanel, 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.TabPanel.Companion$tabPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.panel.TabPosition, pl.treksoft.kvision.panel.SideTabSize, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.panel.TabPanel, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="index.html"><span class="identifier">TabPanel</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">TabPanel</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> |