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 ++++++++++++++++++++++++++++++++++---------- 1 file changed, 106 insertions(+), 30 deletions(-) (limited to 'docs/api/index-outline.html') 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<String> = setOf())
+DockPanel(classes: Set<String> = setOf(), init: DockPanel.() -> Unit = null)
open fun add(child: Component, position: SIDE): DockPanel
open fun add(child: Component): DockPanel
open fun addAll(children: List<Component>): DockPanel
+fun Container.dockPanel(classes: Set<String> = setOf(), init: DockPanel.() -> Unit = null): Unit
open fun remove(child: Component): DockPanel
open fun removeAll(): DockPanel
open fun removeAt(position: SIDE): DockPanel
@@ -931,6 +939,7 @@ protected open fun afterInsert(node: VNode): Unit
var