From 7c2850063697f94a0d8b8d8f8588136dd4b3d05e Mon Sep 17 00:00:00 2001
From: Robert Jaros
-
-
-
- Constructor Overrides SimplePanel.addAll Adds a list of components to the current container.
- Return Adds new header cell to the table. Return Overrides SimplePanel.add Adds given component to the current container. Return Table caption. Getter Table caption.
-
-<init>
-
-Table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsive: Boolean = false, classes: Set<String> = setOf(), init: Table.() -> Unit = null)
-Parameters
-headerNames
- a list of table headers namesresponsive
- determines if the table is responsiveclasses
- a set of CSS class namesinit
- an initializer extension function
-
-
-addAll
-
-open fun addAll(children: List<Component>): SimplePanel
-Parameters
-children
- list of child components
-current container
-
-addHeaderCell
-
-fun addHeaderCell(cell: HeaderCell): Table
-Parameters
-
-
-this table
-
-add
-
-open fun add(child: Component): SimplePanel
-Parameters
-
-
-current container
-
-caption
-
-var caption: String?
-
-
Setter
-
Table caption.
- - - diff --git a/api/pl.treksoft.kvision.table/-table/children-v-nodes.html b/api/pl.treksoft.kvision.table/-table/children-v-nodes.html deleted file mode 100644 index 23ec3435..00000000 --- a/api/pl.treksoft.kvision.table/-table/children-v-nodes.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -protected open fun childrenVNodes(): Array<VNode>
-Overrides SimplePanel.childrenVNodes
-Returns the array of the children Snabbdom vnodes.
-Return
-array of children vnodes
open fun getChildren(): List<Component>
-Overrides SimplePanel.getChildren
-Returns a list of children of the current container.
-Return
-list of children
protected open fun getSnClass(): List<StringBoolPair>
-Overrides Widget.getSnClass
-Returns list of CSS class names for current widget in the form of a List.
-Return
-list of CSS class names
var headerNames: List<String>?
-Table headers names.
-Getter
-
Table headers names.
- -Setter
-
Table headers names.
- - - diff --git a/api/pl.treksoft.kvision.table/-table/index.html b/api/pl.treksoft.kvision.table/-table/index.html deleted file mode 100644 index ab632080..00000000 --- a/api/pl.treksoft.kvision.table/-table/index.html +++ /dev/null @@ -1,199 +0,0 @@ - - - -open class Table : SimplePanel
-HTML table component.
-- - | -
-Table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsive: Boolean = false, classes: Set<String> = setOf(), init: Table.() -> Unit = null) |
-
- - | -
-var caption: String?
-Table caption. - |
-
- - | -
-var headerNames: List<String>?
-Table headers names. - |
-
- - | -
-var responsive: Boolean
-Determines if the table is responsive. - |
-
- - | -
-var types: Set<TableType>
-Table types. - |
-
- - | -
-open fun add(child: Component): SimplePanel
-Adds given component to the current container. - |
-
- - | -
-open fun addAll(children: List<Component>): SimplePanel
-Adds a list of components to the current container. - |
-
- - | -
-fun addHeaderCell(cell: HeaderCell): Table
-Adds new header cell to the table. - |
-
- - | -
-open fun childrenVNodes(): Array<VNode>
-Returns the array of the children Snabbdom vnodes. - |
-
- - | -
-open fun getChildren(): List<Component>
-Returns a list of children of the current container. - |
-
- - | -
-open fun getSnClass(): List<StringBoolPair>
-Returns list of CSS class names for current widget in the form of a List. - |
-
- - | -
-open fun remove(child: Component): SimplePanel
-Removes given component from the current container. - |
-
- - | -
-open fun removeAll(): SimplePanel
-Removes all children from the current container. - |
-
- - | -
-fun removeHeaderCell(cell: HeaderCell): Table
-Removes given header cell from the table. - |
-
- - | -
-fun removeHeaderCells(): Table
-Removes all header cells from table. - |
-
- - | -
-open fun render(): VNode
-Renders current component as a Snabbdom vnode. - |
-
- - | -
-fun addInternal(child: Component): SimplePanel
-Protected and final method to add given component to the current container. - |
-
- - | -
-fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsive: Boolean = false, classes: Set<String> = setOf(), init: Table.() -> Unit = null): Table
-DSL builder extension function. - |
-
open fun removeAll(): SimplePanel
-Overrides SimplePanel.removeAll
-Removes all children from the current container.
-Return
-current container
fun removeHeaderCell(cell: HeaderCell): Table
-Removes given header cell from the table.
-Return
-this table
fun removeHeaderCells(): Table
-Removes all header cells from table.
-Return
-this table
open fun remove(child: Component): SimplePanel
-Overrides SimplePanel.remove
-Removes given component from the current container.
-Return
-current container
protected open fun render(): VNode
-Overrides SimplePanel.render
-Renders current component as a Snabbdom vnode.
-Return
-Snabbdom vnode
var responsive: Boolean
-Determines if the table is responsive.
-Getter
-
Determines if the table is responsive.
- -Setter
-
Determines if the table is responsive.
- - - diff --git a/api/pl.treksoft.kvision.table/-table/table.html b/api/pl.treksoft.kvision.table/-table/table.html deleted file mode 100644 index 3fe2c07e..00000000 --- a/api/pl.treksoft.kvision.table/-table/table.html +++ /dev/null @@ -1,16 +0,0 @@ - - - -fun Container.table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsive: Boolean = false, classes: Set<String> = setOf(), init: Table.() -> Unit = null): Table
-DSL builder extension function.
-It takes the same parameters as the constructor of the built component.
- - diff --git a/api/pl.treksoft.kvision.table/-table/types.html b/api/pl.treksoft.kvision.table/-table/types.html deleted file mode 100644 index 70588e53..00000000 --- a/api/pl.treksoft.kvision.table/-table/types.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -var types: Set<TableType>
-Table types.
-Getter
-
Table types.
- -Setter
-
Table types.
- - - -- cgit