diff options
Diffstat (limited to 'api/pl.treksoft.kvision.form.spinner/-spinner')
3 files changed, 77 insertions, 30 deletions
diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner/index.html b/api/pl.treksoft.kvision.form.spinner/-spinner/index.html index 0ae4fa8f..044029bb 100644 --- a/api/pl.treksoft.kvision.form.spinner/-spinner/index.html +++ b/api/pl.treksoft.kvision.form.spinner/-spinner/index.html @@ -249,6 +249,15 @@ </tr> <tr> <td> +<p><a href="remove-event-listener.html">removeEventListener</a></p> +</td> +<td> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeEventListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.spinner.Spinner$removeEventListener(kotlin.Int)/id">id</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/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Removes event listener from current widget.</p> +</td> +</tr> +<tr> +<td> <p><a href="remove-event-listeners.html">removeEventListeners</a></p> </td> <td> @@ -261,10 +270,8 @@ <p><a href="set-event-listener.html">setEventListener</a></p> </td> <td> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">></span> <span class="identifier">setEventListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.spinner.Spinner$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.form.spinner.Spinner.setEventListener.T)), kotlin.Unit)))/block">block</span><span class="symbol">:</span> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="set-event-listener.html#T"><span class="identifier">T</span></a><span class="symbol">></span><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><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">></span> <span class="identifier">setEventListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.spinner.Spinner$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.form.spinner.Spinner.setEventListener.T)), kotlin.Unit)))/block">block</span><span class="symbol">:</span> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="set-event-listener.html#T"><span class="identifier">T</span></a><span class="symbol">></span><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><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a></code> <p>Sets an event listener for current widget, keeping the actual type of component.</p> -<code><span class="keyword">open</span> <span class="keyword">fun </span><s><span class="identifier">setEventListener</span></s><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.spinner.Spinner$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.core.Widget)), kotlin.Unit)))/block">block</span><span class="symbol">:</span> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">></span><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><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> -<p>Sets an event listener for current widget.</p> </td> </tr> <tr> @@ -391,6 +398,32 @@ </tr> </tbody> </table> +<h3>Extension Properties</h3> +<table> +<tbody> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.event/change-flow.html">changeFlow</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">></span> <a href="../../pl.treksoft.kvision.event/change-flow.html#T"><span class="identifier">T</span></a><span class="symbol">.</span><span class="identifier">changeFlow</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span><span class="symbol"><</span><a href="../../pl.treksoft.kvision.event/change-flow.html#T"><span class="identifier">T</span></a><span class="symbol">></span></code></td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.event/click-flow.html">clickFlow</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">></span> <a href="../../pl.treksoft.kvision.event/click-flow.html#T"><span class="identifier">T</span></a><span class="symbol">.</span><span class="identifier">clickFlow</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span><span class="symbol"><</span><a href="../../pl.treksoft.kvision.event/click-flow.html#T"><span class="identifier">T</span></a><span class="symbol">></span></code></td> +</tr> +<tr> +<td> +<p><a href="../../pl.treksoft.kvision.event/input-flow.html">inputFlow</a></p> +</td> +<td> +<code><span class="keyword">val </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">></span> <a href="../../pl.treksoft.kvision.event/input-flow.html#T"><span class="identifier">T</span></a><span class="symbol">.</span><span class="identifier">inputFlow</span><span class="symbol">: </span><span class="identifier"><ERROR CLASS></span><span class="symbol"><</span><a href="../../pl.treksoft.kvision.event/input-flow.html#T"><span class="identifier">T</span></a><span class="symbol">></span></code></td> +</tr> +</tbody> +</table> <h3>Extension Functions</h3> <table> <tbody> @@ -568,6 +601,13 @@ </tr> <tr> <td> +<p><a href="../../pl.treksoft.kvision.event/event-flow.html">eventFlow</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="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">></span> <a href="../../pl.treksoft.kvision.event/event-flow.html#T"><span class="identifier">T</span></a><span class="symbol">.</span><span class="identifier">eventFlow</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.event$eventFlow(pl.treksoft.kvision.event.eventFlow.T, kotlin.String)/event">event</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><span class="identifier"><ERROR CLASS></span><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html"><span class="identifier">Pair</span></a><span class="symbol"><</span><a href="../../pl.treksoft.kvision.event/event-flow.html#T"><span class="identifier">T</span></a><span class="symbol">,</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/org.w3c.dom.events/-event/index.html"><span class="identifier">Event</span></a><span class="symbol">></span><span class="symbol">></span></code></td> +</tr> +<tr> +<td> <p><a href="../../pl.treksoft.kvision.form/field-label.html">fieldLabel</a></p> </td> <td> @@ -748,10 +788,19 @@ </tr> <tr> <td> +<p><a href="../../pl.treksoft.kvision.maps/maps.html">maps</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">maps</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.maps$maps(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.Number, kotlin.Number, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.maps.Maps, kotlin.Unit)))/lat">lat</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.maps$maps(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.Number, kotlin.Number, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.maps.Maps, kotlin.Unit)))/lng">lng</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.maps$maps(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.Number, kotlin.Number, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.maps.Maps, kotlin.Unit)))/zoom">zoom</span><span class="symbol">:</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html"><span class="identifier">Number</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.maps$maps(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.Number, kotlin.Number, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.maps.Maps, 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.maps$maps(pl.treksoft.kvision.core.Container, kotlin.Number, kotlin.Number, kotlin.Number, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.maps.Maps, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="../../pl.treksoft.kvision.maps/-maps/index.html"><span class="identifier">Maps</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="../../pl.treksoft.kvision.maps/-maps/index.html"><span class="identifier">Maps</span></a></code> +<p>DSL builder extension function.</p> +</td> +</tr> +<tr> +<td> <p><a href="../../pl.treksoft.kvision.navbar/navbar.html">navbar</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">navbar</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, kotlin.Unit)))/label">label</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.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, kotlin.Unit)))/link">link</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.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, kotlin.Unit)))/type">type</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.navbar/-navbar-type/index.html"><span class="identifier">NavbarType</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, kotlin.Unit)))/expand">expand</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.navbar/-navbar-expand/index.html"><span class="identifier">NavbarExpand</span></a><span class="symbol">?</span> <span class="symbol">=</span> NavbarExpand.LG<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, kotlin.Unit)))/nColor">nColor</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.navbar/-navbar-color/index.html"><span class="identifier">NavbarColor</span></a> <span class="symbol">=</span> NavbarColor.LIGHT<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, kotlin.Unit)))/bgColor">bgColor</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-bs-bg-color/index.html"><span class="identifier">BsBgColor</span></a> <span class="symbol">=</span> BsBgColor.LIGHT<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, 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.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="../../pl.treksoft.kvision.navbar/-navbar/index.html"><span class="identifier">Navbar</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="../../pl.treksoft.kvision.navbar/-navbar/index.html"><span class="identifier">Navbar</span></a></code> +<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">navbar</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, kotlin.Unit)))/label">label</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.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, kotlin.Unit)))/link">link</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.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, kotlin.Unit)))/type">type</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.navbar/-navbar-type/index.html"><span class="identifier">NavbarType</span></a><span class="symbol">?</span> <span class="symbol">=</span> null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, kotlin.Unit)))/expand">expand</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.navbar/-navbar-expand/index.html"><span class="identifier">NavbarExpand</span></a><span class="symbol">?</span> <span class="symbol">=</span> NavbarExpand.LG<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, kotlin.Unit)))/nColor">nColor</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.navbar/-navbar-color/index.html"><span class="identifier">NavbarColor</span></a> <span class="symbol">=</span> NavbarColor.LIGHT<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, kotlin.Unit)))/bgColor">bgColor</span><span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-bs-bg-color/index.html"><span class="identifier">BsBgColor</span></a> <span class="symbol">=</span> BsBgColor.LIGHT<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, kotlin.Unit)))/collapseOnClick">collapseOnClick</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.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, 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.navbar$navbar(pl.treksoft.kvision.core.Container, kotlin.String, kotlin.String, pl.treksoft.kvision.navbar.NavbarType, pl.treksoft.kvision.navbar.NavbarExpand, pl.treksoft.kvision.navbar.NavbarColor, pl.treksoft.kvision.core.BsBgColor, kotlin.Boolean, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.navbar.Navbar, kotlin.Unit)))/init">init</span><span class="symbol">:</span> <span class="symbol">(</span><a href="../../pl.treksoft.kvision.navbar/-navbar/index.html"><span class="identifier">Navbar</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="../../pl.treksoft.kvision.navbar/-navbar/index.html"><span class="identifier">Navbar</span></a></code> <p>DSL builder extension function.</p> </td> </tr> @@ -760,7 +809,7 @@ <p><a href="../../pl.treksoft.kvision.core/on-event.html">onEvent</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="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">></span> <a href="../../pl.treksoft.kvision.core/on-event.html#T"><span class="identifier">T</span></a><span class="symbol">.</span><span class="identifier">onEvent</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core$onEvent(pl.treksoft.kvision.core.onEvent.T, kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.core.onEvent.T)), kotlin.Unit)))/block">block</span><span class="symbol">:</span> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="../../pl.treksoft.kvision.core/on-event.html#T"><span class="identifier">T</span></a><span class="symbol">></span><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><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code></td> +<code><span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">></span> <a href="../../pl.treksoft.kvision.core/on-event.html#T"><span class="identifier">T</span></a><span class="symbol">.</span><span class="identifier">onEvent</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.core$onEvent(pl.treksoft.kvision.core.onEvent.T, kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.core.onEvent.T)), kotlin.Unit)))/block">block</span><span class="symbol">:</span> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="../../pl.treksoft.kvision.core/on-event.html#T"><span class="identifier">T</span></a><span class="symbol">></span><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><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a></code></td> </tr> <tr> <td> diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner/remove-event-listener.html b/api/pl.treksoft.kvision.form.spinner/-spinner/remove-event-listener.html new file mode 100644 index 00000000..70ebcb6f --- /dev/null +++ b/api/pl.treksoft.kvision.form.spinner/-spinner/remove-event-listener.html @@ -0,0 +1,21 @@ +<HTML> +<HEAD> +<meta charset="UTF-8"> +<title>Spinner.removeEventListener - kvision</title> +<link rel="stylesheet" href="../../../style.css"> +</HEAD> +<BODY> +<a href="../../index.html">kvision</a> / <a href="../index.html">pl.treksoft.kvision.form.spinner</a> / <a href="index.html">Spinner</a> / <a href="./remove-event-listener.html">removeEventListener</a><br/> +<br/> +<h1>removeEventListener</h1> +<a name="pl.treksoft.kvision.form.spinner.Spinner$removeEventListener(kotlin.Int)"></a> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">removeEventListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.spinner.Spinner$removeEventListener(kotlin.Int)/id">id</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/-widget/index.html"><span class="identifier">Widget</span></a></code> +<p>Overrides <a href="../../pl.treksoft.kvision.core/-widget/remove-event-listener.html">Widget.removeEventListener</a></p> +<p>Removes event listener from current widget.</p> +<h3>Parameters</h3> +<p><a name="id"></a> +<code>id</code> - the id of the handler returned by onEvent</p> +<p><strong>Return</strong><br/> +current widget</p> +</BODY> +</HTML> diff --git a/api/pl.treksoft.kvision.form.spinner/-spinner/set-event-listener.html b/api/pl.treksoft.kvision.form.spinner/-spinner/set-event-listener.html index 070efba5..c812cf9d 100644 --- a/api/pl.treksoft.kvision.form.spinner/-spinner/set-event-listener.html +++ b/api/pl.treksoft.kvision.form.spinner/-spinner/set-event-listener.html @@ -9,7 +9,7 @@ <br/> <h1>setEventListener</h1> <a name="pl.treksoft.kvision.form.spinner.Spinner$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.form.spinner.Spinner.setEventListener.T)), kotlin.Unit)))"></a> -<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">></span> <span class="identifier">setEventListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.spinner.Spinner$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.form.spinner.Spinner.setEventListener.T)), kotlin.Unit)))/block">block</span><span class="symbol">:</span> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="set-event-listener.html#T"><span class="identifier">T</span></a><span class="symbol">></span><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><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> +<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="symbol"><</span><span class="identifier">T</span> <span class="symbol">:</span> <a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">></span> <span class="identifier">setEventListener</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.spinner.Spinner$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.form.spinner.Spinner.setEventListener.T)), kotlin.Unit)))/block">block</span><span class="symbol">:</span> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="set-event-listener.html#T"><span class="identifier">T</span></a><span class="symbol">></span><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><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a></code> <p>Overrides <a href="../../pl.treksoft.kvision.core/-widget/set-event-listener.html">Widget.setEventListener</a></p> <p>Sets an event listener for current widget, keeping the actual type of component.</p> <h3>Parameters</h3> @@ -18,7 +18,7 @@ <p><a name="block"></a> <code>block</code> - event handler</p> <p><strong>Return</strong><br/> -<p>current widget</p> +<p>id of the handler</p> <p>Example:</p> @@ -30,28 +30,5 @@ // self is of type Button here } }</code></pre></p> -<a name="pl.treksoft.kvision.form.spinner.Spinner$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.core.Widget)), kotlin.Unit)))"></a> -<code><span class="keyword">open</span> <span class="keyword">fun </span><s><span class="identifier">setEventListener</span></s><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.spinner.Spinner$setEventListener(kotlin.Function1((pl.treksoft.kvision.utils.SnOn((pl.treksoft.kvision.core.Widget)), kotlin.Unit)))/block">block</span><span class="symbol">:</span> <span class="identifier">SnOn</span><span class="symbol"><</span><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a><span class="symbol">></span><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><a href="../../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code> -<p>Overrides <a href="../../pl.treksoft.kvision.core/-widget/set-event-listener.html">Widget.setEventListener</a></p> -<br/> -<strong>Deprecated:</strong> Use onEvent extension function instead.<br/> -<br/> -<p>Sets an event listener for current widget.</p> -<h3>Parameters</h3> -<p><a name="block"></a> -<code>block</code> - event handler</p> -<p><strong>Return</strong><br/> -<p>current widget</p> - - -<p>Example:</p> - - -<pre><code> button.setEventListener { - dblclick = { - Alert.show("Button double clicked!") - // self is of type Widget here - } - }</code></pre></p> </BODY> </HTML> |