aboutsummaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.core/index.html
blob: a68b9d5ec46e926770716e62a4727a59033093eb (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
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>pl.treksoft.kvision.core - 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.core</a><br/>
<br/>
<h2>Package pl.treksoft.kvision.core</h2>
<p>KVision core classes. This includes base interfaces for all components, CSS enums (for colors, borders, 
backgrounds, fonts, text and position) and the main Widget class.</p>
<h3>Types</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="-background/index.html">Background</a></p>
</td>
<td>
<code><span class="keyword">class </span><span class="identifier">Background</span></code>
<p>Type-safe definition of CSS background.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-bg-attach/index.html">BgAttach</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">BgAttach</span></code>
<p>Definitions of CSS background attachment options.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-bg-clip/index.html">BgClip</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">BgClip</span></code>
<p>Definitions of CSS background clipping options.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-bg-origin/index.html">BgOrigin</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">BgOrigin</span></code>
<p>Definitions of CSS background origin options.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-bg-repeat/index.html">BgRepeat</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">BgRepeat</span></code>
<p>Definitions of CSS background repeat options.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-bg-size/index.html">BgSize</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">BgSize</span></code>
<p>Definitions of CSS background size.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-border/index.html">Border</a></p>
</td>
<td>
<code><span class="keyword">class </span><span class="identifier">Border</span></code>
<p>Type-safe definition of CSS border.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-border-style/index.html">BorderStyle</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">BorderStyle</span></code>
<p>Definitions of CSS border styles.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-clear/index.html">Clear</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">Clear</span></code>
<p>Definitions of CSS clear options.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-col/index.html">Col</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">Col</span></code>
<p>Definitions of CSS color names.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-color/index.html">Color</a></p>
</td>
<td>
<code><span class="keyword">class </span><span class="identifier">Color</span></code>
<p>Type-safe definition of CSS color.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-component/index.html">Component</a></p>
</td>
<td>
<code><span class="keyword">interface </span><span class="identifier">Component</span></code>
<p>Base interface for all components.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-container/index.html">Container</a></p>
</td>
<td>
<code><span class="keyword">interface </span><span class="identifier">Container</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-component/index.html"><span class="identifier">Component</span></a></code>
<p>Base interface for all containers.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-direction/index.html">Direction</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">Direction</span></code>
<p>Definitions of CSS text direction options.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-display/index.html">Display</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">Display</span></code>
<p>Definitions of CSS display options.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-font-style/index.html">FontStyle</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">FontStyle</span></code>
<p>Definitions of CSS font style options.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-font-variant/index.html">FontVariant</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">FontVariant</span></code>
<p>Definitions of CSS font variant options.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-font-weight/index.html">FontWeight</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">FontWeight</span></code>
<p>Definitions of CSS font weight options.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-line-break/index.html">LineBreak</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">LineBreak</span></code>
<p>Definitions of CSS line-break options.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-overflow/index.html">Overflow</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">Overflow</span></code>
<p>Definitions of CSS overflow options.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-overflow-wrap/index.html">OverflowWrap</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">OverflowWrap</span></code>
<p>Definitions of CSS overflow-wrap options.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-placement/index.html">Placement</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">Placement</span></code>
<p>Tooltip / Popover placements.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-popover-options/index.html">PopoverOptions</a></p>
</td>
<td>
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">PopoverOptions</span></code>
<p>Popover options.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-pos-float/index.html">PosFloat</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">PosFloat</span></code>
<p>Definitions of CSS float options.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-position/index.html">Position</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">Position</span></code>
<p>Definitions of CSS position options.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-resize/index.html">Resize</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">Resize</span></code>
<p>Definitions of CSS resize options.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-style/index.html">Style</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Style</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-styled-component/index.html"><span class="identifier">StyledComponent</span></a></code>
<p>CSS style object.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-styled-component/index.html">StyledComponent</a></p>
</td>
<td>
<code><span class="keyword">abstract</span> <span class="keyword">class </span><span class="identifier">StyledComponent</span></code>
<p>Base class for components supporting CSS styling.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-text-align/index.html">TextAlign</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">TextAlign</span></code>
<p>Definitions of CSS text align options.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-text-decoration/index.html">TextDecoration</a></p>
</td>
<td>
<code><span class="keyword">class </span><span class="identifier">TextDecoration</span></code>
<p>Type-safe definition of CSS text decoration.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-text-decoration-line/index.html">TextDecorationLine</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">TextDecorationLine</span></code>
<p>Definitions of CSS text decoration line options.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-text-decoration-style/index.html">TextDecorationStyle</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">TextDecorationStyle</span></code>
<p>Definitions of CSS text decoration style options.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-text-overflow/index.html">TextOverflow</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">TextOverflow</span></code>
<p>Definitions of CSS text overflow options.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-text-shadow/index.html">TextShadow</a></p>
</td>
<td>
<code><span class="keyword">class </span><span class="identifier">TextShadow</span></code>
<p>Type-safe definition of CSS text shadow.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-text-transform/index.html">TextTransform</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">TextTransform</span></code>
<p>Definitions of CSS text transform options.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-tooltip-options/index.html">TooltipOptions</a></p>
</td>
<td>
<code><span class="keyword">data</span> <span class="keyword">class </span><span class="identifier">TooltipOptions</span></code>
<p>Tooltip options.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-trigger/index.html">Trigger</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">Trigger</span></code>
<p>Tooltip / Popover triggers.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-unicode-bidi/index.html">UnicodeBidi</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">UnicodeBidi</span></code>
<p>Definitions of CSS unicode-bidi options.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-u-n-i-t/index.html">UNIT</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">UNIT</span></code>
<p>Definitions of CSS units.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-vertical-align/index.html">VerticalAlign</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">VerticalAlign</span></code>
<p>Definitions of CSS vertical align options.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-white-space/index.html">WhiteSpace</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">WhiteSpace</span></code>
<p>Definitions of CSS white space options.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-widget/index.html">Widget</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Widget</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-styled-component/index.html"><span class="identifier">StyledComponent</span></a><span class="symbol">, </span><a href="-component/index.html"><span class="identifier">Component</span></a></code>
<p>Base widget class. The parent of all component classes.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-widget-wrapper/index.html">WidgetWrapper</a></p>
</td>
<td>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">WidgetWrapper</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>This class allows to wrap a component into separately styled DIV element.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-word-break/index.html">WordBreak</a></p>
</td>
<td>
<code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">WordBreak</span></code>
<p>Definitions of CSS word-break options.</p>
</td>
</tr>
</tbody>
</table>
<h3>Type Aliases</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="-css-size.html">CssSize</a></p>
</td>
<td>
<code><span class="keyword">typealias </span><span class="identifier">CssSize</span>&nbsp;<span class="symbol">=</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html"><span class="identifier">Pair</span></a><span class="symbol">&lt;</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">,</span>&nbsp;<a href="-u-n-i-t/index.html"><span class="identifier">UNIT</span></a><span class="symbol">&gt;</span></code>
<p>This type is used for defining CSS dimensions (width, heights, margins, paddings, etc.).</p>
</td>
</tr>
<tr>
<td>
<p><a href="-res-string.html">ResString</a></p>
</td>
<td>
<code><span class="keyword">typealias </span><span class="identifier">ResString</span>&nbsp;<span class="symbol">=</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code>
<p>This type is used for accessing resources with CommonJS <strong>require</strong> function.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-string-bool-pair.html">StringBoolPair</a></p>
</td>
<td>
<code><span class="keyword">typealias </span><span class="identifier">StringBoolPair</span>&nbsp;<span class="symbol">=</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html"><span class="identifier">Pair</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">,</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">&gt;</span></code>
<p>Helper type used to define CSS classes.</p>
</td>
</tr>
<tr>
<td>
<p><a href="-string-pair.html">StringPair</a></p>
</td>
<td>
<code><span class="keyword">typealias </span><span class="identifier">StringPair</span>&nbsp;<span class="symbol">=</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html"><span class="identifier">Pair</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">,</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">&gt;</span></code>
<p>Helper type used to define CSS style attributes.</p>
</td>
</tr>
</tbody>
</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
<p><a href="to-js.html">toJs</a></p>
</td>
<td>
<code><span class="keyword">fun </span><a href="-tooltip-options/index.html"><span class="identifier">TooltipOptions</span></a><span class="symbol">.</span><span class="identifier">toJs</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="keyword">dynamic</span></code>
<p>Convert TooltipOptions to JavaScript JSON object.</p>
<code><span class="keyword">fun </span><a href="-popover-options/index.html"><span class="identifier">PopoverOptions</span></a><span class="symbol">.</span><span class="identifier">toJs</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="keyword">dynamic</span></code>
<p>Convert PopoverOptions to JavaScript JSON object.</p>
</td>
</tr>
</tbody>
</table>
</BODY>
</HTML>