summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.panel/-tab-panel
diff options
context:
space:
mode:
Diffstat (limited to 'api/pl.treksoft.kvision.panel/-tab-panel')
-rw-r--r--api/pl.treksoft.kvision.panel/-tab-panel/add-tab.html6
-rw-r--r--api/pl.treksoft.kvision.panel/-tab-panel/get-child-component.html18
-rw-r--r--api/pl.treksoft.kvision.panel/-tab-panel/get-nav-component.html18
-rw-r--r--api/pl.treksoft.kvision.panel/-tab-panel/index.html20
4 files changed, 59 insertions, 3 deletions
diff --git a/api/pl.treksoft.kvision.panel/-tab-panel/add-tab.html b/api/pl.treksoft.kvision.panel/-tab-panel/add-tab.html
index 994ff44e..fd140749 100644
--- a/api/pl.treksoft.kvision.panel/-tab-panel/add-tab.html
+++ b/api/pl.treksoft.kvision.panel/-tab-panel/add-tab.html
@@ -8,8 +8,8 @@
<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.panel</a>&nbsp;/&nbsp;<a href="index.html">TabPanel</a>&nbsp;/&nbsp;<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.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.String)/title">title</span><span class="symbol">:</span>&nbsp;<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.String)/panel">panel</span><span class="symbol">:</span>&nbsp;<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.String)/icon">icon</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;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.String)/image">image</span><span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;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.String)/route">route</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">TabPanel</span></a></code>
+<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>&nbsp;<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>&nbsp;<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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;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>
@@ -20,6 +20,8 @@
<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/>
diff --git a/api/pl.treksoft.kvision.panel/-tab-panel/get-child-component.html b/api/pl.treksoft.kvision.panel/-tab-panel/get-child-component.html
new file mode 100644
index 00000000..a5e88799
--- /dev/null
+++ b/api/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>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.panel</a>&nbsp;/&nbsp;<a href="index.html">TabPanel</a>&nbsp;/&nbsp;<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>&nbsp;<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/api/pl.treksoft.kvision.panel/-tab-panel/get-nav-component.html b/api/pl.treksoft.kvision.panel/-tab-panel/get-nav-component.html
new file mode 100644
index 00000000..825aaccd
--- /dev/null
+++ b/api/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>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.panel</a>&nbsp;/&nbsp;<a href="index.html">TabPanel</a>&nbsp;/&nbsp;<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>&nbsp;<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/api/pl.treksoft.kvision.panel/-tab-panel/index.html b/api/pl.treksoft.kvision.panel/-tab-panel/index.html
index d9f0aadd..d8db44dd 100644
--- a/api/pl.treksoft.kvision.panel/-tab-panel/index.html
+++ b/api/pl.treksoft.kvision.panel/-tab-panel/index.html
@@ -63,12 +63,30 @@
<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.String)/title">title</span><span class="symbol">:</span>&nbsp;<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.String)/panel">panel</span><span class="symbol">:</span>&nbsp;<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.String)/icon">icon</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;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.String)/image">image</span><span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;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.String)/route">route</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">TabPanel</span></a></code>
+<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>&nbsp;<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>&nbsp;<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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="../../pl.treksoft.kvision.core/-res-string.html"><span class="identifier">ResString</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;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>&nbsp;<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>&nbsp;<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>