aboutsummaryrefslogtreecommitdiff
path: root/api1/pl.treksoft.kvision.html/index.html
blob: d6fe172ab5330114b86feae2c253d0cd5a3043a7 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>pl.treksoft.kvision.html - 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.html</a><br/>
<br/>
<h2>Package pl.treksoft.kvision.html</h2>
<p>Components supporting complete set of HTML tags, with dedicated classes for buttons, images, links, lists and iframe. 
Support for Handlebars.js templates is included.</p>
<h3>Types</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="-align/index.html">Align</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">Align</span></code>
<p>CSS align attributes.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-button/index.html">Button</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Button</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code>
<p>Button component.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-button-size/index.html">ButtonSize</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">ButtonSize</span></code>
<p>Button sizes.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-button-style/index.html">ButtonStyle</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">ButtonStyle</span></code>
<p>Button styles.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-button-type/index.html">ButtonType</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">ButtonType</span></code>
<p>Button types.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-canvas/index.html">Canvas</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Canvas</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code>
<p>Canvas component.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-div/index.html">Div</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Div</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-tag/index.html"><span class="identifier">Tag</span></a></code>
<p>Simple component rendered as <em>div</em>.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-footer/index.html">Footer</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Footer</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-tag/index.html"><span class="identifier">Tag</span></a></code>
<p>Simple component rendered as <em>footer</em>.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-h1/index.html">H1</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">H1</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-tag/index.html"><span class="identifier">Tag</span></a></code>
<p>Simple component rendered as <em>h1</em>.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-h2/index.html">H2</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">H2</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-tag/index.html"><span class="identifier">Tag</span></a></code>
<p>Simple component rendered as <em>h2</em>.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-h3/index.html">H3</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">H3</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-tag/index.html"><span class="identifier">Tag</span></a></code>
<p>Simple component rendered as <em>h3</em>.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-h4/index.html">H4</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">H4</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-tag/index.html"><span class="identifier">Tag</span></a></code>
<p>Simple component rendered as <em>h4</em>.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-h5/index.html">H5</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">H5</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-tag/index.html"><span class="identifier">Tag</span></a></code>
<p>Simple component rendered as <em>h5</em>.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-h6/index.html">H6</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">H6</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-tag/index.html"><span class="identifier">Tag</span></a></code>
<p>Simple component rendered as <em>h6</em>.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-header/index.html">Header</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Header</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-tag/index.html"><span class="identifier">Tag</span></a></code>
<p>Simple component rendered as <em>header</em>.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-icon/index.html">Icon</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Icon</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-tag/index.html"><span class="identifier">Tag</span></a></code>
<p>Icon component with support for FontAwesome and Bootstrap glyphicons.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-iframe/index.html">Iframe</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Iframe</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code>
<p>Iframe component.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-image/index.html">Image</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Image</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../pl.treksoft.kvision.core/-widget/index.html"><span class="identifier">Widget</span></a></code>
<p>Image component.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-image-shape/index.html">ImageShape</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">ImageShape</span></code>
<p>Image shapes.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-label/index.html">Label</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">class </span><s><span class="identifier">Label</span></s>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-span/index.html"><span class="identifier">Span</span></a></code>
<p>Simple label component rendered as <em>span</em>.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-link/index.html">Link</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Link</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code>
<p>Link component.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-list-tag/index.html">ListTag</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">ListTag</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a></code>
<p>HTML list component.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-list-type/index.html">ListType</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">ListType</span></code>
<p>HTML list types.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-p/index.html">P</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">P</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-tag/index.html"><span class="identifier">Tag</span></a></code>
<p>Simple component rendered as <em>p</em>.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-sandbox/index.html">Sandbox</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">Sandbox</span></code>
<p>Iframe sandbox options.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-section/index.html">Section</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Section</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-tag/index.html"><span class="identifier">Tag</span></a></code>
<p>Simple component rendered as <em>section</em>.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-span/index.html">Span</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Span</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-tag/index.html"><span class="identifier">Tag</span></a></code>
<p>Simple component rendered as <em>span</em>.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-t-a-g/index.html">TAG</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">TAG</span></code>
<p>HTML tags.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-tag/index.html">Tag</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Tag</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../pl.treksoft.kvision.panel/-simple-panel/index.html"><span class="identifier">SimplePanel</span></a><span class="symbol">, </span><a href="-template/index.html"><span class="identifier">Template</span></a></code>
<p>HTML tag component.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-template/index.html">Template</a></p>
</td>
<td>
<code><span class="keyword">interface </span><span class="identifier">Template</span></code>
<p>Handlebars templates helper interface.</p>
</td>
</tr>
</tbody>
</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="set-data.html">setData</a></p>
</td>
<td>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">K</span><span class="symbol">&gt;</span> <a href="-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/obj">obj</span><span class="symbol">:</span>&nbsp;<a href="set-data.html#K"><span class="identifier">K</span></a><span class="symbol">, </span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K, kotlinx.serialization.SerializationStrategy((pl.treksoft.kvision.html.setData.K)))/serializer">serializer</span><span class="symbol">:</span>&nbsp;<span class="identifier">SerializationStrategy</span><span class="symbol">&lt;</span><a href="set-data.html#K"><span class="identifier">K</span></a><span class="symbol">&gt;</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></code><br/>
<code><span class="keyword">fun </span><span class="symbol">&lt;</span><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="-template/index.html"><span class="identifier">Template</span></a><span class="symbol">.</span><span class="identifier">setData</span><span class="symbol">(</span><span class="identifier" id="pl.treksoft.kvision.html$setData(pl.treksoft.kvision.html.Template, pl.treksoft.kvision.html.setData.K)/obj">obj</span><span class="symbol">:</span>&nbsp;<a href="set-data.html#K"><span class="identifier">K</span></a><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></code>
<p>Extension function to set serializable object as a template data.</p>
</td>
</tr>
</tbody>
</table>
</BODY>
</HTML>