From d8cd67062b8de6e8398dc6dfd00d201200c82414 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Fri, 9 Feb 2018 13:40:35 +0100 Subject: API doc and readme --- .../-grid-panel/-init-.html | 43 ++++ .../-grid-panel/add-all.html | 21 ++ .../pl.treksoft.kvision.panel/-grid-panel/add.html | 45 ++++ .../-grid-panel/align-content.html | 15 ++ .../-grid-panel/align-items.html | 15 ++ .../-grid-panel/auto-columns.html | 15 ++ .../-grid-panel/auto-flow.html | 15 ++ .../-grid-panel/auto-rows.html | 15 ++ .../-grid-panel/column-gap.html | 15 ++ .../-grid-panel/get-sn-style.html | 18 ++ .../-grid-panel/index.html | 232 +++++++++++++++++++++ .../-grid-panel/justify-content.html | 15 ++ .../-grid-panel/justify-items.html | 15 ++ .../-grid-panel/remove-all.html | 18 ++ .../-grid-panel/remove.html | 21 ++ .../-grid-panel/row-gap.html | 15 ++ .../-grid-panel/template-areas.html | 15 ++ .../-grid-panel/template-columns.html | 15 ++ .../-grid-panel/template-rows.html | 15 ++ 19 files changed, 578 insertions(+) create mode 100644 docs/api/pl.treksoft.kvision.panel/-grid-panel/-init-.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-grid-panel/add-all.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-grid-panel/add.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-grid-panel/align-content.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-grid-panel/align-items.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-grid-panel/auto-columns.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-grid-panel/auto-flow.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-grid-panel/auto-rows.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-grid-panel/column-gap.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-grid-panel/get-sn-style.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-grid-panel/index.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-grid-panel/justify-content.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-grid-panel/justify-items.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-grid-panel/remove-all.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-grid-panel/remove.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-grid-panel/row-gap.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-grid-panel/template-areas.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-grid-panel/template-columns.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-grid-panel/template-rows.html (limited to 'docs/api/pl.treksoft.kvision.panel/-grid-panel') diff --git a/docs/api/pl.treksoft.kvision.panel/-grid-panel/-init-.html b/docs/api/pl.treksoft.kvision.panel/-grid-panel/-init-.html new file mode 100644 index 00000000..a845560e --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-grid-panel/-init-.html @@ -0,0 +1,43 @@ + + + +GridPanel.<init> - kvision + + + +kvision / pl.treksoft.kvision.panel / GridPanel / <init>
+
+

<init>

+ +GridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GRIDFLOW? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GRIDJUSTIFY? = null, alignItems: GRIDALIGN? = null, justifyContent: GRIDJUSTIFYCONTENT? = null, alignContent: GRIDALIGNCONTENT? = null, classes: Set<String> = setOf()) +

Parameters

+

+autoColumns - grid auto columns

+

+autoRows - grid auto rows

+

+autoFlow - grid auto flow

+

+templateColumns - grid columns template

+

+templateRows - grid rows template

+

+templateAreas - grid areas template

+

+columnGap - grid column gap

+

+rowGap - grid row gap

+

+justifyItems - grid items justification

+

+alignItems - grid items alignment

+

+justifyContent - flexbox content justification

+

+alignContent - flexbox content alignment

+

+classes - a set of CSS class names

+

Constructor
+

+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-grid-panel/add-all.html b/docs/api/pl.treksoft.kvision.panel/-grid-panel/add-all.html new file mode 100644 index 00000000..c66d1169 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-grid-panel/add-all.html @@ -0,0 +1,21 @@ + + + +GridPanel.addAll - kvision + + + +kvision / pl.treksoft.kvision.panel / GridPanel / addAll
+
+

addAll

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

Overrides SimplePanel.addAll

+

Adds a list of components to the current container.

+

Parameters

+

+children - list of child components

+

Return
+current container

+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-grid-panel/add.html b/docs/api/pl.treksoft.kvision.panel/-grid-panel/add.html new file mode 100644 index 00000000..7f1d1f1d --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-grid-panel/add.html @@ -0,0 +1,45 @@ + + + +GridPanel.add - kvision + + + +kvision / pl.treksoft.kvision.panel / GridPanel / add
+
+

add

+ +fun add(child: Component, columnStart: Int? = null, rowStart: Int? = null, columnEnd: String? = null, rowEnd: String? = null, area: String? = null, justifySelf: GRIDJUSTIFY? = null, alignSelf: GRIDALIGN? = null, classes: Set<String> = setOf()): GridPanel +

Adds a component to the grid container.

+

Parameters

+

+child - child component

+

+columnStart - number of starting column

+

+rowStart - number of starting row

+

+columnEnd - number of ending column

+

