aboutsummaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.html/index.html
blob: 44a97d1dd55816ae52a709be42d02395694224a3 (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
<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="-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><span class="identifier">Label</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="-tag/index.html"><span class="identifier">Tag</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="-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="-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>