Package-level declarations

Types

Link copied to clipboard
abstract class Event<out T>(val source: T)
Link copied to clipboard
abstract class InputEvent : Event<View>
Link copied to clipboard

Represents an interaction with a View by a Pointer.

Link copied to clipboard
value class KeyCode(val key: String)
Link copied to clipboard
class KeyEvent(source: View, val key: KeyText, val code: KeyCode, val modifiers: Set<SystemInputEvent.Modifier>, val type: KeyState.Type) : InputEvent
Link copied to clipboard
interface KeyListener

Classes that implement this interface are informed of KeyEvents when they register with a source that fires these events.

Link copied to clipboard
class KeyState(val code: KeyCode, val key: KeyText, val modifiers: Set<SystemInputEvent.Modifier>, val type: KeyState.Type)
Link copied to clipboard
value class KeyText(val text: String)
Link copied to clipboard
value class Pointer(id: Int)

Represents a pointing device (Mouse, Pen, Touch, etc.).

Link copied to clipboard

Event triggered when a pointing device (Mouse, Pen, Touch, etc.) interacts with a View.

Link copied to clipboard
interface PointerListener

Classes that implement this interface are informed of PointerEvents when they register with a source that fires these events.

Link copied to clipboard

Classes that implement this interface are informed of PointerEvents related to pointer motion when they register with a source that fires these events.