U I Event Processor
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
Functions
handleKeyboardEvents
Link copied to clipboard
abstract fun handleKeyboardEvents(eventType: KeyboardEventType, handler: (event: KeyboardEvent, phase: UIEventPhase) -> UIEventResponse): Subscription
Content copied to clipboard
handleMouseEvents
Link copied to clipboard
abstract fun handleMouseEvents(eventType: MouseEventType, handler: (event: MouseEvent, phase: UIEventPhase) -> UIEventResponse): Subscription
Content copied to clipboard
process
Link copied to clipboard
abstract fun process(event: UIEvent, phase: UIEventPhase): UIEventResponse
Content copied to clipboard
processKeyboardEvents
Link copied to clipboard
abstract fun processKeyboardEvents(eventType: KeyboardEventType, handler: (event: KeyboardEvent, phase: UIEventPhase) -> Unit): Subscription
Content copied to clipboard
processMouseEvents
Link copied to clipboard
abstract fun processMouseEvents(eventType: MouseEventType, handler: (event: MouseEvent, phase: UIEventPhase) -> Unit): Subscription
Content copied to clipboard
Properties
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