From 8449ff519f3d853ca82c792dccf12d06fb09b627 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Wed, 24 Apr 2019 23:12:48 +0200 Subject: API documentation for KVision 0.0.35 --- .../-style/-refresh-delegate-provider/-init-.html | 14 +++++++ .../-style/-refresh-delegate-provider/index.html | 37 ++++++++++++++++++ .../provide-delegate.html | 14 +++++++ .../-style/-refresh-delegate/-init-.html | 14 +++++++ .../-style/-refresh-delegate/get-value.html | 14 +++++++ .../-style/-refresh-delegate/index.html | 44 ++++++++++++++++++++++ .../-style/-refresh-delegate/set-value.html | 14 +++++++ api/pl.treksoft.kvision.core/-style/index.html | 40 ++++++++++++++++---- .../-style/refresh-on-update.html | 16 ++++++++ 9 files changed, 200 insertions(+), 7 deletions(-) create mode 100644 api/pl.treksoft.kvision.core/-style/-refresh-delegate-provider/-init-.html create mode 100644 api/pl.treksoft.kvision.core/-style/-refresh-delegate-provider/index.html create mode 100644 api/pl.treksoft.kvision.core/-style/-refresh-delegate-provider/provide-delegate.html create mode 100644 api/pl.treksoft.kvision.core/-style/-refresh-delegate/-init-.html create mode 100644 api/pl.treksoft.kvision.core/-style/-refresh-delegate/get-value.html create mode 100644 api/pl.treksoft.kvision.core/-style/-refresh-delegate/index.html create mode 100644 api/pl.treksoft.kvision.core/-style/-refresh-delegate/set-value.html create mode 100644 api/pl.treksoft.kvision.core/-style/refresh-on-update.html (limited to 'api/pl.treksoft.kvision.core/-style') diff --git a/api/pl.treksoft.kvision.core/-style/-refresh-delegate-provider/-init-.html b/api/pl.treksoft.kvision.core/-style/-refresh-delegate-provider/-init-.html new file mode 100644 index 00000000..54ba6ded --- /dev/null +++ b/api/pl.treksoft.kvision.core/-style/-refresh-delegate-provider/-init-.html @@ -0,0 +1,14 @@ + + + +Style.RefreshDelegateProvider.<init> - kvision + + + +kvision / pl.treksoft.kvision.core / Style / RefreshDelegateProvider / <init>
+
+

<init>

+ +RefreshDelegateProvider(initialValue: T?, refreshFunction: (T) -> Unit) + + diff --git a/api/pl.treksoft.kvision.core/-style/-refresh-delegate-provider/index.html b/api/pl.treksoft.kvision.core/-style/-refresh-delegate-provider/index.html new file mode 100644 index 00000000..dd75b668 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-style/-refresh-delegate-provider/index.html @@ -0,0 +1,37 @@ + + + +Style.RefreshDelegateProvider - kvision + + + +kvision / pl.treksoft.kvision.core / Style / RefreshDelegateProvider
+
+

RefreshDelegateProvider

+protected inner class RefreshDelegateProvider<T> +

Constructors

+ + + + + + + +
+

<init>

+
+RefreshDelegateProvider(initialValue: T?, refreshFunction: (T) -> Unit)
+

Functions

+ + + + + + + +
+

provideDelegate

+
+operator fun provideDelegate(thisRef: Any?, prop: KProperty<*>): Style.RefreshDelegate<T>
+ + diff --git a/api/pl.treksoft.kvision.core/-style/-refresh-delegate-provider/provide-delegate.html b/api/pl.treksoft.kvision.core/-style/-refresh-delegate-provider/provide-delegate.html new file mode 100644 index 00000000..25e8902a --- /dev/null +++ b/api/pl.treksoft.kvision.core/-style/-refresh-delegate-provider/provide-delegate.html @@ -0,0 +1,14 @@ + + + +Style.RefreshDelegateProvider.provideDelegate - kvision + + + +kvision / pl.treksoft.kvision.core / Style / RefreshDelegateProvider / provideDelegate
+
+

provideDelegate

+ +operator fun provideDelegate(thisRef: Any?, prop: KProperty<*>): Style.RefreshDelegate<T> + + diff --git a/api/pl.treksoft.kvision.core/-style/-refresh-delegate/-init-.html b/api/pl.treksoft.kvision.core/-style/-refresh-delegate/-init-.html new file mode 100644 index 00000000..c154bab1 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-style/-refresh-delegate/-init-.html @@ -0,0 +1,14 @@ + + + +Style.RefreshDelegate.<init> - kvision + + + +kvision / pl.treksoft.kvision.core / Style / RefreshDelegate / <init>
+
+

<init>

