ComponentEventAdapter

interface ComponentEventAdapter

Callback interface for ComponentEvents which can typically be implemented by long-lived objects. See ComponentEventType. This class is part of the internal API so don't call any of these methods, it is the library's job to do so.

Functions

activated
Link copied to clipboard
common
open fun activated(): UIEventResponse
The component was activated (mouse click or spacebar press typically).
deactivated
Link copied to clipboard
common
open fun deactivated(): UIEventResponse
The component was deactivated (mouse release or spacebar release typically).
equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
focusGiven
Link copied to clipboard
common
open fun focusGiven(): UIEventResponse
Focus was given to the component.
focusTaken
Link copied to clipboard
common
open fun focusTaken(): UIEventResponse
Focus was taken away from the component.
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
toString
Link copied to clipboard
common
open fun toString(): String

Inheritors

InternalComponent
Link copied to clipboard

Sources

(source)
Link copied to clipboard