From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 26 Oct 2019 00:17:24 +0200 Subject: API documentation for KVision 2.0.0 --- .../-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 ++ 22 files changed, 506 insertions(+) create mode 100644 api1/pl.treksoft.kvision.utils/-observable-list-wrapper/-init-.html create mode 100644 api1/pl.treksoft.kvision.utils/-observable-list-wrapper/add-all.html create mode 100644 api1/pl.treksoft.kvision.utils/-observable-list-wrapper/add.html create mode 100644 api1/pl.treksoft.kvision.utils/-observable-list-wrapper/clear.html create mode 100644 api1/pl.treksoft.kvision.utils/-observable-list-wrapper/contains-all.html create mode 100644 api1/pl.treksoft.kvision.utils/-observable-list-wrapper/contains.html create mode 100644 api1/pl.treksoft.kvision.utils/-observable-list-wrapper/get.html create mode 100644 api1/pl.treksoft.kvision.utils/-observable-list-wrapper/index-of.html create mode 100644 api1/pl.treksoft.kvision.utils/-observable-list-wrapper/index.html create mode 100644 api1/pl.treksoft.kvision.utils/-observable-list-wrapper/is-empty.html create mode 100644 api1/pl.treksoft.kvision.utils/-observable-list-wrapper/iterator.html create mode 100644 api1/pl.treksoft.kvision.utils/-observable-list-wrapper/last-index-of.html create mode 100644 api1/pl.treksoft.kvision.utils/-observable-list-wrapper/list-iterator.html create mode 100644 api1/pl.treksoft.kvision.utils/-observable-list-wrapper/mutable-list.html create mode 100644 api1/pl.treksoft.kvision.utils/-observable-list-wrapper/on-update.html create mode 100644 api1/pl.treksoft.kvision.utils/-observable-list-wrapper/remove-all.html create mode 100644 api1/pl.treksoft.kvision.utils/-observable-list-wrapper/remove-at.html create mode 100644 api1/pl.treksoft.kvision.utils/-observable-list-wrapper/remove.html create mode 100644 api1/pl.treksoft.kvision.utils/-observable-list-wrapper/retain-all.html create mode 100644 api1/pl.treksoft.kvision.utils/-observable-list-wrapper/set.html create mode 100644 api1/pl.treksoft.kvision.utils/-observable-list-wrapper/size.html create mode 100644 api1/pl.treksoft.kvision.utils/-observable-list-wrapper/sub-list.html (limited to 'api1/pl.treksoft.kvision.utils/-observable-list-wrapper') diff --git a/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/-init-.html b/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/-init-.html new file mode 100644 index 00000000..10267492 --- /dev/null +++ b/api1/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/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/add-all.html b/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/add-all.html new file mode 100644 index 00000000..2561bd1b --- /dev/null +++ b/api1/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/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/add.html b/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/add.html new file mode 100644 index 00000000..f27df790 --- /dev/null +++ b/api1/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/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/clear.html b/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/clear.html new file mode 100644 index 00000000..133083cc --- /dev/null +++ b/api1/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/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/contains-all.html b/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/contains-all.html new file mode 100644 index 00000000..0efa9d8f --- /dev/null +++ b/api1/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/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/contains.html b/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/contains.html new file mode 100644 index 00000000..9ae02722 --- /dev/null +++ b/api1/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/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/get.html b/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/get.html new file mode 100644 index 00000000..6366a1a8 --- /dev/null +++ b/api1/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/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/index-of.html b/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/index-of.html new file mode 100644 index 00000000..6124cd75 --- /dev/null +++ b/api1/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/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/index.html b/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/index.html new file mode 100644 index 00000000..76a51d0d --- /dev/null +++ b/api1/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/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/is-empty.html b/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/is-empty.html new file mode 100644 index 00000000..7476ad91 --- /dev/null +++ b/api1/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/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/iterator.html b/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/iterator.html new file mode 100644 index 00000000..6451260c --- /dev/null +++ b/api1/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/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/last-index-of.html b/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/last-index-of.html new file mode 100644 index 00000000..65196cd5 --- /dev/null +++ b/api1/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/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/list-iterator.html b/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/list-iterator.html new file mode 100644 index 00000000..3266abd0 --- /dev/null +++ b/api1/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/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/mutable-list.html b/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/mutable-list.html new file mode 100644 index 00000000..ed123582 --- /dev/null +++ b/api1/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/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/on-update.html b/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/on-update.html new file mode 100644 index 00000000..67a6abde --- /dev/null +++ b/api1/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/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/remove-all.html b/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/remove-all.html new file mode 100644 index 00000000..d1fc8354 --- /dev/null +++ b/api1/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/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/remove-at.html b/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/remove-at.html new file mode 100644 index 00000000..cc02b15d --- /dev/null +++ b/api1/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/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/remove.html b/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/remove.html new file mode 100644 index 00000000..4e89fb6f --- /dev/null +++ b/api1/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/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/retain-all.html b/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/retain-all.html new file mode 100644 index 00000000..7675f11e --- /dev/null +++ b/api1/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/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/set.html b/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/set.html new file mode 100644 index 00000000..f0c5f4b5 --- /dev/null +++ b/api1/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/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/size.html b/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/size.html new file mode 100644 index 00000000..92e321d5 --- /dev/null +++ b/api1/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/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/sub-list.html b/api1/pl.treksoft.kvision.utils/-observable-list-wrapper/sub-list.html new file mode 100644 index 00000000..c4635f9b --- /dev/null +++ b/api1/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> + + -- cgit