From 61545b3f1fb1844af350d187edd26285e98f0466 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Mon, 26 Feb 2018 14:21:46 +0100 Subject: API documentation update --- .../-simple-panel/index.html | 55 ++++++++++++++++++++++ 1 file changed, 55 insertions(+) (limited to 'docs/api/pl.treksoft.kvision.panel/-simple-panel/index.html') diff --git a/docs/api/pl.treksoft.kvision.panel/-simple-panel/index.html b/docs/api/pl.treksoft.kvision.panel/-simple-panel/index.html index e851ea6d..e7afb8b3 100644 --- a/docs/api/pl.treksoft.kvision.panel/-simple-panel/index.html +++ b/docs/api/pl.treksoft.kvision.panel/-simple-panel/index.html @@ -27,6 +27,15 @@ +

draggable

+ + +var draggable: Boolean? +

Determines if the current widget is draggable.

+ + + +

id

@@ -208,6 +217,15 @@ +

clearDragDropData

+ + +open fun clearDragDropData(): Unit +

Clears D&D data for the current widget. It also makes it not draggable.

+ + + +

getElement

@@ -326,6 +344,34 @@ +

setDragDropData

+ + +open fun setDragDropData(format: String, data: String): Unit +

Sets D&D data for the current widget. It also makes it draggable.

+ + + + +

setDropTarget

+ + +open fun setDropTarget(format: String, callback: (DragEvent) -> Unit): Unit
+open fun setDropTarget(formats: Set<String>? = null, callback: (DragEvent) -> Unit): Unit +

Sets the current widget as a D&D drop target.

+ + + + +

setDropTargetData

+ + +open fun setDropTargetData(format: String, callback: (String?) -> Unit): Unit +

Sets the current widget as a D&D drop target with helper callback accepting String data.

+ + + +

setEventListener

@@ -579,6 +625,15 @@

HTML tag component.

+ + +

Window

+ + +open class Window : SimplePanel +

Floating window container.

+ + -- cgit