+rowEnd - number of ending row

+

+area - grid area

+

+justifySelf - child self justification

+

+alignSelf - child self alignment

+

+classes - a set of CSS class names

+

Return
+current container

+ +open fun add(child: Component): GridPanel +

Overrides SimplePanel.add

+

Adds given component to the current container.

+

Parameters

+

+child - child component

+

Return
+current container

+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-grid-panel/align-content.html b/docs/api/pl.treksoft.kvision.panel/-grid-panel/align-content.html new file mode 100644 index 00000000..e06c4cd4 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-grid-panel/align-content.html @@ -0,0 +1,15 @@ + + + +GridPanel.alignContent - kvision + + + +kvision / pl.treksoft.kvision.panel / GridPanel / alignContent
+
+

alignContent

+ +var alignContent: GRIDALIGNCONTENT? +

CSS grid content alignment.

+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-grid-panel/align-items.html b/docs/api/pl.treksoft.kvision.panel/-grid-panel/align-items.html new file mode 100644 index 00000000..954a5f84 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-grid-panel/align-items.html @@ -0,0 +1,15 @@ + + + +GridPanel.alignItems - kvision + + + +kvision / pl.treksoft.kvision.panel / GridPanel / alignItems
+
+

alignItems

+ +var alignItems: GRIDALIGN? +

CSS grid items alignment.

+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-grid-panel/auto-columns.html b/docs/api/pl.treksoft.kvision.panel/-grid-panel/auto-columns.html new file mode 100644 index 00000000..91f5c6ac --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-grid-panel/auto-columns.html @@ -0,0 +1,15 @@ + + + +GridPanel.autoColumns - kvision + + + +kvision / pl.treksoft.kvision.panel / GridPanel / autoColumns
+
+

autoColumns

+ +var autoColumns: String? +

CSS grid auto columns.

+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-grid-panel/auto-flow.html b/docs/api/pl.treksoft.kvision.panel/-grid-panel/auto-flow.html new file mode 100644 index 00000000..d50f531f --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-grid-panel/auto-flow.html @@ -0,0 +1,15 @@ + + + +GridPanel.autoFlow - kvision + + + +kvision / pl.treksoft.kvision.panel / GridPanel / autoFlow
+
+

autoFlow

+ +var autoFlow: GRIDFLOW? +

CSS grid auto flow.

+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-grid-panel/auto-rows.html b/docs/api/pl.treksoft.kvision.panel/-grid-panel/auto-rows.html new file mode 100644 index 00000000..c83ca29c --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-grid-panel/auto-rows.html @@ -0,0 +1,15 @@ + + + +GridPanel.autoRows - kvision + + + +kvision / pl.treksoft.kvision.panel / GridPanel / autoRows
+
+

autoRows

+ +var autoRows: String? +

CSS grid auto rows.

+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-grid-panel/column-gap.html b/docs/api/pl.treksoft.kvision.panel/-grid-panel/column-gap.html new file mode 100644 index 00000000..f6915d8c --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-grid-panel/column-gap.html @@ -0,0 +1,15 @@ + + + +GridPanel.columnGap - kvision + + + +kvision / pl.treksoft.kvision.panel / GridPanel / columnGap
+
+

columnGap

+ +var columnGap: Int? +

CSS grid column gap.

+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-grid-panel/get-sn-style.html b/docs/api/pl.treksoft.kvision.panel/-grid-panel/get-sn-style.html new file mode 100644 index 00000000..7cc9dc49 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-grid-panel/get-sn-style.html @@ -0,0 +1,18 @@ + + + +GridPanel.getSnStyle - kvision + + + +kvision / pl.treksoft.kvision.panel / GridPanel / getSnStyle
+
+

getSnStyle

+ +protected open fun getSnStyle(): List<StringPair> +

Overrides StyledComponent.getSnStyle

+

Returns the list of String pairs defining CSS style attributes and their values.

+

Return
+the list of attributes and their values

+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-grid-panel/index.html b/docs/api/pl.treksoft.kvision.panel/-grid-panel/index.html new file mode 100644 index 00000000..1dadb4ac --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-grid-panel/index.html @@ -0,0 +1,232 @@ + + + +GridPanel - kvision + + + +kvision / pl.treksoft.kvision.panel / GridPanel
+
+

GridPanel

+open class GridPanel : SimplePanel +

The container with CSS grid layout support.

+

Constructors

+ + + + + + + +
+

<init>

+
+GridPanel(autoColumns: String? = null, autoRows: String? = null, autoFlow: GRIDFLOW? = null, templateColumns: String? = null, templateRows: String? = null, templateAreas: List<String>? = null, columnGap: Int? = null, rowGap: Int? = null, justifyItems: GRIDJUSTIFY? = null, alignItems: GRIDALIGN? = null, justifyContent: GRIDJUSTIFYCONTENT? = null, alignContent: GRIDALIGNCONTENT? = null, classes: Set<String> = setOf())
+

