kvision / pl.treksoft.kvision.electron / Clipboard

Clipboard

(js) interface Clipboard : EventEmitter

Functions

(js)

availableFormats

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

clear

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

has

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

read

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

readBookmark

abstract fun readBookmark(): ReadBookmark
(js)

readBuffer

abstract fun readBuffer(format: String): Buffer
(js)

readFindText

abstract fun readFindText(): String
(js)

readHTML

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

readImage

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

readRTF

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

readText

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

write

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

writeBookmark

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

writeBuffer

abstract fun writeBuffer(format: String, buffer: Buffer, type: String? = definedExternally): Unit
(js)

writeFindText

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

writeHTML

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

writeImage

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

writeRTF

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

writeText

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