aboutsummaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.core/-widget
diff options
context:
space:
mode:
Diffstat (limited to 'api/pl.treksoft.kvision.core/-widget')
-rw-r--r--api/pl.treksoft.kvision.core/-widget/index.html43
-rw-r--r--api/pl.treksoft.kvision.core/-widget/parent.html2
-rw-r--r--api/pl.treksoft.kvision.core/-widget/set-context-menu.html20
3 files changed, 56 insertions, 9 deletions
diff --git a/api/pl.treksoft.kvision.core/-widget/index.html b/api/pl.treksoft.kvision.core/-widget/index.html
index c5a5ebca..f15382b8 100644
--- a/api/pl.treksoft.kvision.core/-widget/index.html
+++ b/api/pl.treksoft.kvision.core/-widget/index.html
@@ -51,7 +51,7 @@
<p><a href="parent.html">parent</a></p>
</td>
<td>
-<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">parent</span><span class="symbol">: </span><a href="../-component/index.html"><span class="identifier">Component</span></a><span class="symbol">?</span></code>
+<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">parent</span><span class="symbol">: </span><a href="../-container/index.html"><span class="identifier">Container</span></a><span class="symbol">?</span></code>
<p>Parent of the current component.</p>
</td>
</tr>
@@ -188,6 +188,15 @@
</tr>
<tr>
<td>
+<p><a href="../-styled-component/display.html">display</a></p>
+</td>
+<td>
+<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">display</span><span class="symbol">: </span><a href="../-display/index.html"><span class="identifier">Display</span></a><span class="symbol">?</span></code>
+<p>CSS display of the current component.</p>
+</td>
+</tr>
+<tr>
+<td>
<p><a href="../-styled-component/float.html">float</a></p>
</td>
<td>
@@ -753,6 +762,15 @@
</tr>
<tr>
<td>
+<p><a href="set-context-menu.html">setContextMenu</a></p>
+</td>
+<td>
+<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setContextMenu</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$setContextMenu(pl.treksoft.kvision.dropdown.ContextMenu)/contextMenu">contextMenu</span><span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.dropdown/-context-menu/index.html"><span class="identifier">ContextMenu</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="./index.html"><span class="identifier">Widget</span></a></code>
+<p>Sets context menu for the current widget.</p>
+</td>
+</tr>
+<tr>
+<td>
<p><a href="set-drag-drop-data.html">setDragDropData</a></p>
</td>
<td>
@@ -846,7 +864,7 @@
<p><a href="../../pl.treksoft.kvision.form.text/-abstract-text-input/index.html">AbstractTextInput</a></p>
</td>
<td>
-<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">AbstractTextInput</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="./index.html"><span class="identifier">Widget</span></a></code>
+<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">AbstractTextInput</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="./index.html"><span class="identifier">Widget</span></a><span class="symbol">, </span><a href="../../pl.treksoft.kvision.form/-form-input/index.html"><span class="identifier">FormInput</span></a></code>
<p>Base class for basic text components.</p>
</td>
</tr>
@@ -864,7 +882,7 @@
<p><a href="../../pl.treksoft.kvision.form.check/-check-input/index.html">CheckInput</a></p>
</td>
<td>
-<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">CheckInput</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="./index.html"><span class="identifier">Widget</span></a></code>
+<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">CheckInput</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="./index.html"><span class="identifier">Widget</span></a><span class="symbol">, </span><a href="../../pl.treksoft.kvision.form/-form-input/index.html"><span class="identifier">FormInput</span></a></code>
<p>The basic input component rendered as HTML <em>input type="checkbox"</em> or <em>input type="radio"</em>.</p>
</td>
</tr>
@@ -891,12 +909,21 @@
<p><a href="../../pl.treksoft.kvision.form.time/-date-time-input/index.html">DateTimeInput</a></p>
</td>
<td>
-<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">DateTimeInput</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="./index.html"><span class="identifier">Widget</span></a></code>
+<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">DateTimeInput</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="./index.html"><span class="identifier">Widget</span></a><span class="symbol">, </span><a href="../../pl.treksoft.kvision.form/-form-input/index.html"><span class="identifier">FormInput</span></a></code>
<p>Basic date/time chooser component.</p>
</td>
</tr>
<tr>
<td>
+<p><a href="../../pl.treksoft.kvision.html/-iframe/index.html">Iframe</a></p>
+</td>
+<td>
+<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Iframe</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="./index.html"><span class="identifier">Widget</span></a></code>
+<p>Iframe component.</p>
+</td>
+</tr>
+<tr>
+<td>
<p><a href="../../pl.treksoft.kvision.html/-image/index.html">Image</a></p>
</td>
<td>
@@ -927,17 +954,17 @@
<p><a href="../../pl.treksoft.kvision.form.spinner/-spinner-input/index.html">SpinnerInput</a></p>
</td>
<td>
-<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">SpinnerInput</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="./index.html"><span class="identifier">Widget</span></a></code>
+<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">SpinnerInput</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="./index.html"><span class="identifier">Widget</span></a><span class="symbol">, </span><a href="../../pl.treksoft.kvision.form/-form-input/index.html"><span class="identifier">FormInput</span></a></code>
<p>The basic component for spinner control.</p>
</td>
</tr>
<tr>
<td>
-<p><a href="../-widget-wrapper/index.html">WidgetWrapper</a></p>
+<p><a href="../../pl.treksoft.kvision.form.upload/-upload-input/index.html">UploadInput</a></p>
</td>
<td>
-<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">WidgetWrapper</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="./index.html"><span class="identifier">Widget</span></a></code>
-<p>This class allows to wrap a component into separately styled DIV element.</p>
+<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">UploadInput</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="./index.html"><span class="identifier">Widget</span></a><span class="symbol">, </span><a href="../../pl.treksoft.kvision.form/-form-input/index.html"><span class="identifier">FormInput</span></a></code>
+<p>The file upload component.</p>
</td>
</tr>
</tbody>
diff --git a/api/pl.treksoft.kvision.core/-widget/parent.html b/api/pl.treksoft.kvision.core/-widget/parent.html
index c841d124..72f351d1 100644
--- a/api/pl.treksoft.kvision.core/-widget/parent.html
+++ b/api/pl.treksoft.kvision.core/-widget/parent.html
@@ -9,7 +9,7 @@
<br/>
<h1>parent</h1>
<a name="pl.treksoft.kvision.core.Widget$parent"></a>
-<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">parent</span><span class="symbol">: </span><a href="../-component/index.html"><span class="identifier">Component</span></a><span class="symbol">?</span></code>
+<code><span class="keyword">open</span> <span class="keyword">var </span><span class="identifier">parent</span><span class="symbol">: </span><a href="../-container/index.html"><span class="identifier">Container</span></a><span class="symbol">?</span></code>
<p>Overrides <a href="../-component/parent.html">Component.parent</a></p>
<p>Parent of the current component.</p>
</BODY>
diff --git a/api/pl.treksoft.kvision.core/-widget/set-context-menu.html b/api/pl.treksoft.kvision.core/-widget/set-context-menu.html
new file mode 100644
index 00000000..ac6afcfb
--- /dev/null
+++ b/api/pl.treksoft.kvision.core/-widget/set-context-menu.html
@@ -0,0 +1,20 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>Widget.setContextMenu - 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="./set-context-menu.html">setContextMenu</a><br/>
+<br/>
+<h1>setContextMenu</h1>
+<a name="pl.treksoft.kvision.core.Widget$setContextMenu(pl.treksoft.kvision.dropdown.ContextMenu)"></a>
+<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">setContextMenu</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core.Widget$setContextMenu(pl.treksoft.kvision.dropdown.ContextMenu)/contextMenu">contextMenu</span><span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.dropdown/-context-menu/index.html"><span class="identifier">ContextMenu</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Widget</span></a></code>
+<p>Sets context menu for the current widget.</p>
+<h3>Parameters</h3>
+<p><a name="contextMenu"></a>
+<code>contextMenu</code> - a context menu</p>
+<p><strong>Return</strong><br/>
+current widget</p>
+</BODY>
+</HTML>