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 --- .../-responsive-grid-panel/-init-.html | 27 +++++ .../-responsive-grid-panel/add-all.html | 21 ++++ .../-responsive-grid-panel/add.html | 37 ++++++ .../-responsive-grid-panel/align.html | 15 +++ .../-responsive-grid-panel/index.html | 133 +++++++++++++++++++++ .../-responsive-grid-panel/remove-at.html | 22 ++++ .../-responsive-grid-panel/remove.html | 21 ++++ 7 files changed, 276 insertions(+) create mode 100644 docs/api/pl.treksoft.kvision.panel/-responsive-grid-panel/-init-.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-responsive-grid-panel/add-all.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-responsive-grid-panel/add.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-responsive-grid-panel/align.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-responsive-grid-panel/index.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-responsive-grid-panel/remove-at.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-responsive-grid-panel/remove.html (limited to 'docs/api/pl.treksoft.kvision.panel/-responsive-grid-panel') diff --git a/docs/api/pl.treksoft.kvision.panel/-responsive-grid-panel/-init-.html b/docs/api/pl.treksoft.kvision.panel/-responsive-grid-panel/-init-.html new file mode 100644 index 00000000..212c6111 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-responsive-grid-panel/-init-.html @@ -0,0 +1,27 @@ + + + +ResponsiveGridPanel.<init> - kvision + + + +kvision / pl.treksoft.kvision.panel / ResponsiveGridPanel / <init>
+
+

<init>

+ +ResponsiveGridPanel(gridsize: GRIDSIZE = GRIDSIZE.MD, rows: Int = 0, cols: Int = 0, align: ALIGN? = null, classes: Set<String> = setOf()) +

Parameters

+

+gridsize - grid size

+

+rows - number of rows

+

+cols - number of columns

+

+align - text align of grid cells

+

+classes - a set of CSS class names

+

Constructor
+

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

addAll

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

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/-responsive-grid-panel/add.html b/docs/api/pl.treksoft.kvision.panel/-responsive-grid-panel/add.html new file mode 100644 index 00000000..6fc0842d --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-responsive-grid-panel/add.html @@ -0,0 +1,37 @@ + + + +ResponsiveGridPanel.add - kvision + + + +kvision / pl.treksoft.kvision.panel / ResponsiveGridPanel / add
+
+

add

+ +open fun add(child: Component, col: Int, row: Int, size: Int = 0, offset: Int = 0): ResponsiveGridPanel +

Adds child component to the grid.

+

Parameters

+

+child - child component

+

+col - column number

+

+row - row number

+

+size - cell size (colspan)

+

+offset - cell offset

+

Return
+this container

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

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/-responsive-grid-panel/align.html b/docs/api/pl.treksoft.kvision.panel/-responsive-grid-panel/align.html new file mode 100644 index 00000000..1be76d78 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-responsive-grid-panel/align.html @@ -0,0 +1,15 @@ + + + +ResponsiveGridPanel.align - kvision + + + +kvision / pl.treksoft.kvision.panel / ResponsiveGridPanel / align
+
+

align

+ +var align: ALIGN? +

Text align of grid cells.

+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-responsive-grid-panel/index.html b/docs/api/pl.treksoft.kvision.panel/-responsive-grid-panel/index.html new file mode 100644 index 00000000..6939014c --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-responsive-grid-panel/index.html @@ -0,0 +1,133 @@ + + + +ResponsiveGridPanel - kvision + + + +kvision / pl.treksoft.kvision.panel / ResponsiveGridPanel
+
+

ResponsiveGridPanel

+open class ResponsiveGridPanel : SimplePanel +

The container with support for Bootstrap responsive grid layout.

+

Constructors

+ + + + + + + +
+

<init>

+
+ResponsiveGridPanel(gridsize: GRIDSIZE = GRIDSIZE.MD, rows: Int = 0, cols: Int = 0, align: ALIGN? = null, classes: Set<String> = setOf())
+

Properties

+ + + + + + + +
+

align

+
+var align: ALIGN? +

Text align of grid cells.

+
+

Functions

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

add

+
+open fun add(child: Component, col: Int, row: Int, size: Int = 0, offset: Int = 0): ResponsiveGridPanel +

Adds child component to the grid.

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

Adds given component to the current container.

+
+

addAll

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

Adds a list of components to the current container.

+
+

remove

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

Removes given component from the current container.

+
+

removeAt

+
+open fun removeAt(col: Int, row: Int): ResponsiveGridPanel +

Removes child component at given location (column, row).

+
+

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.

+
+

removeAll

+
+open fun removeAll(): SimplePanel +

Removes all children from the current container.

+
+

render

+
+open fun render(): VNode +

Renders current component as a Snabbdom vnode.

+
+ + diff --git a/docs/api/pl.treksoft.kvision.panel/-responsive-grid-panel/remove-at.html b/docs/api/pl.treksoft.kvision.panel/-responsive-grid-panel/remove-at.html new file mode 100644 index 00000000..1fed96f7 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.panel/-responsive-grid-panel/remove-at.html @@ -0,0 +1,22 @@ + + + +ResponsiveGridPanel.removeAt - kvision + + + +kvision / pl.treksoft.kvision.panel / ResponsiveGridPanel / removeAt
+
+

removeAt

+ +open fun removeAt(col: Int, row: Int): ResponsiveGridPanel +

Removes child component at given location (column, row).

+

Parameters

+

+col - column number

+

+row - row number

+

Return
+this container

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

remove

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

Overrides SimplePanel.remove

+

Removes given component from the current container.

+

Parameters

+

+child - child component

+

Return
+current container

+ + -- cgit