+ +RefreshDelegate(refreshFunction: (T) -> Unit) + + diff --git a/api/pl.treksoft.kvision.core/-style/-refresh-delegate/get-value.html b/api/pl.treksoft.kvision.core/-style/-refresh-delegate/get-value.html new file mode 100644 index 00000000..eb3fdf83 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-style/-refresh-delegate/get-value.html @@ -0,0 +1,14 @@ + + + +Style.RefreshDelegate.getValue - kvision + + + +kvision / pl.treksoft.kvision.core / Style / RefreshDelegate / getValue
+
+

getValue

+ +operator fun getValue(thisRef: StyledComponent, property: KProperty<*>): T + + diff --git a/api/pl.treksoft.kvision.core/-style/-refresh-delegate/index.html b/api/pl.treksoft.kvision.core/-style/-refresh-delegate/index.html new file mode 100644 index 00000000..be2743d6 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-style/-refresh-delegate/index.html @@ -0,0 +1,44 @@ + + + +Style.RefreshDelegate - kvision + + + +kvision / pl.treksoft.kvision.core / Style / RefreshDelegate
+
+

RefreshDelegate

+protected inner class RefreshDelegate<T> +

Constructors

+ + + + + + + +
+

<init>

+
+RefreshDelegate(refreshFunction: (T) -> Unit)
+

Functions

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

getValue

+
+operator fun getValue(thisRef: StyledComponent, property: KProperty<*>): T
+

setValue

+
+operator fun setValue(thisRef: StyledComponent, property: KProperty<*>, value: T): Unit
+ + diff --git a/api/pl.treksoft.kvision.core/-style/-refresh-delegate/set-value.html b/api/pl.treksoft.kvision.core/-style/-refresh-delegate/set-value.html new file mode 100644 index 00000000..4681541b --- /dev/null +++ b/api/pl.treksoft.kvision.core/-style/-refresh-delegate/set-value.html @@ -0,0 +1,14 @@ + + + +Style.RefreshDelegate.setValue - kvision + + + +kvision / pl.treksoft.kvision.core / Style / RefreshDelegate / setValue
+
+

setValue

+ +operator fun setValue(thisRef: StyledComponent, property: KProperty<*>, value: T): Unit + + diff --git a/api/pl.treksoft.kvision.core/-style/index.html b/api/pl.treksoft.kvision.core/-style/index.html index 61661f10..53c9d760 100644 --- a/api/pl.treksoft.kvision.core/-style/index.html +++ b/api/pl.treksoft.kvision.core/-style/index.html @@ -10,6 +10,25 @@

Style

open class Style : StyledComponent

CSS style object.

+

Types

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

RefreshDelegate

+
+inner class RefreshDelegate<T>
+

RefreshDelegateProvider

+
+inner class RefreshDelegateProvider<T>

Constructors

@@ -635,6 +654,14 @@ + + + + +open fun getCacheKey(): String +open fun getSnStyle(): List<StringPair> +

Returns the list of String pairs defining CSS style attributes and their values.

+
+

refreshOnUpdate

+
+fun <T> refreshOnUpdate(refreshFunction: (T) -> Unit = { this.refresh() }): Style.RefreshDelegateProvider<T>
+fun <T> refreshOnUpdate(initialValue: T, refreshFunction: (T) -> Unit = { this.refresh() }): Style.RefreshDelegateProvider<T>

removeCssClass

@@ -662,20 +689,19 @@
-

getSnStyle

+

getCacheKey

-open fun getSnStyle(): List<StringPair> -

Returns the list of String pairs defining CSS style attributes and their values.

-
-

refreshOnUpdate

+

getSnStyle

-fun <T> refreshOnUpdate(refreshFunction: (T) -> Unit = { this.refresh() }): StyledComponent.RefreshDelegateProvider<T>
-fun <T> refreshOnUpdate(initialValue: T, refreshFunction: (T) -> Unit = { this.refresh() }): StyledComponent.RefreshDelegateProvider<T>
diff --git a/api/pl.treksoft.kvision.core/-style/refresh-on-update.html b/api/pl.treksoft.kvision.core/-style/refresh-on-update.html new file mode 100644 index 00000000..434919d2 --- /dev/null +++ b/api/pl.treksoft.kvision.core/-style/refresh-on-update.html @@ -0,0 +1,16 @@ + + + +Style.refreshOnUpdate - kvision + + + +kvision / pl.treksoft.kvision.core / Style / refreshOnUpdate
+
+

refreshOnUpdate

+ +protected fun <T> refreshOnUpdate(refreshFunction: (T) -> Unit = { this.refresh() }): Style.RefreshDelegateProvider<T>
+ +protected fun <T> refreshOnUpdate(initialValue: T, refreshFunction: (T) -> Unit = { this.refresh() }): Style.RefreshDelegateProvider<T> + + -- cgit