summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.modal/-confirm/-init-.html
blob: 7bf6f68f904033e04a686cf6c8edb042aae12188 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Confirm.<init> - 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.modal</a>&nbsp;/&nbsp;<a href="index.html">Confirm</a>&nbsp;/&nbsp;<a href="./-init-.html">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<a name="pl.treksoft.kvision.modal.Confirm$&lt;init&gt;(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, pl.treksoft.kvision.modal.ModalSize, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))"></a>
<code><span class="identifier">Confirm</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, pl.treksoft.kvision.modal.ModalSize, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/caption">caption</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.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, pl.treksoft.kvision.modal.ModalSize, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/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>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, pl.treksoft.kvision.modal.ModalSize, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/rich">rich</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.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, pl.treksoft.kvision.modal.ModalSize, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/align">align</span><span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.html/-align/index.html"><span class="identifier">Align</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, pl.treksoft.kvision.modal.ModalSize, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/size">size</span><span class="symbol">:</span>&nbsp;<a href="../-modal-size/index.html"><span class="identifier">ModalSize</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, pl.treksoft.kvision.modal.ModalSize, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/animation">animation</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;true<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, pl.treksoft.kvision.modal.ModalSize, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/cancelVisible">cancelVisible</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.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, pl.treksoft.kvision.modal.ModalSize, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/yesTitle">yesTitle</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>&nbsp;<span class="symbol">=</span>&nbsp;"Yes"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, pl.treksoft.kvision.modal.ModalSize, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/noTitle">noTitle</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>&nbsp;<span class="symbol">=</span>&nbsp;"No"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, pl.treksoft.kvision.modal.ModalSize, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/cancelTitle">cancelTitle</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>&nbsp;<span class="symbol">=</span>&nbsp;"Cancel"<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, pl.treksoft.kvision.modal.ModalSize, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/noCallback">noCallback</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.modal.Confirm$<init>(kotlin.String, kotlin.String, kotlin.Boolean, pl.treksoft.kvision.html.Align, pl.treksoft.kvision.modal.ModalSize, kotlin.Boolean, kotlin.Boolean, kotlin.String, kotlin.String, kotlin.String, kotlin.Function0((kotlin.Unit)), kotlin.Function0((kotlin.Unit)))/yesCallback">yesCallback</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><span class="symbol">)</span>&nbsp;<span class="symbol">-&gt;</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html"><span class="identifier">Unit</span></a>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span></code>
<h3>Parameters</h3>
<p><a name="caption"></a>
<code>caption</code> - window title</p>
<p><a name="text"></a>
<code>text</code> - window content text.</p>
<p><a name="rich"></a>
<code>rich</code> - determines if <a href="text.html">text</a> can contain HTML code</p>
<p><a name="align"></a>
<code>align</code> - text align</p>
<p><a name="size"></a>
<code>size</code> - modal window size</p>
<p><a name="animation"></a>
<code>animation</code> - determines if animations are used</p>
<p><a name="cancelVisible"></a>
<code>cancelVisible</code> - determines if Cancel button is visible</p>
<p><a name="yesTitle"></a>
<code>yesTitle</code> - yes button text</p>
<p><a name="noTitle"></a>
<code>noTitle</code> - no button text</p>
<p><a name="cancelTitle"></a>
<code>cancelTitle</code> - cancel button text</p>
<p><a name="noCallback"></a>
<code>noCallback</code> - a function called after closing window with No button</p>
<p><a name="yesCallback"></a>
<code>yesCallback</code> - a function called after closing window with Yes button</p>
<p><strong>Constructor</strong><br/>
</p>
</BODY>
</HTML>