From 415afec335659ca6bc206b34bdd3c2fe4635718f Mon Sep 17 00:00:00 2001
From: Robert Jaros Base class for components supporting CSS styling. Background of the current component. Getter Background of the current component.
+
+<init>
+
+StyledComponent()
+
+
+background
+
+var background: Background?
+
+
Setter
+
Background of the current component.
+ + + diff --git a/api/pl.treksoft.kvision.core/-styled-component/border-bottom.html b/api/pl.treksoft.kvision.core/-styled-component/border-bottom.html new file mode 100644 index 00000000..c8d4c6fc --- /dev/null +++ b/api/pl.treksoft.kvision.core/-styled-component/border-bottom.html @@ -0,0 +1,21 @@ + + + +var borderBottom: Border?
+Bottom border of the current component.
+Getter
+
Bottom border of the current component.
+ +Setter
+
Bottom border of the current component.
+ + + diff --git a/api/pl.treksoft.kvision.core/-styled-component/border-left.html b/api/pl.treksoft.kvision.core/-styled-component/border-left.html new file mode 100644 index 00000000..54bd85d3 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-styled-component/border-left.html @@ -0,0 +1,21 @@ + + + +var borderLeft: Border?
+Left border of the current component.
+Getter
+
Left border of the current component.
+ +Setter
+
Left border of the current component.
+ + + diff --git a/api/pl.treksoft.kvision.core/-styled-component/border-right.html b/api/pl.treksoft.kvision.core/-styled-component/border-right.html new file mode 100644 index 00000000..428a462a --- /dev/null +++ b/api/pl.treksoft.kvision.core/-styled-component/border-right.html @@ -0,0 +1,21 @@ + + + +var borderRight: Border?
+Right border of the current component.
+Getter
+
Right border of the current component.
+ +Setter
+
Right border of the current component.
+ + + diff --git a/api/pl.treksoft.kvision.core/-styled-component/border-top.html b/api/pl.treksoft.kvision.core/-styled-component/border-top.html new file mode 100644 index 00000000..d5a50121 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-styled-component/border-top.html @@ -0,0 +1,21 @@ + + + +var borderTop: Border?
+Top border of the current component.
+Getter
+
Top border of the current component.
+ +Setter
+
Top border of the current component.
+ + + diff --git a/api/pl.treksoft.kvision.core/-styled-component/border.html b/api/pl.treksoft.kvision.core/-styled-component/border.html new file mode 100644 index 00000000..02a1660d --- /dev/null +++ b/api/pl.treksoft.kvision.core/-styled-component/border.html @@ -0,0 +1,21 @@ + + + +var border: Border?
+Border of the current component.
+Getter
+
Border of the current component.
+ +Setter
+
Border of the current component.
+ + + diff --git a/api/pl.treksoft.kvision.core/-styled-component/bottom.html b/api/pl.treksoft.kvision.core/-styled-component/bottom.html new file mode 100644 index 00000000..0e98c842 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-styled-component/bottom.html @@ -0,0 +1,21 @@ + + + +var bottom: CssSize?
+Bottom edge of the current component.
+Getter
+
Bottom edge of the current component.
+ +Setter
+
Bottom edge of the current component.
+ + + diff --git a/api/pl.treksoft.kvision.core/-styled-component/color-hex.html b/api/pl.treksoft.kvision.core/-styled-component/color-hex.html new file mode 100644 index 00000000..3e22c1da --- /dev/null +++ b/api/pl.treksoft.kvision.core/-styled-component/color-hex.html @@ -0,0 +1,18 @@ + + + +var colorHex: Int?
+Text color for the current component given in hex format (write only).
+This property gives a convenient way to set the value of color property e.g.:
+c.colorHex = 0x00ff00
+The value read from this property is always null.
+ + diff --git a/api/pl.treksoft.kvision.core/-styled-component/color-name.html b/api/pl.treksoft.kvision.core/-styled-component/color-name.html new file mode 100644 index 00000000..f597c1e3 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-styled-component/color-name.html @@ -0,0 +1,18 @@ + + + +var colorName: Col?
+Text color for the current component given with named constant (write only).
+This property gives a convenient way to set the value of color property e.g.:
+c.colorName = Col.GREEN
+The value read from this property is always null.
+ + diff --git a/api/pl.treksoft.kvision.core/-styled-component/color.html b/api/pl.treksoft.kvision.core/-styled-component/color.html new file mode 100644 index 00000000..b9d6f799 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-styled-component/color.html @@ -0,0 +1,21 @@ + + + +var color: Color?
+Text color for the current component.
+Getter
+
Text color for the current component.
+ +Setter
+
Text color for the current component.
+ + + diff --git a/api/pl.treksoft.kvision.core/-styled-component/get-sn-style.html b/api/pl.treksoft.kvision.core/-styled-component/get-sn-style.html new file mode 100644 index 00000000..049da26e --- /dev/null +++ b/api/pl.treksoft.kvision.core/-styled-component/get-sn-style.html @@ -0,0 +1,17 @@ + + + +protected open fun getSnStyle(): List<StringPair>
+Returns the list of String pairs defining CSS style attributes and their values.
+Return
+the list of attributes and their values
var height: CssSize?
+Height of the current component.
+Getter
+
Height of the current component.
+ +Setter
+
Height of the current component.
+ + + diff --git a/api/pl.treksoft.kvision.core/-styled-component/index.html b/api/pl.treksoft.kvision.core/-styled-component/index.html new file mode 100644 index 00000000..5ad31f17 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-styled-component/index.html @@ -0,0 +1,458 @@ + + + +abstract class StyledComponent : Component
+Base class for components supporting CSS styling.
+| + + | +
+StyledComponent()
+Base class for components supporting CSS styling. + |
+
| + + | +
+var background: Background?
+Background of the current component. + |
+
| + + | +
+var border: Border?
+Border of the current component. + |
+
| + + | +
+var borderBottom: Border?
+Bottom border of the current component. + |
+
| + + | +
+var borderLeft: Border?
+Left border of the current component. + |
+
| + + | +
+var borderRight: Border?
+Right border of the current component. + |
+
| + + | +
+var borderTop: Border?
+Top border of the current component. + |
+
| + + | +
+var bottom: CssSize?
+Bottom edge of the current component. + |
+
| + + | +
+var color: Color?
+Text color for the current component. + |
+
| + + | +
+var colorHex: Int?
+Text color for the current component given in hex format (write only). + |
+
| + + | +
+var colorName: Col?
+Text color for the current component given with named constant (write only). + |
+
| + + | +
+var height: CssSize?
+Height of the current component. + |
+
| + + | +
+var left: CssSize?
+Left edge of the current component. + |
+
| + + | +
+var margin: CssSize?
+Margin of the current component. + |
+
| + + | +
+var marginBottom: CssSize?
+Bottom margin of the current component. + |
+
| + + | +
+var marginLeft: CssSize?
+Left margin of the current component. + |
+
| + + | +
+var marginRight: CssSize?
+Right margin of the current component. + |
+
| + + | +
+var marginTop: CssSize?
+Top margin of the current component. + |
+
| + + | +
+var maxHeight: CssSize?
+Maximal height of the current component. + |
+
| + + | +
+var maxWidth: CssSize?
+Maximal width of the current component. + |
+
| + + | +
+var minHeight: CssSize?
+Minimal height of the current component. + |
+
| + + | +
+var minWidth: CssSize?
+Minimal width of the current component. + |
+
| + + | +
+var opacity: Double?
+Opacity of the current component. + |
+
| + + | +
+var overflow: Overflow?
+CSS overflow of the current component. + |
+
| + + | +
+var padding: CssSize?
+Padding of the current component. + |
+
| + + | +
+var paddingBottom: CssSize?
+Bottom padding of the current component. + |
+
| + + | +
+var paddingLeft: CssSize?
+Left padding of the current component. + |
+
| + + | +
+var paddingRight: CssSize?
+Right padding of the current component. + |
+
| + + | +
+var paddingTop: CssSize?
+Top padding of the current component. + |
+
| + + | +
+var position: Position?
+CSS position of the current component. + |
+
| + + | +
+var resize: Resize?
+CSS resize of the current component. + |
+
| + + | +
+var right: CssSize?
+Right edge of the current component. + |
+
| + + | +
+var top: CssSize?
+Top edge of the current component. + |
+
| + + | +
+open var width: CssSize?
+Width of the current component. + |
+
| + + | +
+var zIndex: Int?
+Z-index of the current component. + |
+
| + + | +
+abstract var parent: Component?
+Parent of the current component. + |
+
| + + | +
+abstract var visible: Boolean
+Visibility state of the current component. + |
+
| + + | +
+open fun getSnStyle(): List<StringPair>
+Returns the list of String pairs defining CSS style attributes and their values. + |
+
| + + | +
+abstract fun addCssClass(css: String): Component
+Adds given value to the set of CSS classes generated in html code of current component. + |
+
| + + | +
+abstract fun addSurroundingCssClass(css: String): Component
+Adds given value to the set of CSS classes generated in html code of parent component. + |
+
| + + | +
+abstract fun getElement(): Node?
+Returns DOM element bound to the current component. + |
+
| + + | +
+abstract fun getElementJQuery(): JQuery?
+Returns JQuery element bound to the current component. + |
+
| + + | +
+abstract fun getElementJQueryD(): dynamic
+Returns JQuery element bound to the current component as a dynamic type. + |
+
| + + | +
+abstract fun removeCssClass(css: String): Component
+Removes given value from the set of CSS classes generated in html code of current component. + |
+
| + + | +
+abstract fun removeSurroundingCssClass(css: String): Component
+Removes given value from the set of CSS classes generated in html code of parent component. + |
+
| + + | +
+open class Widget : StyledComponent
+Base widget class. The parent of all component classes. + |
+
var left: CssSize?
+Left edge of the current component.
+Getter
+
Left edge of the current component.
+ +Setter
+
Left edge of the current component.
+ + + diff --git a/api/pl.treksoft.kvision.core/-styled-component/margin-bottom.html b/api/pl.treksoft.kvision.core/-styled-component/margin-bottom.html new file mode 100644 index 00000000..ba19712e --- /dev/null +++ b/api/pl.treksoft.kvision.core/-styled-component/margin-bottom.html @@ -0,0 +1,21 @@ + + + +var marginBottom: CssSize?
+Bottom margin of the current component.
+Getter
+
Bottom margin of the current component.
+ +Setter
+
Bottom margin of the current component.
+ + + diff --git a/api/pl.treksoft.kvision.core/-styled-component/margin-left.html b/api/pl.treksoft.kvision.core/-styled-component/margin-left.html new file mode 100644 index 00000000..9c943cf3 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-styled-component/margin-left.html @@ -0,0 +1,21 @@ + + + +var marginLeft: CssSize?
+Left margin of the current component.
+Getter
+
Left margin of the current component.
+ +Setter
+
Left margin of the current component.
+ + + diff --git a/api/pl.treksoft.kvision.core/-styled-component/margin-right.html b/api/pl.treksoft.kvision.core/-styled-component/margin-right.html new file mode 100644 index 00000000..72042478 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-styled-component/margin-right.html @@ -0,0 +1,21 @@ + + + +var marginRight: CssSize?
+Right margin of the current component.
+Getter
+
Right margin of the current component.
+ +Setter
+
Right margin of the current component.
+ + + diff --git a/api/pl.treksoft.kvision.core/-styled-component/margin-top.html b/api/pl.treksoft.kvision.core/-styled-component/margin-top.html new file mode 100644 index 00000000..6bc99621 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-styled-component/margin-top.html @@ -0,0 +1,21 @@ + + + +var marginTop: CssSize?
+Top margin of the current component.
+Getter
+
Top margin of the current component.
+ +Setter
+
Top margin of the current component.
+ + + diff --git a/api/pl.treksoft.kvision.core/-styled-component/margin.html b/api/pl.treksoft.kvision.core/-styled-component/margin.html new file mode 100644 index 00000000..a4b0cb2e --- /dev/null +++ b/api/pl.treksoft.kvision.core/-styled-component/margin.html @@ -0,0 +1,21 @@ + + + +var margin: CssSize?
+Margin of the current component.
+Getter
+
Margin of the current component.
+ +Setter
+
Margin of the current component.
+ + + diff --git a/api/pl.treksoft.kvision.core/-styled-component/max-height.html b/api/pl.treksoft.kvision.core/-styled-component/max-height.html new file mode 100644 index 00000000..8a545e27 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-styled-component/max-height.html @@ -0,0 +1,21 @@ + + + +var maxHeight: CssSize?
+Maximal height of the current component.
+Getter
+
Maximal height of the current component.
+ +Setter
+
Maximal height of the current component.
+ + + diff --git a/api/pl.treksoft.kvision.core/-styled-component/max-width.html b/api/pl.treksoft.kvision.core/-styled-component/max-width.html new file mode 100644 index 00000000..3e9182f5 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-styled-component/max-width.html @@ -0,0 +1,21 @@ + + + +var maxWidth: CssSize?
+Maximal width of the current component.
+Getter
+
Maximal width of the current component.
+ +Setter
+
Maximal width of the current component.
+ + + diff --git a/api/pl.treksoft.kvision.core/-styled-component/min-height.html b/api/pl.treksoft.kvision.core/-styled-component/min-height.html new file mode 100644 index 00000000..35e94de6 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-styled-component/min-height.html @@ -0,0 +1,21 @@ + + + +var minHeight: CssSize?
+Minimal height of the current component.
+Getter
+
Minimal height of the current component.
+ +Setter
+
Minimal height of the current component.
+ + + diff --git a/api/pl.treksoft.kvision.core/-styled-component/min-width.html b/api/pl.treksoft.kvision.core/-styled-component/min-width.html new file mode 100644 index 00000000..1c5d9d27 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-styled-component/min-width.html @@ -0,0 +1,21 @@ + + + +var minWidth: CssSize?
+Minimal width of the current component.
+Getter
+
Minimal width of the current component.
+ +Setter
+
Minimal width of the current component.
+ + + diff --git a/api/pl.treksoft.kvision.core/-styled-component/opacity.html b/api/pl.treksoft.kvision.core/-styled-component/opacity.html new file mode 100644 index 00000000..c1c9fd06 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-styled-component/opacity.html @@ -0,0 +1,21 @@ + + + +var opacity: Double?
+Opacity of the current component.
+Getter
+
Opacity of the current component.
+ +Setter
+
Opacity of the current component.
+ + + diff --git a/api/pl.treksoft.kvision.core/-styled-component/overflow.html b/api/pl.treksoft.kvision.core/-styled-component/overflow.html new file mode 100644 index 00000000..3fb217e5 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-styled-component/overflow.html @@ -0,0 +1,21 @@ + + + +var overflow: Overflow?
+CSS overflow of the current component.
+Getter
+
CSS overflow of the current component.
+ +Setter
+
CSS overflow of the current component.
+ + + diff --git a/api/pl.treksoft.kvision.core/-styled-component/padding-bottom.html b/api/pl.treksoft.kvision.core/-styled-component/padding-bottom.html new file mode 100644 index 00000000..ce6562a2 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-styled-component/padding-bottom.html @@ -0,0 +1,21 @@ + + + +var paddingBottom: CssSize?
+Bottom padding of the current component.
+Getter
+
Bottom padding of the current component.
+ +Setter
+
Bottom padding of the current component.
+ + + diff --git a/api/pl.treksoft.kvision.core/-styled-component/padding-left.html b/api/pl.treksoft.kvision.core/-styled-component/padding-left.html new file mode 100644 index 00000000..1bc850b2 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-styled-component/padding-left.html @@ -0,0 +1,21 @@ + + + +var paddingLeft: CssSize?
+Left padding of the current component.
+Getter
+
Left padding of the current component.
+ +Setter
+
Left padding of the current component.
+ + + diff --git a/api/pl.treksoft.kvision.core/-styled-component/padding-right.html b/api/pl.treksoft.kvision.core/-styled-component/padding-right.html new file mode 100644 index 00000000..c41f2515 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-styled-component/padding-right.html @@ -0,0 +1,21 @@ + + + +var paddingRight: CssSize?
+Right padding of the current component.
+Getter
+
Right padding of the current component.
+ +Setter
+
Right padding of the current component.
+ + + diff --git a/api/pl.treksoft.kvision.core/-styled-component/padding-top.html b/api/pl.treksoft.kvision.core/-styled-component/padding-top.html new file mode 100644 index 00000000..865bfa0b --- /dev/null +++ b/api/pl.treksoft.kvision.core/-styled-component/padding-top.html @@ -0,0 +1,21 @@ + + + +var paddingTop: CssSize?
+Top padding of the current component.
+Getter
+
Top padding of the current component.
+ +Setter
+
Top padding of the current component.
+ + + diff --git a/api/pl.treksoft.kvision.core/-styled-component/padding.html b/api/pl.treksoft.kvision.core/-styled-component/padding.html new file mode 100644 index 00000000..2be1ef30 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-styled-component/padding.html @@ -0,0 +1,21 @@ + + + +var padding: CssSize?
+Padding of the current component.
+Getter
+
Padding of the current component.
+ +Setter
+
Padding of the current component.
+ + + diff --git a/api/pl.treksoft.kvision.core/-styled-component/position.html b/api/pl.treksoft.kvision.core/-styled-component/position.html new file mode 100644 index 00000000..e067448d --- /dev/null +++ b/api/pl.treksoft.kvision.core/-styled-component/position.html @@ -0,0 +1,21 @@ + + + +var position: Position?
+CSS position of the current component.
+Getter
+
CSS position of the current component.
+ +Setter
+
CSS position of the current component.
+ + + diff --git a/api/pl.treksoft.kvision.core/-styled-component/resize.html b/api/pl.treksoft.kvision.core/-styled-component/resize.html new file mode 100644 index 00000000..b7892a1c --- /dev/null +++ b/api/pl.treksoft.kvision.core/-styled-component/resize.html @@ -0,0 +1,21 @@ + + + +var resize: Resize?
+CSS resize of the current component.
+Getter
+
CSS resize of the current component.
+ +Setter
+
CSS resize of the current component.
+ + + diff --git a/api/pl.treksoft.kvision.core/-styled-component/right.html b/api/pl.treksoft.kvision.core/-styled-component/right.html new file mode 100644 index 00000000..2c986a02 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-styled-component/right.html @@ -0,0 +1,21 @@ + + + +