From 2febd99a43e367e7100e9fc21bd6eef1cd1ea47e Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 13 Jul 2019 02:13:41 +0200 Subject: API documentation for KVision 0.0.38 --- .../-observable-list-wrapper/-init-.html | 15 ++ .../-observable-list-wrapper/add-all.html | 16 ++ .../-observable-list-wrapper/add.html | 16 ++ .../-observable-list-wrapper/clear.html | 14 ++ .../-observable-list-wrapper/contains-all.html | 14 ++ .../-observable-list-wrapper/contains.html | 14 ++ .../-observable-list-wrapper/get.html | 14 ++ .../-observable-list-wrapper/index-of.html | 14 ++ .../-observable-list-wrapper/index.html | 204 +++++++++++++++++++++ .../-observable-list-wrapper/is-empty.html | 14 ++ .../-observable-list-wrapper/iterator.html | 14 ++ .../-observable-list-wrapper/last-index-of.html | 14 ++ .../-observable-list-wrapper/list-iterator.html | 16 ++ .../-observable-list-wrapper/mutable-list.html | 14 ++ .../-observable-list-wrapper/on-update.html | 15 ++ .../-observable-list-wrapper/remove-all.html | 14 ++ .../-observable-list-wrapper/remove-at.html | 14 ++ .../-observable-list-wrapper/remove.html | 14 ++ .../-observable-list-wrapper/retain-all.html | 14 ++ .../-observable-list-wrapper/set.html | 14 ++ .../-observable-list-wrapper/size.html | 14 ++ .../-observable-list-wrapper/sub-list.html | 14 ++ .../-observable-list/index.html | 63 +++++++ .../-observable-list/on-update.html | 14 ++ api/pl.treksoft.kvision.utils/index.html | 34 ++++ api/pl.treksoft.kvision.utils/kotlin.-int/ch.html | 15 -- api/pl.treksoft.kvision.utils/kotlin.-int/cm.html | 15 -- api/pl.treksoft.kvision.utils/kotlin.-int/em.html | 15 -- api/pl.treksoft.kvision.utils/kotlin.-int/in.html | 15 -- .../kotlin.-int/index.html | 108 ----------- api/pl.treksoft.kvision.utils/kotlin.-int/mm.html | 15 -- api/pl.treksoft.kvision.utils/kotlin.-int/pc.html | 15 -- .../kotlin.-int/perc.html | 15 -- api/pl.treksoft.kvision.utils/kotlin.-int/rem.html | 15 -- api/pl.treksoft.kvision.utils/kotlin.-int/vh.html | 15 -- .../kotlin.-int/vmax.html | 15 -- .../kotlin.-int/vmin.html | 15 -- api/pl.treksoft.kvision.utils/kotlin.-int/vw.html | 15 -- .../kotlin.-number/ch.html | 15 ++ .../kotlin.-number/cm.html | 15 ++ .../kotlin.-number/em.html | 15 ++ .../kotlin.-number/in.html | 15 ++ .../kotlin.-number/index.html | 124 +++++++++++++ .../kotlin.-number/mm.html | 15 ++ .../kotlin.-number/pc.html | 15 ++ .../kotlin.-number/perc.html | 15 ++ .../kotlin.-number/rem.html | 15 ++ .../kotlin.-number/vh.html | 15 ++ .../kotlin.-number/vmax.html | 15 ++ .../kotlin.-number/vmin.html | 15 ++ .../kotlin.-number/vw.html | 15 ++ .../kotlin.-pair/as-string.html | 2 +- .../observable-list-of.html | 15 ++ 53 files changed, 937 insertions(+), 289 deletions(-) create mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/-init-.html create mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/add-all.html create mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/add.html create mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/clear.html create mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/contains-all.html create mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/contains.html create mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/get.html create mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/index-of.html create mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/index.html create mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/is-empty.html create mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/iterator.html create mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/last-index-of.html create mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/list-iterator.html create mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/mutable-list.html create mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/on-update.html create mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/remove-all.html create mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/remove-at.html create mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/remove.html create mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/retain-all.html create mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/set.html create mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/size.html create mode 100644 api/pl.treksoft.kvision.utils/-observable-list-wrapper/sub-list.html create mode 100644 api/pl.treksoft.kvision.utils/-observable-list/index.html create mode 100644 api/pl.treksoft.kvision.utils/-observable-list/on-update.html delete mode 100644 api/pl.treksoft.kvision.utils/kotlin.-int/ch.html delete mode 100644 api/pl.treksoft.kvision.utils/kotlin.-int/cm.html delete mode 100644 api/pl.treksoft.kvision.utils/kotlin.-int/em.html delete mode 100644 api/pl.treksoft.kvision.utils/kotlin.-int/in.html delete mode 100644 api/pl.treksoft.kvision.utils/kotlin.-int/mm.html delete mode 100644 api/pl.treksoft.kvision.utils/kotlin.-int/pc.html delete mode 100644 api/pl.treksoft.kvision.utils/kotlin.-int/perc.html delete mode 100644 api/pl.treksoft.kvision.utils/kotlin.-int/rem.html delete mode 100644 api/pl.treksoft.kvision.utils/kotlin.-int/vh.html delete mode 100644 api/pl.treksoft.kvision.utils/kotlin.-int/vmax.html delete mode 100644 api/pl.treksoft.kvision.utils/kotlin.-int/vmin.html delete mode 100644 api/pl.treksoft.kvision.utils/kotlin.-int/vw.html create mode 100644 api/pl.treksoft.kvision.utils/kotlin.-number/ch.html create mode 100644 api/pl.treksoft.kvision.utils/kotlin.-number/cm.html create mode 100644 api/pl.treksoft.kvision.utils/kotlin.-number/em.html create mode 100644 api/pl.treksoft.kvision.utils/kotlin.-number/in.html create mode 100644 api/pl.treksoft.kvision.utils/kotlin.-number/index.html create mode 100644 api/pl.treksoft.kvision.utils/kotlin.-number/mm.html create mode 100644 api/pl.treksoft.kvision.utils/kotlin.-number/pc.html create mode 100644 api/pl.treksoft.kvision.utils/kotlin.-number/perc.html create mode 100644 api/pl.treksoft.kvision.utils/kotlin.-number/rem.html create mode 100644 api/pl.treksoft.kvision.utils/kotlin.-number/vh.html create mode 100644 api/pl.treksoft.kvision.utils/kotlin.-number/vmax.html create mode 100644 api/pl.treksoft.kvision.utils/kotlin.-number/vmin.html create mode 100644 api/pl.treksoft.kvision.utils/kotlin.-number/vw.html create mode 100644 api/pl.treksoft.kvision.utils/observable-list-of.html (limited to 'api/pl.treksoft.kvision.utils') diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/-init-.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/-init-.html new file mode 100644 index 00000000..10267492 --- /dev/null +++ b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/-init-.html @@ -0,0 +1,15 @@ + + + +ObservableListWrapper.<init> - kvision + + + +kvision / pl.treksoft.kvision.utils / ObservableListWrapper / <init>
+
+

