aboutsummaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.core/-widget
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2018-08-22 15:34:00 +0200
committerRobert Jaros <rjaros@finn.pl>2018-08-22 15:34:00 +0200
commit63503bd4517d87c34498002c820aefaef22c501e (patch)
tree4b00f1d2524ad14b7e5d361dbff6a1dd162294bf /api/pl.treksoft.kvision.core/-widget
parentfa6b3a63a27b948ffeebfdd510ca289f019901a0 (diff)
downloadkvision-63503bd4517d87c34498002c820aefaef22c501e.tar.gz
kvision-63503bd4517d87c34498002c820aefaef22c501e.tar.bz2
kvision-63503bd4517d87c34498002c820aefaef22c501e.zip
API documentation for 0.0.17
Diffstat (limited to 'api/pl.treksoft.kvision.core/-widget')
-rw-r--r--api/pl.treksoft.kvision.core/-widget/index.html16
-rw-r--r--api/pl.treksoft.kvision.core/-widget/last-language.html14
-rw-r--r--api/pl.treksoft.kvision.core/-widget/translate.html22
3 files changed, 52 insertions, 0 deletions
diff --git a/api/pl.treksoft.kvision.core/-widget/index.html b/api/pl.treksoft.kvision.core/-widget/index.html
index 9fa16127..8249776f 100644
--- a/api/pl.treksoft.kvision.core/-widget/index.html
+++ b/api/pl.treksoft.kvision.core/-widget/index.html
@@ -48,6 +48,13 @@
</tr>
<tr>
<td>
+<p><a href="last-language.html">lastLanguage</a></p>
+</td>
+<td>
+<code><span class="keyword">var </span><span class="identifier">lastLanguage</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code></td>
+</tr>
+<tr>
+<td>
<p><a href="parent.html">parent</a></p>
</td>
<td>
@@ -826,6 +833,15 @@
<p>Toggles visibility of current widget.</p>
</td>
</tr>
+<tr>
+<td>
+<p><a href="translate.html">translate</a></p>
+</td>
+<td>
+<code><span class="keyword">fun </span><span class="identifier">translate</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$translate(kotlin.String)/text">text</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="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code>
+<p>Translates given text with I18n trans function and sets lastLanguage marker.</p>
+<code><span class="keyword">fun </span><span class="identifier">translate</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$translate(kotlin.String)/text">text</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="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code></td>
+</tr>
</tbody>
</table>
<h3>Inherited Functions</h3>
diff --git a/api/pl.treksoft.kvision.core/-widget/last-language.html b/api/pl.treksoft.kvision.core/-widget/last-language.html
new file mode 100644
index 00000000..79fd06ee
--- /dev/null
+++ b/api/pl.treksoft.kvision.core/-widget/last-language.html
@@ -0,0 +1,14 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>Widget.lastLanguage - 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.core</a>&nbsp;/&nbsp;<a href="index.html">Widget</a>&nbsp;/&nbsp;<a href="./last-language.html">lastLanguage</a><br/>
+<br/>
+<h1>lastLanguage</h1>
+<a name="pl.treksoft.kvision.core.Widget$lastLanguage"></a>
+<code><span class="keyword">protected</span> <span class="keyword">var </span><span class="identifier">lastLanguage</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code>
+</BODY>
+</HTML>
diff --git a/api/pl.treksoft.kvision.core/-widget/translate.html b/api/pl.treksoft.kvision.core/-widget/translate.html
new file mode 100644
index 00000000..75d4a031
--- /dev/null
+++ b/api/pl.treksoft.kvision.core/-widget/translate.html
@@ -0,0 +1,22 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>Widget.translate - 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.core</a>&nbsp;/&nbsp;<a href="index.html">Widget</a>&nbsp;/&nbsp;<a href="./translate.html">translate</a><br/>
+<br/>
+<h1>translate</h1>
+<a name="pl.treksoft.kvision.core.Widget$translate(kotlin.String)"></a>
+<code><span class="keyword">protected</span> <span class="keyword">fun </span><span class="identifier">translate</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$translate(kotlin.String)/text">text</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="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code>
+<p>Translates given text with I18n trans function and sets lastLanguage marker.</p>
+<h3>Parameters</h3>
+<p><a name="text"></a>
+<code>text</code> - a text marked for a dynamic translation</p>
+<p><strong>Return</strong><br/>
+translated text</p>
+<a name="pl.treksoft.kvision.core.Widget$translate(kotlin.String)"></a>
+<code><span class="keyword">protected</span> <span class="keyword">fun </span><span class="identifier">translate</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$translate(kotlin.String)/text">text</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="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span></code>
+</BODY>
+</HTML>