Properties

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

alignContent

+
+var alignContent: GRIDALIGNCONTENT? +

CSS grid content alignment.

+
+

alignItems

+
+var alignItems: GRIDALIGN? +

CSS grid items alignment.

+
+

autoColumns

+
+var autoColumns: String? +

CSS grid auto columns.

+
+

autoFlow

+
+var autoFlow: GRIDFLOW? +

CSS grid auto flow.

+
+

autoRows

+
+var autoRows: String? +

CSS grid auto rows.

+
+

columnGap

+
+var columnGap: Int? +

CSS grid column gap.

+
+

justifyContent

+
+var justifyContent: GRIDJUSTIFYCONTENT? +

CSS grid content justification.

+
+

justifyItems

+
+var justifyItems: GRIDJUSTIFY? +

CSS grid items justification.

+
+

rowGap

+
+var rowGap: Int? +

CSS grid row gap.

+
+

templateAreas

+
+var templateAreas: List<String>? +

CSS grid areas template.

+
+

templateColumns

+
+var templateColumns: String? +

CSS grid columns template.

+
+

templateRows

+
+var templateRows: String? +

CSS grid rows template.

+
+

Functions

+ + + + + + + + + + + + + + + + + + + + + + + +
+

add

+
+fun add(child: Component, columnStart: Int? = null, rowStart: Int? = null, columnEnd: String? = null, rowEnd: String? = null, area: String? = null, justifySelf: GRIDJUSTIFY? = null, alignSelf: GRIDALIGN? = null, classes: Set<String> = setOf()): GridPanel +

Adds a component to the grid container.

+open fun add(child: Component): GridPanel +

Adds given component to the current container.

+
+

addAll

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

Adds a list of components to the current container.

+
+

getSnStyle

+
+open fun getSnStyle(): List<StringPair> +

Returns the list of String pairs defining CSS style attributes and their values.

+
+

remove

+
+open fun remove(child: Component): GridPanel +

Removes given component from the current container.

+
+

removeAll

+
+open fun removeAll(): GridPanel +

Removes all children from the current container.

+
+

Inherited Functions

+ + + + + + + + + + + + + + + + + + + +
+

addInternal

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

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

+
+

childrenVNodes

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

Returns the array of the children Snabbdom vnodes.

+
+

getChildren

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

Returns a list of children of the current container.

+
+

render

+
+open fun render(): VNode +

Renders current component as a Snabbdom vnode.

+
+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-grid-panel/justify-content.html b/docs/api/pl.treksoft.kvision.panel/-grid-panel/justify-content.html new file mode 100644 index 00000000..b0d57552 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-grid-panel/justify-content.html @@ -0,0 +1,15 @@ + + + +GridPanel.justifyContent - kvision + + + +kvision / pl.treksoft.kvision.panel / GridPanel / justifyContent
+
+

justifyContent

+ +var justifyContent: GRIDJUSTIFYCONTENT? +

CSS grid content justification.

+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-grid-panel/justify-items.html b/docs/api/pl.treksoft.kvision.panel/-grid-panel/justify-items.html new file mode 100644 index 00000000..1956fad8 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-grid-panel/justify-items.html @@ -0,0 +1,15 @@ + + + +GridPanel.justifyItems - kvision + + + +kvision / pl.treksoft.kvision.panel / GridPanel / justifyItems
+
+

justifyItems

+ +var justifyItems: GRIDJUSTIFY? +

CSS grid items justification.

+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-grid-panel/remove-all.html b/docs/api/pl.treksoft.kvision.panel/-grid-panel/remove-all.html new file mode 100644 index 00000000..3406e020 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-grid-panel/remove-all.html @@ -0,0 +1,18 @@ + + + +GridPanel.removeAll - kvision + + + +kvision / pl.treksoft.kvision.panel / GridPanel / removeAll
+
+

removeAll

+ +open fun removeAll(): GridPanel +

Overrides SimplePanel.removeAll

+

Removes all children from the current container.

+

Return
+current container

+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-grid-panel/remove.html b/docs/api/pl.treksoft.kvision.panel/-grid-panel/remove.html new file mode 100644 index 00000000..4ba69b23 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-grid-panel/remove.html @@ -0,0 +1,21 @@ + + + +GridPanel.remove - kvision + + + +kvision / pl.treksoft.kvision.panel / GridPanel / remove
+
+

remove

+ +open fun remove(child: Component): GridPanel +

Overrides SimplePanel.remove

+

Removes given component from the current container.

+

Parameters

+

+child - child component

+

Return
+current container</