<init>

+ +ObservableListWrapper(mutableList: MutableList<T> = mutableListOf()) +

Simple observable list implementation.

+ + diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/add-all.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/add-all.html new file mode 100644 index 00000000..2561bd1b --- /dev/null +++ b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/add-all.html @@ -0,0 +1,16 @@ + + + +ObservableListWrapper.addAll - kvision + + + +kvision / pl.treksoft.kvision.utils / ObservableListWrapper / addAll
+
+

addAll

+ +fun addAll(elements: Collection<T>): Boolean
+ +fun addAll(index: Int, elements: Collection<T>): Boolean + + diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/add.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/add.html new file mode 100644 index 00000000..f27df790 --- /dev/null +++ b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/add.html @@ -0,0 +1,16 @@ + + + +ObservableListWrapper.add - kvision + + + +kvision / pl.treksoft.kvision.utils / ObservableListWrapper / add
+
+

add

+ +fun add(element: T): Boolean
+ +fun add(index: Int, element: T): Unit + + diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/clear.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/clear.html new file mode 100644 index 00000000..133083cc --- /dev/null +++ b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/clear.html @@ -0,0 +1,14 @@ + + + +ObservableListWrapper.clear - kvision + + + +kvision / pl.treksoft.kvision.utils / ObservableListWrapper / clear
+
+

clear

+ +fun clear(): Unit + + diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/contains-all.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/contains-all.html new file mode 100644 index 00000000..0efa9d8f --- /dev/null +++ b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/contains-all.html @@ -0,0 +1,14 @@ + + + +ObservableListWrapper.containsAll - kvision + + + +kvision / pl.treksoft.kvision.utils / ObservableListWrapper / containsAll
+
+

containsAll

+ +fun containsAll(elements: Collection<T>): Boolean + + diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/contains.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/contains.html new file mode 100644 index 00000000..9ae02722 --- /dev/null +++ b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/contains.html @@ -0,0 +1,14 @@ + + + +ObservableListWrapper.contains - kvision + + + +kvision / pl.treksoft.kvision.utils / ObservableListWrapper / contains
+
+

contains

+ +fun contains(element: T): Boolean + + diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/get.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/get.html new file mode 100644 index 00000000..6366a1a8 --- /dev/null +++ b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/get.html @@ -0,0 +1,14 @@ + + + +ObservableListWrapper.get - kvision + + + +kvision / pl.treksoft.kvision.utils / ObservableListWrapper / get
+
+

get

