From 415afec335659ca6bc206b34bdd3c2fe4635718f Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Thu, 1 Mar 2018 15:19:44 +0100 Subject: KVision site with Jekyll --- api/pl.treksoft.kvision.core/-container/index.html | 187 +++++++++++++++++++++ 1 file changed, 187 insertions(+) create mode 100644 api/pl.treksoft.kvision.core/-container/index.html (limited to 'api/pl.treksoft.kvision.core/-container/index.html') diff --git a/api/pl.treksoft.kvision.core/-container/index.html b/api/pl.treksoft.kvision.core/-container/index.html new file mode 100644 index 00000000..c61c23c2 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-container/index.html @@ -0,0 +1,187 @@ + + + +Container - kvision + + + +kvision / pl.treksoft.kvision.core / Container
+
+

Container

+interface Container : Component +

Base interface for all containers.

+

Inherited Properties

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

parent

+
+abstract var parent: Component? +

Parent of the current component.

+
+

visible

+
+abstract var visible: Boolean +

Visibility state of the current component.

+
+

Functions

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

add

+
+abstract fun add(child: Component): Container +

Adds given component to the current container.

+
+

addAll

+
+abstract fun addAll(children: List<Component>): Container +

Adds a list of components to the current container.

+
+

getChildren

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

Returns a list of children of the current container.

+
+

invoke

+
+open operator fun invoke(vararg children: Component): Container +

Operator function for adding children in a DSL style.

+
+

remove

+
+abstract fun remove(child: Component): Container +

Removes given component from the current container.

+
+

removeAll

+
+abstract fun removeAll(): Container +

Removes all children from the current container.

+
+

Inherited Functions

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

addCssClass

+
+abstract fun addCssClass(css: String): Component +

Adds given value to the set of CSS classes generated in html code of current component.

+
+

addSurroundingCssClass

+
+abstract fun addSurroundingCssClass(css: String): Component +

Adds given value to the set of CSS classes generated in html code of parent component.

+
+

getElement

+
+abstract fun getElement(): Node? +

Returns DOM element bound to the current component.

+
+

getElementJQuery

+
+abstract fun getElementJQuery(): JQuery? +

Returns JQuery element bound to the current component.

+
+

getElementJQueryD

+
+abstract fun getElementJQueryD(): dynamic +

Returns JQuery element bound to the current component as a dynamic type.

+
+

removeCssClass

+
+abstract fun removeCssClass(css: String): Component +

Removes given value from the set of CSS classes generated in html code of current component.

+
+

removeSurroundingCssClass

+
+abstract fun removeSurroundingCssClass(css: String): Component +

Removes given value from the set of CSS classes generated in html code of parent component.

+
+

Inheritors

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

DataContainer

+
+class DataContainer<M : DataComponent, C : Component> : Widget, Container, DataUpdatable +

A container class with support for observable data model.

+
+

SimplePanel

+
+open class SimplePanel : Widget, Container +

Basic container class, rendered as a DIV element with all children directly within.

+
+ + -- cgit