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 --- .../-clipboard/index.html | 261 +++++++++++++++++++++ 1 file changed, 261 insertions(+) create mode 100644 api1/pl.treksoft.kvision.electron/-clipboard/index.html (limited to 'api1/pl.treksoft.kvision.electron/-clipboard/index.html') diff --git a/api1/pl.treksoft.kvision.electron/-clipboard/index.html b/api1/pl.treksoft.kvision.electron/-clipboard/index.html new file mode 100644 index 00000000..795b92e8 --- /dev/null +++ b/api1/pl.treksoft.kvision.electron/-clipboard/index.html @@ -0,0 +1,261 @@ + + + +Clipboard - kvision + + + +kvision / pl.treksoft.kvision.electron / Clipboard
+
+

Clipboard

+external interface Clipboard : EventEmitter +

Functions

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

availableFormats

+
+abstract fun availableFormats(type: String? = definedExternally): Array<String>
+

clear

+
+abstract fun clear(type: String? = definedExternally): Unit
+

has

+
+abstract fun has(format: String, type: String? = definedExternally): Boolean
+

read

+
+abstract fun read(format: String): String
+

readBookmark

+
+abstract fun readBookmark(): ReadBookmark
+

readBuffer

+
+abstract fun readBuffer(format: String): <ERROR CLASS>
+

readFindText

+
+abstract fun readFindText(): String
+

readHTML

+
+abstract fun readHTML(type: String? = definedExternally): String
+

readImage

+
+abstract fun readImage(type: String? = definedExternally): NativeImage
+

readRTF

+
+abstract fun readRTF(type: String? = definedExternally): String
+

readText

+
+abstract fun readText(type: String? = definedExternally): String
+

write

+
+abstract fun write(data: Data, type: String? = definedExternally): Unit
+

writeBookmark

+
+abstract fun writeBookmark(title: String, url: String, type: String? = definedExternally): Unit
+

writeBuffer

+
+abstract fun writeBuffer(format: String, buffer: <ERROR CLASS>, type: String? = definedExternally): Unit
+

writeFindText

+
+abstract fun writeFindText(text: String): Unit
+

writeHTML

+
+abstract fun writeHTML(markup: String, type: String? = definedExternally): Unit
+

writeImage

+
+abstract fun writeImage(image: NativeImage, type: String? = definedExternally): Unit
+

writeRTF

+
+abstract fun writeRTF(text: String, type: String? = definedExternally): Unit
+

writeText

+
+abstract fun writeText(text: String, type: String? = definedExternally): Unit
+

Inherited Functions

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

addListener

+
+open fun addListener(event: String, listener: Function<*>): EventEmitter
+

emit

+
+open fun emit(event: String, vararg args: Any): Boolean
+

eventNames

+
+open fun eventNames(): Array<String>
+

getMaxListeners

+
+open fun getMaxListeners(): Number
+

listenerCount

+
+open fun listenerCount(type: String): Number
+

listeners

+
+open fun listeners(event: String): Array<Function<*>>
+

on

+
+open fun on(event: String, listener: Function<*>): EventEmitter
+

once

+
+open fun once(event: String, listener: Function<*>): EventEmitter
+

prependListener

+
+open fun prependListener(event: String, listener: Function<*>): EventEmitter
+

prependOnceListener

+
+open fun prependOnceListener(event: String, listener: Function<*>): EventEmitter
+

removeAllListeners

+
+open fun removeAllListeners(event: String? = definedExternally): EventEmitter
+

removeListener

+
+open fun removeListener(event: String, listener: Function<*>): EventEmitter
+

setMaxListeners

+
+open fun setMaxListeners(n: Number): EventEmitter
+

Extension Functions

+ + + + + + + +
+

createInstance

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

Helper function for creating JavaScript objects from dynamic constructors.

+
+ + -- cgit