Package-level declarations

Types

Link copied to clipboard
open class ApplicationType<T> : MimeType<T>

Primary portion of the application MIME type

Link copied to clipboard

A bundle that combines several other bundles into one.

Link copied to clipboard
interface DataBundle

Represents a set of data keyed by MimeType. These bundles are used in drag-drop operations since they allow arbitrary data to be encoded for data-transfer.

Link copied to clipboard
class Files(val types: MimeType<*>) : ApplicationType<List<LocalFile>>

Internal mime-type to indicate a collection of files

Link copied to clipboard
class Image(type: String) : MimeType<LocalFile>

Primary portion of the image MIME type

Link copied to clipboard
Link copied to clipboard
interface LocalFile

Represents a file on the local machine that is being transferred within a DataBundle.

Link copied to clipboard
open class MimeType<T>

Represents a MIME type.

Link copied to clipboard

text/plain MIME type

Link copied to clipboard
class ReferenceType<T : Any>(type: KClass<out T>) : ApplicationType<T>

Runtime mime-type to represent a reference to some value of type type.

Link copied to clipboard

Simple bundle holding a single item.

Link copied to clipboard
open class TextType(type: String, charSet: String? = null) : MimeType<String>
Link copied to clipboard
object UriList : TextType

Functions

Link copied to clipboard
inline fun <T : Any> refBundle(item: T): SingleItemBundle<T>
Link copied to clipboard
Link copied to clipboard

Inherited functions

Link copied to clipboard
inline fun <T : Any> DataBundle.contains(): Boolean
Link copied to clipboard
inline operator fun <T : Any> DataBundle.invoke(): T?