UIEventSource

interface UIEventSource

An UIEventSource is an object which emits UIEvents and can be used to listen to those events.

Functions

equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
handleKeyboardEvents
Link copied to clipboard
common
abstract fun handleKeyboardEvents(eventType: KeyboardEventType, handler: (event: KeyboardEvent, phase: UIEventPhase) -> UIEventResponse): Subscription
Adds the given handler for keyboard events.
handleMouseEvents
Link copied to clipboard
common
abstract fun handleMouseEvents(eventType: MouseEventType, handler: (event: MouseEvent, phase: UIEventPhase) -> UIEventResponse): Subscription
Adds the given handler for mouse events.
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
processKeyboardEvents
Link copied to clipboard
common
abstract fun processKeyboardEvents(eventType: KeyboardEventType, handler: (event: KeyboardEvent, phase: UIEventPhase) -> Unit): Subscription
Adds the given handler for KeyboardEvents.
processMouseEvents
Link copied to clipboard
common
abstract fun processMouseEvents(eventType: MouseEventType, handler: (event: MouseEvent, phase: UIEventPhase) -> Unit): Subscription
Adds the given handler for MouseEvents.
toString
Link copied to clipboard
common
open fun toString(): String

Inheritors

Component
Link copied to clipboard
TileGrid
Link copied to clipboard
UIEventProcessor
Link copied to clipboard
DefaultUIEventProcessor
Link copied to clipboard

Sources

(source)
Link copied to clipboard