From eeb8fdf8f890daeed907a6d0591ea6fae8421860 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Wed, 6 Mar 2019 13:53:58 +0100 Subject: API documentation for KVision 0.0.28 --- .../-clipboard/index.html | 261 +++++++++++++++++++++ 1 file changed, 261 insertions(+) create mode 100644 api/pl.treksoft.kvision.electron/-clipboard/index.html (limited to 'api/pl.treksoft.kvision.electron/-clipboard/index.html') diff --git a/api/pl.treksoft.kvision.electron/-clipboard/index.html b/api/pl.treksoft.kvision.electron/-clipboard/index.html new file mode 100644 index 00000000..795b92e8 --- /dev/null +++ b/api/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