+ +fun get(index: Int): T + + diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/index-of.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/index-of.html new file mode 100644 index 00000000..6124cd75 --- /dev/null +++ b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/index-of.html @@ -0,0 +1,14 @@ + + + +ObservableListWrapper.indexOf - kvision + + + +kvision / pl.treksoft.kvision.utils / ObservableListWrapper / indexOf
+
+

indexOf

+ +fun indexOf(element: T): Int + + diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/index.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/index.html new file mode 100644 index 00000000..76a51d0d --- /dev/null +++ b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/index.html @@ -0,0 +1,204 @@ + + + +ObservableListWrapper - kvision + + + +kvision / pl.treksoft.kvision.utils / ObservableListWrapper
+
+

ObservableListWrapper

+class ObservableListWrapper<T> : MutableList<T>, ObservableList<T> +

Simple observable list implementation.

+

Constructors

+ + + + + + + +
+

<init>

+
+ObservableListWrapper(mutableList: MutableList<T> = mutableListOf()) +

Simple observable list implementation.

+
+

Properties

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

mutableList

+
+val mutableList: MutableList<T>
+

onUpdate

+
+val onUpdate: MutableCollection<(MutableList<T>) -> Unit>
+

size

+
+val size: Int
+

Functions

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

add

+
+fun add(element: T): Boolean
+fun add(index: Int, element: T): Unit
+

addAll

+
+fun addAll(elements: Collection<T>): Boolean
+fun addAll(index: Int, elements: Collection<T>): Boolean
+

clear

+
+fun clear(): Unit
+

contains

+
+fun contains(element: T): Boolean
+

containsAll

+
+fun containsAll(elements: Collection<T>): Boolean
+

get

+
+fun get(index: Int): T
+

indexOf

+
+fun indexOf(element: T): Int
+

isEmpty

+
+fun isEmpty(): Boolean
+

iterator

+
+fun iterator(): MutableIterator<T>
+

lastIndexOf

+
+fun lastIndexOf(element: T): Int
+

listIterator

+
+fun listIterator(): MutableListIterator<T>
+fun listIterator(index: Int): MutableListIterator<T>
+

remove

+
+fun remove(element: T): Boolean
+

removeAll

+
+fun removeAll(elements: Collection<T>): Boolean
+

removeAt

+
+fun removeAt(index: Int): T
+

retainAll

+
+fun retainAll(elements: Collection<T>): Boolean
+

set

+
+fun set(index: Int, element: T): T
+

subList

+
+fun subList(fromIndex: Int, toIndex: Int): MutableList<T>
+

Extension Functions

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

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+

syncWithList

+
+fun <T> MutableList<T>.syncWithList(list: List<T>): Unit +

Utility extension function to synchronise elements of the MutableList.

+
+ + diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/is-empty.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/is-empty.html new file mode 100644 index 00000000..7476ad91 --- /dev/null +++ b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/is-empty.html @@ -0,0 +1,14 @@ + + + +ObservableListWrapper.isEmpty - kvision + + + +kvision / pl.treksoft.kvision.utils / ObservableListWrapper / isEmpty
+
+

isEmpty

+ +fun isEmpty(): Boolean + + diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/iterator.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/iterator.html new file mode 100644 index 00000000..6451260c --- /dev/null +++ b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/iterator.html @@ -0,0 +1,14 @@ + + + +ObservableListWrapper.iterator - kvision + + + +kvision / pl.treksoft.kvision.utils / ObservableListWrapper / iterator
+
+

iterator

+ +fun iterator(): MutableIterator<T> + + diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/last-index-of.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/last-index-of.html new file mode 100644 index 00000000..65196cd5 --- /dev/null +++ b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/last-index-of.html @@ -0,0 +1,14 @@ + + + +ObservableListWrapper.lastIndexOf - kvision + + + +kvision / pl.treksoft.kvision.utils / ObservableListWrapper / lastIndexOf
+
+

lastIndexOf

+ +fun lastIndexOf(element: T): Int + + diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/list-iterator.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/list-iterator.html new file mode 100644 index 00000000..3266abd0 --- /dev/null +++ b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/list-iterator.html @@ -0,0 +1,16 @@ + + + +ObservableListWrapper.listIterator - kvision + + + +kvision / pl.treksoft.kvision.utils / ObservableListWrapper / listIterator
+
+

listIterator

+ +fun listIterator(): MutableListIterator<T>
+ +fun listIterator(index: Int): MutableListIterator<T> + + diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/mutable-list.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/mutable-list.html new file mode 100644 index 00000000..ed123582 --- /dev/null +++ b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/mutable-list.html @@ -0,0 +1,14 @@ + + + +ObservableListWrapper.mutableList - kvision + + + +kvision / pl.treksoft.kvision.utils / ObservableListWrapper / mutableList
+
+

mutableList

