From 0365722f8549ee93918be99da1b9f901cf0b2c8d Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Fri, 13 Mar 2020 01:05:20 +0100 Subject: API documentation for KVision 3.5.2 --- api/pl.treksoft.kvision.table/-table/index.html | 707 ++++++++++++------------ 1 file changed, 344 insertions(+), 363 deletions(-) (limited to 'api/pl.treksoft.kvision.table/-table/index.html') diff --git a/api/pl.treksoft.kvision.table/-table/index.html b/api/pl.treksoft.kvision.table/-table/index.html index 64109e7e..5d83cee9 100644 --- a/api/pl.treksoft.kvision.table/-table/index.html +++ b/api/pl.treksoft.kvision.table/-table/index.html @@ -8,14 +8,15 @@ kvision / pl.treksoft.kvision.table / Table

Table

-open class Table : SimplePanel +(js) open class Table : SimplePanel

HTML table component.

Constructors

@@ -27,51 +28,39 @@ +var caption: String? +var headerNames: List<String>? +var responsiveType: ResponsiveType? - - -
-

<init>

+(js) +

<init>

Table(headerNames: List<String>? = null, types: Set<TableType> = setOf(), caption: String? = null, responsiveType: ResponsiveType? = null, theadType: TheadType? = null, classes: Set<String> = setOf(), init: (Table.() -> Unit)? = null)
-

caption

+(js) +

caption

-var caption: String?

Table caption.

-
-

headerNames

+(js) +

headerNames

-var headerNames: List<String>?

Table headers names.

-
-

responsiveType

+(js) +

responsiveType

-var responsiveType: ResponsiveType?

Determines if the table is responsive.

-
-

types

+(js) +

types

-var types: Set<TableType>

Table types.

-
-

Inherited Properties

- - - - - +var types: Set<TableType>
-

children

-
-val children: MutableList<Component>
@@ -80,116 +69,102 @@ -

add

+(js) +

add

-open fun add(child: Component): SimplePanel

Adds given component to the current container.

- +open fun add(child: Component): SimplePanel -

addAll

+(js) +

addAll

-open fun addAll(children: List<Component>): SimplePanel

Adds a list of components to the current container.

- +open fun addAll(children: List<Component>): SimplePanel -

addHeaderCell

+(js) +

addHeaderCell

-fun addHeaderCell(cell: HeaderCell): Table

Adds new header cell to the table.

- +fun addHeaderCell(cell: HeaderCell): Table -

childrenVNodes

+(js) +

childrenVNodes

-open fun childrenVNodes(): Array<VNode>

Returns the array of the children Snabbdom vnodes.

- +open fun childrenVNodes(): Array<VNode> -

getChildren

+(js) +

getChildren

-open fun getChildren(): List<Component>

Returns a list of children of the current container.

- +open fun getChildren(): List<Component> -

getSnClass

+(js) +

getSnClass

-open fun getSnClass(): List<StringBoolPair>

Returns list of CSS class names for current widget in the form of a List.

- +open fun getSnClass(): List<StringBoolPair> -

remove

+(js) +

remove

-open fun remove(child: Component): SimplePanel

Removes given component from the current container.

- +open fun remove(child: Component): SimplePanel -

removeAll

+(js) +

removeAll

-open fun removeAll(): SimplePanel

Removes all children from the current container.

- +open fun removeAll(): SimplePanel -

removeHeaderCell

+(js) +

removeHeaderCell

-fun removeHeaderCell(cell: HeaderCell): Table

Removes given header cell from the table.

- +fun removeHeaderCell(cell: HeaderCell): Table -

removeHeaderCells

+(js) +

removeHeaderCells

-fun removeHeaderCells(): Table

Removes all header cells from table.

- +fun removeHeaderCells(): Table -

render

+(js) +

render

-open fun render(): VNode

Renders current component as a Snabbdom vnode.

- - - - -

Inherited Functions

- - - - - +open fun render(): VNode
-

addInternal

-
-fun addInternal(child: Component): SimplePanel -

Protected and final method to add given component to the current container.

-
@@ -198,24 +173,27 @@ -

changeFlow

+(js) +

changeFlow

-val <T : Widget> T.changeFlow: <ERROR CLASS><T> +val <T : Widget> T.changeFlow: Flow<T> -

clickFlow

+(js) +

clickFlow

-val <T : Widget> T.clickFlow: <ERROR CLASS><T> +val <T : Widget> T.clickFlow: Flow<T> -

inputFlow

+(js) +

inputFlow

-val <T : Widget> T.inputFlow: <ERROR CLASS><T> +val <T : Widget> T.inputFlow: Flow<T> @@ -224,876 +202,879 @@ -

addBsBgColor

+(js) +

addBsBgColor

fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit -

addBsBorder

+(js) +

addBsBorder

fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit -

addBsClearfix

+(js) +

addBsClearfix

fun Component.addBsClearfix(): Unit -

addBsColor

+(js) +

addBsColor

fun Component.addBsColor(bsColor: BsColor): Unit -

addBsRounded

+(js) +

addBsRounded

fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit -

bold

+(js) +

bold

-fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold

DSL builder extension function.

- +fun Container.bold(content: String? = null, rich: Boolean = false, align: Align? = null, classes: Set<String> = setOf(), init: (Bold.() -> Unit)? = null): Bold -

button

+(js) +

button

-fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button

DSL builder extension function.

- +fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button -

buttonGroup

+(js) +

buttonGroup

-fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup

DSL builder extension function.

- +fun Container.buttonGroup(size: ButtonGroupSize? = null, vertical: Boolean = false, classes: Set<String> = setOf(), init: (ButtonGroup.() -> Unit)? = null): ButtonGroup -

canvas

+(js) +

canvas

-fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas

DSL builder extension function.

- +fun Container.canvas(canvasWidth: Int? = null, canvasHeight: Int? = null, classes: Set<String> = setOf(), init: (Canvas.() -> Unit)? = null): Canvas -

chart

+(js) +

chart

-fun Container.chart(configuration: Configuration, chartWidth: Int?