UIEventProcessor

interface UIEventProcessor : UIEventSource, Closeable

An UIEventProcessor is responsible for processing UIEvents by dispatching them to its subscribers. An UIEventProcessor will respect event propagation rules by checking the UIEventResponses of its listener. This means that for example if one of the listeners returns StopPropagation it will stop invoking the rest of the listeners. Also see UIEventSource.

Types

Companion
Link copied to clipboard
common
object Companion

Functions

close
Link copied to clipboard
common
abstract fun close()
Closes this Closeable.
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
process
Link copied to clipboard
common
abstract fun process(event: UIEvent, phase: UIEventPhase): UIEventResponse
Processes the given UIEvent in the given phase.
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

Properties

closed
Link copied to clipboard
common
open val closed: Boolean
closedValue
Link copied to clipboard
common
open val closedValue: ObservableValue<Boolean>
isClosed
Link copied to clipboard
common
abstract val isClosed: ObservableValue<Boolean>

Inheritors

InternalComponent
Link copied to clipboard
DefaultComponent
Link copied to clipboard
InternalTileGrid
Link copied to clipboard
ThreadSafeTileGrid
Link copied to clipboard
InternalScreen
Link copied to clipboard
DefaultUIEventProcessor
Link copied to clipboard

Sources

(source)
Link copied to clipboard