+ +val mutableList: MutableList<T> + + diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/on-update.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/on-update.html new file mode 100644 index 00000000..67a6abde --- /dev/null +++ b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/on-update.html @@ -0,0 +1,15 @@ + + + +ObservableListWrapper.onUpdate - kvision + + + +kvision / pl.treksoft.kvision.utils / ObservableListWrapper / onUpdate
+
+

onUpdate

+ +val onUpdate: MutableCollection<(MutableList<T>) -> Unit> +

Overrides ObservableList.onUpdate

+ + diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/remove-all.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/remove-all.html new file mode 100644 index 00000000..d1fc8354 --- /dev/null +++ b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/remove-all.html @@ -0,0 +1,14 @@ + + + +ObservableListWrapper.removeAll - kvision + + + +kvision / pl.treksoft.kvision.utils / ObservableListWrapper / removeAll
+
+

removeAll

+ +fun removeAll(elements: Collection<T>): Boolean + + diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/remove-at.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/remove-at.html new file mode 100644 index 00000000..cc02b15d --- /dev/null +++ b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/remove-at.html @@ -0,0 +1,14 @@ + + + +ObservableListWrapper.removeAt - kvision + + + +kvision / pl.treksoft.kvision.utils / ObservableListWrapper / removeAt
+
+

removeAt

+ +fun removeAt(index: Int): T + + diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/remove.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/remove.html new file mode 100644 index 00000000..4e89fb6f --- /dev/null +++ b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/remove.html @@ -0,0 +1,14 @@ + + + +ObservableListWrapper.remove - kvision + + + +kvision / pl.treksoft.kvision.utils / ObservableListWrapper / remove
+
+

remove

+ +fun remove(element: T): Boolean + + diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/retain-all.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/retain-all.html new file mode 100644 index 00000000..7675f11e --- /dev/null +++ b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/retain-all.html @@ -0,0 +1,14 @@ + + + +ObservableListWrapper.retainAll - kvision + + + +kvision / pl.treksoft.kvision.utils / ObservableListWrapper / retainAll
+
+

retainAll

+ +fun retainAll(elements: Collection<T>): Boolean + + diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/set.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/set.html new file mode 100644 index 00000000..f0c5f4b5 --- /dev/null +++ b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/set.html @@ -0,0 +1,14 @@ + + + +ObservableListWrapper.set - kvision + + + +kvision / pl.treksoft.kvision.utils / ObservableListWrapper / set
+
+

set

+ +fun set(index: Int, element: T): T + + diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/size.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/size.html new file mode 100644 index 00000000..92e321d5 --- /dev/null +++ b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/size.html @@ -0,0 +1,14 @@ + + + +ObservableListWrapper.size - kvision + + + +kvision / pl.treksoft.kvision.utils / ObservableListWrapper / size
+
+

size

+ +val size: Int + + diff --git a/api/pl.treksoft.kvision.utils/-observable-list-wrapper/sub-list.html b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/sub-list.html new file mode 100644 index 00000000..c4635f9b --- /dev/null +++ b/api/pl.treksoft.kvision.utils/-observable-list-wrapper/sub-list.html @@ -0,0 +1,14 @@ + + + +ObservableListWrapper.subList - kvision + + + +kvision / pl.treksoft.kvision.utils / ObservableListWrapper / subList
+
+

subList

+ +fun subList(fromIndex: Int, toIndex: Int): MutableList<T> + + diff --git a/api/pl.treksoft.kvision.utils/-observable-list/index.html b/api/pl.treksoft.kvision.utils/-observable-list/index.html new file mode 100644 index 00000000..07b47de8 --- /dev/null +++ b/api/pl.treksoft.kvision.utils/-observable-list/index.html @@ -0,0 +1,63 @@ + + + +ObservableList - kvision + + + +kvision / pl.treksoft.kvision.utils / ObservableList
+
+

ObservableList

+interface ObservableList<T> : MutableList<T> +

Observable list interface.

+

Properties

+ + + + + + + +
+

onUpdate

+
+abstract val onUpdate: MutableCollection<(MutableList<T>) -> Unit>
+

Extension Functions

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

createInstance

+
+fun <T> Any?.createInstance(vararg args: dynamic): T +

Helper function for creating JavaScript objects from dynamic constructors.

+
+

syncWithList

+
+fun <T> MutableList<T>.syncWithList(list: List<T>): Unit +

Utility extension function to synchronise elements of the MutableList.

+
+

Inheritors

+ + + + + + + +
+

ObservableListWrapper

+
+class ObservableListWrapper<T> : MutableList<T>, ObservableList<T> +

Simple observable list implementation.

+
+ + diff --git a/api/pl.treksoft.kvision.utils/-observable-list/on-update.html b/api/pl.treksoft.kvision.utils/-observable-list/on-update.html new file mode 100644 index 00000000..3ffa447f --- /dev/null +++ b/api/pl.treksoft.kvision.utils/-observable-list/on-update.html @@ -0,0 +1,14 @@ + + + +ObservableList.onUpdate - kvision + + + +kvision / pl.treksoft.kvision.utils / ObservableList / onUpdate
+
+

