aboutsummaryrefslogtreecommitdiff
path: root/docs/api/pl.treksoft.kvision.panel/-grid-panel/add.html
blob: 8948ae0dbe8096624ca42526c2ab7b983efda34c (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
42
43
44
45
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>GridPanel.add - 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.panel</a>&nbsp;/&nbsp;<a href="index.html">GridPanel</a>&nbsp;/&nbsp;<a href="./add.html">add</a><br/>
<br/>
<h1>add</h1>
<a name="pl.treksoft.kvision.panel.GridPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.String, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GridJustify, pl.treksoft.kvision.panel.GridAlign, kotlin.collections.Set((kotlin.String)))"></a>
<code><span class="keyword">fun </span><span class="identifier">add</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.GridPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.String, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GridJustify, pl.treksoft.kvision.panel.GridAlign, kotlin.collections.Set((kotlin.String)))/child">child</span><span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.GridPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.String, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GridJustify, pl.treksoft.kvision.panel.GridAlign, kotlin.collections.Set((kotlin.String)))/columnStart">columnStart</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.panel.GridPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.String, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GridJustify, pl.treksoft.kvision.panel.GridAlign, kotlin.collections.Set((kotlin.String)))/rowStart">rowStart</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.panel.GridPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.String, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GridJustify, pl.treksoft.kvision.panel.GridAlign, kotlin.collections.Set((kotlin.String)))/columnEnd">columnEnd</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.panel.GridPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.String, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GridJustify, pl.treksoft.kvision.panel.GridAlign, kotlin.collections.Set((kotlin.String)))/rowEnd">rowEnd</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.panel.GridPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.String, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GridJustify, pl.treksoft.kvision.panel.GridAlign, kotlin.collections.Set((kotlin.String)))/area">area</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.panel.GridPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.String, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GridJustify, pl.treksoft.kvision.panel.GridAlign, kotlin.collections.Set((kotlin.String)))/justifySelf">justifySelf</span><span class="symbol">:</span>&nbsp;<a href="../-grid-justify/index.html"><span class="identifier">GridJustify</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.GridPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.String, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GridJustify, pl.treksoft.kvision.panel.GridAlign, kotlin.collections.Set((kotlin.String)))/alignSelf">alignSelf</span><span class="symbol">:</span>&nbsp;<a href="../-grid-align/index.html"><span class="identifier">GridAlign</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.panel.GridPanel$add(pl.treksoft.kvision.core.Component, kotlin.Int, kotlin.Int, kotlin.String, kotlin.String, kotlin.String, pl.treksoft.kvision.panel.GridJustify, pl.treksoft.kvision.panel.GridAlign, 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><span class="symbol">: </span><a href="index.html"><span class="identifier">GridPanel</span></a></code>
<p>Adds a component to the grid container.</p>
<h3>Parameters</h3>
<p><a name="child"></a>
<code>child</code> - child component</p>
<p><a name="columnStart"></a>
<code>columnStart</code> - number of starting column</p>
<p><a name="rowStart"></a>
<code>rowStart</code> - number of starting row</p>
<p><a name="columnEnd"></a>
<code>columnEnd</code> - number of ending column</p>
<p><a name="rowEnd"></a>
<code>rowEnd</code> - number of ending row</p>
<p><a name="area"></a>
<code>area</code> - grid area</p>
<p><a name="justifySelf"></a>
<code>justifySelf</code> - child self justification</p>
<p><a name="alignSelf"></a>
<code>alignSelf</code> - child self alignment</p>
<p><a name="classes"></a>
<code>classes</code> - a set of CSS class names</p>
<p><strong>Return</strong><br/>
current container</p>
<a name="pl.treksoft.kvision.panel.GridPanel$add(pl.treksoft.kvision.core.Component)"></a>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">add</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.panel.GridPanel$add(pl.treksoft.kvision.core.Component)/child">child</span><span class="symbol">:</span>&nbsp;<a href="../../pl.treksoft.kvision.core/-component/index.html"><span class="identifier">Component</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">GridPanel</span></a></code>
<p>Overrides <a href="../-simple-panel/add.html">SimplePanel.add</a></p>
<p>Adds given component to the current container.</p>
<h3>Parameters</h3>
<p><a name="child"></a>
<code>child</code> - child component</p>
<p><strong>Return</strong><br/>
current container</p>
</BODY>
</HTML>