summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.form/form-panel.html
blob: e5044d60b949c32c3982e0515c74e5812afd5649 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>formPanel - 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.form</a>&nbsp;/&nbsp;<a href="./form-panel.html">formPanel</a><br/>
<br/>
<h1>formPanel</h1>
<a name="pl.treksoft.kvision.form$formPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.form.FormMethod, kotlin.String, pl.treksoft.kvision.form.FormEnctype, pl.treksoft.kvision.form.FormType, kotlin.Boolean, pl.treksoft.kvision.form.FormHorizontalRatio, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.formPanel.K)), kotlin.Unit)))"></a>
<code><span class="keyword">inline</span> <span class="keyword">fun </span><span class="symbol">&lt;</span><span class="keyword">reified</span>&nbsp;<span class="identifier">K</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html"><span class="identifier">Any</span></a><span class="symbol">&gt;</span> <a href="../pl.treksoft.kvision.core/-container/index.html"><span class="identifier">Container</span></a><span class="symbol">.</span><span class="identifier">formPanel</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form$formPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.form.FormMethod, kotlin.String, pl.treksoft.kvision.form.FormEnctype, pl.treksoft.kvision.form.FormType, kotlin.Boolean, pl.treksoft.kvision.form.FormHorizontalRatio, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.formPanel.K)), kotlin.Unit)))/method">method</span><span class="symbol">:</span>&nbsp;<a href="-form-method/index.html"><span class="identifier">FormMethod</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form$formPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.form.FormMethod, kotlin.String, pl.treksoft.kvision.form.FormEnctype, pl.treksoft.kvision.form.FormType, kotlin.Boolean, pl.treksoft.kvision.form.FormHorizontalRatio, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.formPanel.K)), kotlin.Unit)))/action">action</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.form$formPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.form.FormMethod, kotlin.String, pl.treksoft.kvision.form.FormEnctype, pl.treksoft.kvision.form.FormType, kotlin.Boolean, pl.treksoft.kvision.form.FormHorizontalRatio, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.formPanel.K)), kotlin.Unit)))/enctype">enctype</span><span class="symbol">:</span>&nbsp;<a href="-form-enctype/index.html"><span class="identifier">FormEnctype</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form$formPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.form.FormMethod, kotlin.String, pl.treksoft.kvision.form.FormEnctype, pl.treksoft.kvision.form.FormType, kotlin.Boolean, pl.treksoft.kvision.form.FormHorizontalRatio, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.formPanel.K)), kotlin.Unit)))/type">type</span><span class="symbol">:</span>&nbsp;<a href="-form-type/index.html"><span class="identifier">FormType</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form$formPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.form.FormMethod, kotlin.String, pl.treksoft.kvision.form.FormEnctype, pl.treksoft.kvision.form.FormType, kotlin.Boolean, pl.treksoft.kvision.form.FormHorizontalRatio, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.formPanel.K)), kotlin.Unit)))/condensed">condensed</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.form$formPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.form.FormMethod, kotlin.String, pl.treksoft.kvision.form.FormEnctype, pl.treksoft.kvision.form.FormType, kotlin.Boolean, pl.treksoft.kvision.form.FormHorizontalRatio, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.formPanel.K)), kotlin.Unit)))/horizRatio">horizRatio</span><span class="symbol">:</span>&nbsp;<a href="-form-horizontal-ratio/index.html"><span class="identifier">FormHorizontalRatio</span></a>&nbsp;<span class="symbol">=</span>&nbsp;FormHorizontalRatio.RATIO_2<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form$formPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.form.FormMethod, kotlin.String, pl.treksoft.kvision.form.FormEnctype, pl.treksoft.kvision.form.FormType, kotlin.Boolean, pl.treksoft.kvision.form.FormHorizontalRatio, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.formPanel.K)), kotlin.Unit)))/classes">classes</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html"><span class="identifier">Set</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">&gt;</span>&nbsp;<span class="symbol">=</span>&nbsp;setOf()<span class="symbol">, </span><span class="keyword">noinline</span> <span class="identifier" id="pl.treksoft.kvision.form$formPanel(pl.treksoft.kvision.core.Container, pl.treksoft.kvision.form.FormMethod, kotlin.String, pl.treksoft.kvision.form.FormEnctype, pl.treksoft.kvision.form.FormType, kotlin.Boolean, pl.treksoft.kvision.form.FormHorizontalRatio, kotlin.collections.Set((kotlin.String)), kotlin.Function1((pl.treksoft.kvision.form.FormPanel((pl.treksoft.kvision.form.formPanel.K)), kotlin.Unit)))/init">init</span><span class="symbol">:</span>&nbsp;<span class="symbol">(</span><a href="-form-panel/index.html"><span class="identifier">FormPanel</span></a><span class="symbol">&lt;</span><a href="form-panel.html#K"><span class="identifier">K</span></a><span class="symbol">&gt;</span><span class="symbol">.</span><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><span class="symbol">)</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="-form-panel/index.html"><span class="identifier">FormPanel</span></a><span class="symbol">&lt;</span><a href="form-panel.html#K"><span class="identifier">K</span></a><span class="symbol">&gt;</span></code>
<p>DSL builder extension function.</p>
<p>It takes the same parameters as the constructor of the built component.</p>
</BODY>
</HTML>