onUpdate

+ +abstract val onUpdate: MutableCollection<(MutableList<T>) -> Unit> + + diff --git a/api/pl.treksoft.kvision.utils/index.html b/api/pl.treksoft.kvision.utils/index.html index ff0cd878..0a14333f 100644 --- a/api/pl.treksoft.kvision.utils/index.html +++ b/api/pl.treksoft.kvision.utils/index.html @@ -66,6 +66,24 @@ performance is O(1) and for cache eviction, it is O(1).

JavaScript Object type

+ + +

ObservableList

+ + +interface ObservableList<T> : MutableList<T> +

Observable list interface.

+ + + + +

ObservableListWrapper

+ + +class ObservableListWrapper<T> : MutableList<T>, ObservableList<T> +

Simple observable list implementation.

+ +

Extensions for External Classes

@@ -94,6 +112,13 @@ performance is O(1) and for cache eviction, it is O(1).

+

kotlin.Number

+ + + + + +

kotlin.Pair

@@ -182,6 +207,15 @@ performance is O(1) and for cache eviction, it is O(1).

+

observableListOf

+ + +fun <T> observableListOf(vararg items: T): ObservableListWrapper<T> +

Creates an instance of ObservableList

+ + + +

snAttrs

diff --git a/api/pl.treksoft.kvision.utils/kotlin.-int/ch.html b/api/pl.treksoft.kvision.utils/kotlin.-int/ch.html deleted file mode 100644 index eea37f3e..00000000 --- a/api/pl.treksoft.kvision.utils/kotlin.-int/ch.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -ch - kvision - - - -kvision / pl.treksoft.kvision.utils / kotlin.Int / ch
-
-

ch

- -val Int.ch: CssSize -

Extension property to convert Int to CSS ch units.

- - diff --git a/api/pl.treksoft.kvision.utils/kotlin.-int/cm.html b/api/pl.treksoft.kvision.utils/kotlin.-int/cm.html deleted file mode 100644 index dbc1f12a..00000000 --- a/api/pl.treksoft.kvision.utils/kotlin.-int/cm.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -cm - kvision - - - -kvision / pl.treksoft.kvision.utils / kotlin.Int / cm
-
-

cm

- -val Int.cm: CssSize -

Extension property to convert Int to CSS cm units.

- - diff --git a/api/pl.treksoft.kvision.utils/kotlin.-int/em.html b/api/pl.treksoft.kvision.utils/kotlin.-int/em.html deleted file mode 100644 index 686672a7..00000000 --- a/api/pl.treksoft.kvision.utils/kotlin.-int/em.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -em - kvision - - - -kvision / pl.treksoft.kvision.utils / kotlin.Int / em
-
-

em

- -val Int.em: CssSize -

Extension property to convert Int to CSS em units.

- - diff --git a/api/pl.treksoft.kvision.utils/kotlin.-int/in.html b/api/pl.treksoft.kvision.utils/kotlin.-int/in.html deleted file mode 100644 index cb492cfc..00000000 --- a/api/pl.treksoft.kvision.utils/kotlin.-int/in.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -in - kvision - - - -kvision / pl.treksoft.kvision.utils / kotlin.Int / in
-
-

in

- -val Int.in: CssSize -

Extension property to convert Int to CSS in units.

- - diff --git a/api/pl.treksoft.kvision.utils/kotlin.-int/index.html b/api/pl.treksoft.kvision.utils/kotlin.-int/index.html index 771352cc..264af1d0 100644 --- a/api/pl.treksoft.kvision.utils/kotlin.-int/index.html +++ b/api/pl.treksoft.kvision.utils/kotlin.-int/index.html @@ -12,69 +12,6 @@ -

ch

- - -val Int.ch: CssSize -

Extension property to convert Int to CSS ch units.

- - - - -

cm

- - -val Int.cm: CssSize -

Extension property to convert Int to CSS cm units.

- - - - -

em

- - -val Int.em: CssSize -

Extension property to convert Int to CSS em units.

- - - - -

in

- - -val Int.in: CssSize -

Extension property to convert Int to CSS in units.

- - - - -

mm

- - -val Int.mm: CssSize -

Extension property to convert Int to CSS mm units.

- - - - -

pc

- - -val Int.pc: CssSize -

Extension property to convert Int to CSS pc units.

- - - - -

perc

- - -val Int.perc: CssSize -

Extension property to convert Int to CSS percent units.

- - - -

pt

@@ -93,15 +30,6 @@ -

rem

- - -val Int.rem: CssSize -

Extension property to convert Int to CSS rem units.

- - - -

toHexString

@@ -109,42 +37,6 @@

Extension function to convert Int to hex format.

- - -

vh

- - -val Int.vh: CssSize -

