Change

abstract class Change : Event

Events related to specific things that occur in some components, for example when a switch is toggled, a slider is moved or a text is changed.

These events can be cancelled, meaning that the change in state will not occur.

Since

1.0.3

Inheritors

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion
Link copied to clipboard
class Number @ApiStatus.Internal constructor(val amount: Number) : Event.Change
Link copied to clipboard
class State @ApiStatus.Internal constructor(val state: Boolean) : Event.Change
Link copied to clipboard
class Text @ApiStatus.Internal constructor(val text: String) : Event.Change

Properties

Link copied to clipboard

Weather the event has been cancelled.

Functions

Link copied to clipboard
fun cancel()

Cancel this event.