aboutsummaryrefslogtreecommitdiff
path: root/docs/api/pl.treksoft.kvision.form.select/-select-opt-group/-init-.html
blob: 7545e4e56393d08cd02792e73e73cd2b20406753 (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
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>SelectOptGroup.<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.form.select</a>&nbsp;/&nbsp;<a href="index.html">SelectOptGroup</a>&nbsp;/&nbsp;<a href="./-init-.html">&lt;init&gt;</a><br/>
<br/>
<h1>&lt;init&gt;</h1>
<a name="pl.treksoft.kvision.form.select.SelectOptGroup$&lt;init&gt;(kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.Int, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))"></a>
<code><span class="identifier">SelectOptGroup</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.form.select.SelectOptGroup$<init>(kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.Int, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/label">label</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="identifier" id="pl.treksoft.kvision.form.select.SelectOptGroup$<init>(kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.Int, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/options">options</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html"><span class="identifier">List</span></a><span class="symbol">&lt;</span><a href="../../pl.treksoft.kvision.core/-string-pair.html"><span class="identifier">StringPair</span></a><span class="symbol">&gt;</span><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.form.select.SelectOptGroup$<init>(kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.Int, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/maxOptions">maxOptions</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</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.select.SelectOptGroup$<init>(kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.Int, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/disabled">disabled</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.select.SelectOptGroup$<init>(kotlin.String, kotlin.collections.List((kotlin.Pair((kotlin.String, )))), kotlin.Int, kotlin.Boolean, kotlin.collections.Set((kotlin.String)))/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></code>
<h3>Parameters</h3>
<p><a name="label"></a>
<code>label</code> - the label of the group</p>
<p><a name="options"></a>
<code>options</code> - an optional list of options (label to value pairs) for the group</p>
<p><a name="maxOptions"></a>
<code>maxOptions</code> - maximal number of selected options in the group</p>
<p><a name="disabled"></a>
<code>disabled</code> - renders a disabled group</p>
<p><a name="classes"></a>
<code>classes</code> - a set of CSS class names</p>
<p><strong>Constructor</strong><br/>
</p>
</BODY>
</HTML>