Extension property to convert Int to CSS vh units.

- - - - -

vmax

- - -val Int.vmax: CssSize -

Extension property to convert Int to CSS vmax units.

- - - - -

vmin

- - -val Int.vmin: CssSize -

Extension property to convert Int to CSS vmin units.

- - - - -

vw

- - -val Int.vw: CssSize -

Extension property to convert Int to CSS vw units.

- - diff --git a/api/pl.treksoft.kvision.utils/kotlin.-int/mm.html b/api/pl.treksoft.kvision.utils/kotlin.-int/mm.html deleted file mode 100644 index 10b6c608..00000000 --- a/api/pl.treksoft.kvision.utils/kotlin.-int/mm.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -mm - kvision - - - -kvision / pl.treksoft.kvision.utils / kotlin.Int / mm
-
-

mm

- -val Int.mm: CssSize -

Extension property to convert Int to CSS mm units.

- - diff --git a/api/pl.treksoft.kvision.utils/kotlin.-int/pc.html b/api/pl.treksoft.kvision.utils/kotlin.-int/pc.html deleted file mode 100644 index 65b354b8..00000000 --- a/api/pl.treksoft.kvision.utils/kotlin.-int/pc.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -pc - kvision - - - -kvision / pl.treksoft.kvision.utils / kotlin.Int / pc
-
-

pc

- -val Int.pc: CssSize -

Extension property to convert Int to CSS pc units.

- - diff --git a/api/pl.treksoft.kvision.utils/kotlin.-int/perc.html b/api/pl.treksoft.kvision.utils/kotlin.-int/perc.html deleted file mode 100644 index 457dea82..00000000 --- a/api/pl.treksoft.kvision.utils/kotlin.-int/perc.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -perc - kvision - - - -kvision / pl.treksoft.kvision.utils / kotlin.Int / perc
-
-

perc

- -val Int.perc: CssSize -

Extension property to convert Int to CSS percent units.

- - diff --git a/api/pl.treksoft.kvision.utils/kotlin.-int/rem.html b/api/pl.treksoft.kvision.utils/kotlin.-int/rem.html deleted file mode 100644 index d8f0211a..00000000 --- a/api/pl.treksoft.kvision.utils/kotlin.-int/rem.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -rem - kvision - - - -kvision / pl.treksoft.kvision.utils / kotlin.Int / rem
-
-

rem

- -val Int.rem: CssSize -

Extension property to convert Int to CSS rem units.

- - diff --git a/api/pl.treksoft.kvision.utils/kotlin.-int/vh.html b/api/pl.treksoft.kvision.utils/kotlin.-int/vh.html deleted file mode 100644 index e2e1c532..00000000 --- a/api/pl.treksoft.kvision.utils/kotlin.-int/vh.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -vh - kvision - - - -kvision / pl.treksoft.kvision.utils / kotlin.Int / vh
-
-

vh

- -val Int.vh: CssSize -

Extension property to convert Int to CSS vh units.

- - diff --git a/api/pl.treksoft.kvision.utils/kotlin.-int/vmax.html b/api/pl.treksoft.kvision.utils/kotlin.-int/vmax.html deleted file mode 100644 index 6638fba8..00000000 --- a/api/pl.treksoft.kvision.utils/kotlin.-int/vmax.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -vmax - kvision - - - -kvision / pl.treksoft.kvision.utils / kotlin.Int / vmax
-
-

vmax

- -val Int.vmax: CssSize -

Extension property to convert Int to CSS vmax units.

- - diff --git a/api/pl.treksoft.kvision.utils/kotlin.-int/vmin.html b/api/pl.treksoft.kvision.utils/kotlin.-int/vmin.html deleted file mode 100644 index 97b40777..00000000 --- a/api/pl.treksoft.kvision.utils/kotlin.-int/vmin.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -vmin - kvision - - - -kvision / pl.treksoft.kvision.utils / kotlin.Int / vmin
-
-

vmin

- -val Int.vmin: CssSize -

Extension property to convert Int to CSS vmin units.

- - diff --git a/api/pl.treksoft.kvision.utils/kotlin.-int/vw.html b/api/pl.treksoft.kvision.utils/kotlin.-int/vw.html deleted file mode 100644 index ea66a4a8..00000000 --- a/api/pl.treksoft.kvision.utils/kotlin.-int/vw.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -vw - kvision - - - -kvision / pl.treksoft.kvision.utils / kotlin.Int / vw
-
-

vw

- -val Int.vw: CssSize -

Extension property to convert Int to CSS vw units.

- - diff --git a/api/pl.treksoft.kvision.utils/kotlin.-number/ch.html b/api/pl.treksoft.kvision.utils/kotlin.-number/ch.html new file mode 100644 index 00000000..e0a954f0 --- /dev/null +++ b/api/pl.treksoft.kvision.utils/kotlin.-number/ch.html @@ -0,0 +1,15 @@ + + + +ch - kvision + + + +kvision / pl.treksoft.kvision.utils / kotlin.Number / ch
+
+

