<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> / <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, basic CSS enums (for colors, borders and backgrounds) and the main Widget class.</p> <h3>Types</h3> <table> <tbody> <tr> <td> <p><a href="-b-g-a-t-t-a-c-h/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="-b-g-c-l-i-p/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="-b-g-o-r-i-g-i-n/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="-b-g-r-e-p-e-a-t/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="-b-g-s-i-z-e/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="-b-o-r-d-e-r-s-t-y-l-e/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="-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="-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="-c-o-l-o-r/index.html">COLOR</a></p> </td> <td> <code><span class="keyword">enum</span> <span class="keyword">class </span><span class="identifier">COLOR</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> <span class="symbol">:</span> <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="-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> <span class="symbol">:</span> <a href="-component/index.html"><span class="identifier">Component</span></a></code> <p>Base class for components supporting CSS styling.</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="-widget/index.html">Widget</a></p> </td> <td> <code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Widget</span> <span class="symbol">:</span> <a href="-styled-component/index.html"><span class="identifier">StyledComponent</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> <span class="symbol">:</span> <a href="-widget/index.html"><span class="identifier">Widget</span></a></code> <p>This class allows to wrap a component into separately styled DIV element.</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> <span class="symbol">=</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html"><span class="identifier">Pair</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">,</span> <a href="-u-n-i-t/index.html"><span class="identifier">UNIT</span></a><span class="symbol">></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> <span class="symbol">=</span> <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> <span class="symbol">=</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html"><span class="identifier">Pair</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html"><span class="identifier">Boolean</span></a><span class="symbol">></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> <span class="symbol">=</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html"><span class="identifier">Pair</span></a><span class="symbol"><</span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">,</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">></span></code> <p>Helper type used to define CSS style attributes.</p> </td> </tr> </tbody> </table> </BODY> </HTML>