From 4191287261b46b95908469c2ec3fa9d886681861 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Mon, 12 Feb 2018 10:51:45 +0100 Subject: Updated API doc --- docs/api/index-outline.html | 136 ++++++++++++++++----- .../pl.treksoft.kvision.core/-container/index.html | 9 ++ .../-container/invoke.html | 20 +++ .../-widget-wrapper/index.html | 14 +++ .../-widget-wrapper/widget-wrapper.html | 16 +++ .../pl.treksoft.kvision.core/-widget/index.html | 14 +++ .../pl.treksoft.kvision.core/-widget/widget.html | 16 +++ .../-data-container/-init-.html | 6 +- .../-data-container/data-container.html | 16 +++ .../-data-container/index.html | 25 +++- .../-drop-down/drop-down.html | 16 +++ .../-drop-down/index.html | 14 +++ .../-check-box/check-box.html | 16 +++ .../-check-box/index.html | 14 +++ .../-check-input/check-input.html | 16 +++ .../-check-input/index.html | 14 +++ .../-radio-group/index.html | 14 +++ .../-radio-group/radio-group.html | 16 +++ .../-radio/index.html | 14 +++ .../-radio/radio.html | 16 +++ .../-select-input/index.html | 14 +++ .../-select-input/select-input.html | 16 +++ .../-select/index.html | 14 +++ .../-select/select.html | 16 +++ .../-spinner-input/index.html | 14 +++ .../-spinner-input/spinner-input.html | 16 +++ .../-spinner/index.html | 14 +++ .../-spinner/spinner.html | 16 +++ .../-password/index.html | 14 +++ .../-password/password.html | 16 +++ .../-rich-text-input/index.html | 14 +++ .../-rich-text-input/rich-text-input.html | 16 +++ .../-rich-text/index.html | 14 +++ .../-rich-text/rich-text.html | 16 +++ .../-text-area-input/index.html | 14 +++ .../-text-area-input/text-area-input.html | 16 +++ .../-text-area/index.html | 14 +++ .../-text-area/text-area.html | 16 +++ .../-text-input/index.html | 14 +++ .../-text-input/text-input.html | 16 +++ .../pl.treksoft.kvision.form.text/-text/index.html | 14 +++ .../pl.treksoft.kvision.form.text/-text/text.html | 16 +++ .../-date-time-input/date-time-input.html | 16 +++ .../-date-time-input/index.html | 14 +++ .../-date-time/date-time.html | 16 +++ .../-date-time/index.html | 14 +++ .../-form-panel/form-panel.html | 16 +++ .../-form-panel/index.html | 14 +++ .../pl.treksoft.kvision.html/-button/button.html | 16 +++ .../pl.treksoft.kvision.html/-button/index.html | 14 +++ .../api/pl.treksoft.kvision.html/-image/image.html | 16 +++ .../api/pl.treksoft.kvision.html/-image/index.html | 14 +++ .../api/pl.treksoft.kvision.html/-label/index.html | 14 +++ .../api/pl.treksoft.kvision.html/-label/label.html | 16 +++ docs/api/pl.treksoft.kvision.html/-link/index.html | 14 +++ docs/api/pl.treksoft.kvision.html/-link/link.html | 16 +++ .../pl.treksoft.kvision.html/-list-tag/-init-.html | 8 +- .../pl.treksoft.kvision.html/-list-tag/index.html | 16 ++- .../-list-tag/list-tag.html | 16 +++ docs/api/pl.treksoft.kvision.html/-tag/-init-.html | 8 +- docs/api/pl.treksoft.kvision.html/-tag/index.html | 16 ++- docs/api/pl.treksoft.kvision.html/-tag/tag.html | 16 +++ .../pl.treksoft.kvision.modal/-modal/-init-.html | 6 +- .../pl.treksoft.kvision.modal/-modal/index.html | 2 +- .../-dock-panel/-init-.html | 6 +- .../-dock-panel/dock-panel.html | 16 +++ .../-dock-panel/index.html | 16 ++- .../-flex-panel/-init-.html | 6 +- .../-flex-panel/index.html | 2 +- .../-grid-panel/-init-.html | 6 +- .../-grid-panel/grid-panel.html | 16 +++ .../-grid-panel/index.html | 16 ++- .../pl.treksoft.kvision.panel/-h-panel/-init-.html | 6 +- .../-h-panel/h-panel.html | 16 +++ .../pl.treksoft.kvision.panel/-h-panel/index.html | 16 ++- .../-responsive-grid-panel/-init-.html | 6 +- .../-responsive-grid-panel/index.html | 16 ++- .../responsive-grid-panel.html | 16 +++ .../pl.treksoft.kvision.panel/-root/-init-.html | 6 +- .../api/pl.treksoft.kvision.panel/-root/index.html | 2 +- .../-simple-panel/-init-.html | 6 +- .../-simple-panel/index.html | 25 +++- .../-simple-panel/simple-panel.html | 16 +++ .../-split-panel/-init-.html | 6 +- .../-split-panel/index.html | 16 ++- .../-split-panel/split-panel.html | 16 +++ .../-stack-panel/-init-.html | 6 +- .../-stack-panel/index.html | 16 ++- .../-stack-panel/stack-panel.html | 16 +++ .../-tab-panel/-init-.html | 6 +- .../-tab-panel/index.html | 16 ++- .../-tab-panel/tab-panel.html | 16 +++ .../pl.treksoft.kvision.panel/-v-panel/-init-.html | 6 +- .../pl.treksoft.kvision.panel/-v-panel/index.html | 16 ++- .../-v-panel/v-panel.html | 16 +++ 95 files changed, 1340 insertions(+), 77 deletions(-) create mode 100644 docs/api/pl.treksoft.kvision.core/-container/invoke.html create mode 100644 docs/api/pl.treksoft.kvision.core/-widget-wrapper/widget-wrapper.html create mode 100644 docs/api/pl.treksoft.kvision.core/-widget/widget.html create mode 100644 docs/api/pl.treksoft.kvision.data/-data-container/data-container.html create mode 100644 docs/api/pl.treksoft.kvision.dropdown/-drop-down/drop-down.html create mode 100644 docs/api/pl.treksoft.kvision.form.check/-check-box/check-box.html create mode 100644 docs/api/pl.treksoft.kvision.form.check/-check-input/check-input.html create mode 100644 docs/api/pl.treksoft.kvision.form.check/-radio-group/radio-group.html create mode 100644 docs/api/pl.treksoft.kvision.form.check/-radio/radio.html create mode 100644 docs/api/pl.treksoft.kvision.form.select/-select-input/select-input.html create mode 100644 docs/api/pl.treksoft.kvision.form.select/-select/select.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner-input/spinner-input.html create mode 100644 docs/api/pl.treksoft.kvision.form.spinner/-spinner/spinner.html create mode 100644 docs/api/pl.treksoft.kvision.form.text/-password/password.html create mode 100644 docs/api/pl.treksoft.kvision.form.text/-rich-text-input/rich-text-input.html create mode 100644 docs/api/pl.treksoft.kvision.form.text/-rich-text/rich-text.html create mode 100644 docs/api/pl.treksoft.kvision.form.text/-text-area-input/text-area-input.html create mode 100644 docs/api/pl.treksoft.kvision.form.text/-text-area/text-area.html create mode 100644 docs/api/pl.treksoft.kvision.form.text/-text-input/text-input.html create mode 100644 docs/api/pl.treksoft.kvision.form.text/-text/text.html create mode 100644 docs/api/pl.treksoft.kvision.form.time/-date-time-input/date-time-input.html create mode 100644 docs/api/pl.treksoft.kvision.form.time/-date-time/date-time.html create mode 100644 docs/api/pl.treksoft.kvision.form/-form-panel/form-panel.html create mode 100644 docs/api/pl.treksoft.kvision.html/-button/button.html create mode 100644 docs/api/pl.treksoft.kvision.html/-image/image.html create mode 100644 docs/api/pl.treksoft.kvision.html/-label/label.html create mode 100644 docs/api/pl.treksoft.kvision.html/-link/link.html create mode 100644 docs/api/pl.treksoft.kvision.html/-list-tag/list-tag.html create mode 100644 docs/api/pl.treksoft.kvision.html/-tag/tag.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-dock-panel/dock-panel.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-grid-panel/grid-panel.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-h-panel/h-panel.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-responsive-grid-panel/responsive-grid-panel.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-simple-panel/simple-panel.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-split-panel/split-panel.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-stack-panel/stack-panel.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-tab-panel/tab-panel.html create mode 100644 docs/api/pl.treksoft.kvision.panel/-v-panel/v-panel.html (limited to 'docs/api') diff --git a/docs/api/index-outline.html b/docs/api/index-outline.html index 6a226be2..5e920e65 100644 --- a/docs/api/index-outline.html +++ b/docs/api/index-outline.html @@ -378,6 +378,7 @@ Button(text: String, icon: String? = null, style: BUTTONSTYLE = BUTTONSTYLE.DEFAULT, disabled: Boolean = false, classes: Set<String> = setOf())
var block: Boolean
+fun Container.button(text: String, icon: String? = null, style: BUTTONSTYLE = BUTTONSTYLE.DEFAULT, disabled: Boolean = false, classes: Set<String> = setOf(), init: Button.() -> Unit = null): Unit
var disabled: Boolean
protected open fun getSnAttrs(): List<StringPair>
protected open fun getSnClass(): List<StringBoolPair>
@@ -586,6 +587,7 @@ CheckBox(value: Boolean = false, label: String? = null, rich: Boolean = false)
+fun Container.checkBox(value: Boolean = false, label: String? = null, rich: Boolean = false, init: CheckBox.() -> Unit = null): Unit
var circled: Boolean
open var disabled: Boolean
val flabel: FieldLabel
@@ -619,6 +621,7 @@ CheckInput(type: CHECKINPUTTYPE = CHECKINPUTTYPE.CHECKBOX, value: Boolean = false, classes: Set<String> = setOf())
protected open fun afterInsert(node: VNode): Unit
protected open fun afterPostpatch(node: VNode): Unit
+fun Container.checkInput(type: CHECKINPUTTYPE = CHECKINPUTTYPE.CHECKBOX, value: Boolean = false, classes: Set<String> = setOf(), init: CheckInput.() -> Unit = null): Unit
var disabled: Boolean
var extraValue: String?
protected open fun getSnAttrs(): List<StringPair>
@@ -714,6 +717,7 @@ abstract fun add(child: Component): Container
abstract fun addAll(children: List<Component>): Container
abstract fun getChildren(): List<Component>
+open operator fun invoke(vararg children: Component): Container
abstract fun remove(child: Component): Container
abstract fun removeAll(): Container
@@ -777,10 +781,11 @@ -DataContainer(model: ObservableList<M>, binding: (Int) -> C, child: Container = VPanel())
+DataContainer(model: ObservableList<M>, binding: (Int) -> C, child: Container = VPanel(), init: DataContainer<M, C>.() -> Unit = null)
fun add(child: Component): Container
fun addAll(children: List<Component>): Container
fun clearOnUpdate(): DataContainer<M, C>
+fun <M : DataComponent, C : Component> Container.dataContainer(model: ObservableList<M>, binding: (Int) -> C, child: Container = VPanel(), init: DataContainer<M, C>.() -> Unit = null): Unit
fun getChildren(): List<Component>
fun onUpdate(handler: () -> Unit): DataContainer<M, C>
fun remove(child: Component): Container
@@ -831,6 +836,7 @@ DateTime(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", label: String? = null, rich: Boolean = false)
var autofocus: Boolean?
var clearBtn: Boolean
+fun Container.dateTime(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", label: String? = null, rich: Boolean = false, init: DateTime.() -> Unit = null): Unit
var daysOfWeekDisabled: Array<Int>
open var disabled: Boolean
val flabel: FieldLabel
@@ -873,6 +879,7 @@ var autofocus: Boolean?
protected open fun changeValue(): Unit
var clearBtn: Boolean
+fun Container.dateTimeInput(value: Date? = null, format: String = "YYYY-MM-DD HH:mm", classes: Set<String> = setOf(), init: DateTimeInput.() -> Unit = null): Unit
var daysOfWeekDisabled: Array<Int>
var disabled: Boolean
var format: String
@@ -906,10 +913,11 @@ -DockPanel(classes: Set<