ch

+ +val Number.ch: CssSize +

Extension property to convert Int to CSS ch units.

+ + diff --git a/api/pl.treksoft.kvision.utils/kotlin.-number/cm.html b/api/pl.treksoft.kvision.utils/kotlin.-number/cm.html new file mode 100644 index 00000000..440899aa --- /dev/null +++ b/api/pl.treksoft.kvision.utils/kotlin.-number/cm.html @@ -0,0 +1,15 @@ + + + +cm - kvision + + + +kvision / pl.treksoft.kvision.utils / kotlin.Number / cm
+
+

cm

+ +val Number.cm: CssSize +

Extension property to convert Int to CSS cm units.

+ + diff --git a/api/pl.treksoft.kvision.utils/kotlin.-number/em.html b/api/pl.treksoft.kvision.utils/kotlin.-number/em.html new file mode 100644 index 00000000..97ecf4a5 --- /dev/null +++ b/api/pl.treksoft.kvision.utils/kotlin.-number/em.html @@ -0,0 +1,15 @@ + + + +em - kvision + + + +kvision / pl.treksoft.kvision.utils / kotlin.Number / em
+
+

em

+ +val Number.em: CssSize +

Extension property to convert Int to CSS em units.

+ + diff --git a/api/pl.treksoft.kvision.utils/kotlin.-number/in.html b/api/pl.treksoft.kvision.utils/kotlin.-number/in.html new file mode 100644 index 00000000..1aa3e16c --- /dev/null +++ b/api/pl.treksoft.kvision.utils/kotlin.-number/in.html @@ -0,0 +1,15 @@ + + + +in - kvision + + + +kvision / pl.treksoft.kvision.utils / kotlin.Number / in
+
+

in

+ +val Number.in: CssSize +

Extension property to convert Int to CSS in units.

+ + diff --git a/api/pl.treksoft.kvision.utils/kotlin.-number/index.html b/api/pl.treksoft.kvision.utils/kotlin.-number/index.html new file mode 100644 index 00000000..9ba03355 --- /dev/null +++ b/api/pl.treksoft.kvision.utils/kotlin.-number/index.html @@ -0,0 +1,124 @@ + + + +pl.treksoft.kvision.utils.kotlin.Number - kvision + + + +kvision / pl.treksoft.kvision.utils / kotlin.Number
+
+

Extensions for kotlin.Number

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

ch

+
+val Number.ch: CssSize +

Extension property to convert Int to CSS ch units.

+
+

cm

+
+val Number.cm: CssSize +

Extension property to convert Int to CSS cm units.

+
+

em

+
+val Number.em: CssSize +

Extension property to convert Int to CSS em units.

+
+

in

+
+val Number.in: CssSize +

Extension property to convert Int to CSS in units.

+
+

mm

+
+val Number.mm: CssSize +

Extension property to convert Int to CSS mm units.

+
+

pc

+
+val Number.pc: CssSize +

Extension property to convert Int to CSS pc units.

+
+

perc

+
+val Number.perc: CssSize +

Extension property to convert Int to CSS percent units.

+
+

rem

+
+val Number.rem: CssSize +

Extension property to convert Int to CSS rem units.

+
+

vh

+
+val Number.vh: CssSize +

Extension property to convert Int to CSS vh units.

+
+

vmax

+
+val Number.vmax: CssSize +

Extension property to convert Int to CSS vmax units.

+
+

vmin

+
+val Number.vmin: CssSize +

Extension property to convert Int to CSS vmin units.

+
+

vw

+
+val Number.vw: CssSize +

Extension property to convert Int to CSS vw units.

+
+ + diff --git a/api/pl.treksoft.kvision.utils/kotlin.-number/mm.html b/api/pl.treksoft.kvision.utils/kotlin.-number/mm.html new file mode 100644 index 00000000..8ad7f8f1 --- /dev/null +++ b/api/pl.treksoft.kvision.utils/kotlin.-number/mm.html @@ -0,0 +1,15 @@ + + + +mm - kvision + + + +kvision / pl.treksoft.kvision.utils / kotlin.Number / mm
+
+

mm

+ +val Number.mm: CssSize +

Extension property to convert Int to CSS mm units.

+ + diff --git a/api/pl.treksoft.kvision.utils/kotlin.-number/pc.html b/api/pl.treksoft.kvision.utils/kotlin.-number/pc.html new file mode 100644 index 00000000..f7cb73a7 --- /dev/null +++ b/api/pl.treksoft.kvision.utils/kotlin.-number/pc.html @@ -0,0 +1,15 @@ + + + +pc - kvision + + + +kvision / pl.treksoft.kvision.utils / kotlin.Number / pc
+
+

pc

+ +val Number.pc: CssSize +

Extension property to convert Int to CSS pc units.

+ + diff --git a/api/pl.treksoft.kvision.utils/kotlin.-number/perc.html b/api/pl.treksoft.kvision.utils/kotlin.-number/perc.html new file mode 100644 index 00000000..91914ac2 --- /dev/null +++ b/api/pl.treksoft.kvision.utils/kotlin.-number/perc.html @@ -0,0 +1,15 @@ + + + +perc - kvision + + + +kvision / pl.treksoft.kvision.utils / kotlin.Number / perc
+
+

perc

+ +val Number.perc: CssSize +

Extension property to convert Int to CSS percent units.

+ + diff --git a/api/pl.treksoft.kvision.utils/kotlin.-number/rem.html b/api/pl.treksoft.kvision.utils/kotlin.-number/rem.html new file mode 100644 index 00000000..64ab6166 --- /dev/null +++ b/api/pl.treksoft.kvision.utils/kotlin.-number/rem.html @@ -0,0 +1,15 @@ + + + +rem - kvision + + + +kvision / pl.treksoft.kvision.utils / kotlin.Number / rem
+
+

rem

+ +val Number.rem: CssSize +

Extension property to convert Int to CSS rem units.

+ + diff --git a/api/pl.treksoft.kvision.utils/kotlin.-number/vh.html b/api/pl.treksoft.kvision.utils/kotlin.-number/vh.html new file mode 100644 index 00000000..bebecf17 --- /dev/null +++ b/api/pl.treksoft.kvision.utils/kotlin.-number/vh.html @@ -0,0 +1,15 @@ + + + +vh - kvision + + + +kvision / pl.treksoft.kvision.utils / kotlin.Number / vh
+
+

vh

+ +val Number.vh: CssSize +

Extension property to convert Int to CSS vh units.

+ + diff --git a/api/pl.treksoft.kvision.utils/kotlin.-number/vmax.html b/api/pl.treksoft.kvision.utils/kotlin.-number/vmax.html new file mode 100644 index 00000000..d60b95f4 --- /dev/null +++ b/api/pl.treksoft.kvision.utils/kotlin.-number/vmax.html @@ -0,0 +1,15 @@ + + + +vmax - kvision + + + +kvision / pl.treksoft.kvision.utils / kotlin.Number / vmax
+
+

vmax

+ +val Number.vmax: CssSize +

Extension property to convert Int to CSS vmax units.

+ + diff --git a/api/pl.treksoft.kvision.utils/kotlin.-number/vmin.html b/api/pl.treksoft.kvision.utils/kotlin.-number/vmin.html new file mode 100644 index 00000000..104a0cde --- /dev/null +++ b/api/pl.treksoft.kvision.utils/kotlin.-number/vmin.html @@ -0,0 +1,15 @@ + + + +vmin - kvision + + + +kvision / pl.treksoft.kvision.utils / kotlin.Number / vmin
+
+

vmin

+ +val Number.vmin: CssSize +

Extension property to convert Int to CSS vmin units.

+ + diff --git a/api/pl.treksoft.kvision.utils/kotlin.-number/vw.html b/api/pl.treksoft.kvision.utils/kotlin.-number/vw.html new file mode 100644 index 00000000..3f3401be --- /dev/null +++ b/api/pl.treksoft.kvision.utils/kotlin.-number/vw.html @@ -0,0 +1,15 @@ + + + +vw - kvision + + + +kvision / pl.treksoft.kvision.utils / kotlin.Number / vw
+
+

vw

+ +val Number.vw: CssSize +

Extension property to convert Int to CSS vw units.

+ + diff --git a/api/pl.treksoft.kvision.utils/kotlin.-pair/as-string.html b/api/pl.treksoft.kvision.utils/kotlin.-pair/as-string.html index 3c85d273..00f2c5d8 100644 --- a/api/pl.treksoft.kvision.utils/kotlin.-pair/as-string.html +++ b/api/pl.treksoft.kvision.utils/kotlin.-pair/as-string.html @@ -8,7 +8,7 @@ kvision / pl.treksoft.kvision.utils / kotlin.Pair / asString

asString

- + fun CssSize.asString(): String

Extension function to convert CssSize to String.

diff --git a/api/pl.treksoft.kvision.utils/observable-list-of.html b/api/pl.treksoft.kvision.utils/observable-list-of.html new file mode 100644 index 00000000..299f72f0 --- /dev/null +++ b/api/pl.treksoft.kvision.utils/observable-list-of.html @@ -0,0 +1,15 @@ + + + +observableListOf - kvision + + + +kvision / pl.treksoft.kvision.utils / observableListOf
+
+

observableListOf

+ +fun <T> observableListOf(vararg items: T): ObservableListWrapper<T> +

Creates an instance of ObservableList

+ + -- cgit