MutableSpinButtonBehavior

Provides presentation and behavior customization for MutableSpinButton.

Constructors

Link copied to clipboard
constructor()

Inherited properties

Link copied to clipboard

The underlying list of Views within a spin-button. This gives behaviors control over the View composition of spin buttons.

Link copied to clipboard

The insets used by the spin-button's layout when positioning its children.

Link copied to clipboard

The Layout used by the spin-button's to position its children.

Functions

Link copied to clipboard
abstract fun editingEnded(spinner: MutableSpinButton<T, M>)

Called whenever editing completes for the MutableSpinButton. This lets the behavior reconfigure the SpinButton accordingly.

Link copied to clipboard
abstract fun editingStarted(spinner: MutableSpinButton<T, M>, value: T): EditOperation<T>?

Called whenever editing begins for the MutableSpinButton. This lets the behavior reconfigure the SpinButton accordingly.

Inherited functions

Link copied to clipboard
fun alignmentChanged(spinner: SpinButton<T, M>)

Called whenever SpinButton.cellAlignment changes.

Link copied to clipboard
abstract fun changed(spinner: SpinButton<T, M>)

Called whenever the SpinButton's selection changes. This is an explicit API to ensure that behaviors receive the notification before listeners to SpinButton.changed.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun contains(view: SpinButton<T, M>, point: Point): Boolean
Link copied to clipboard
open fun install(view: SpinButton<T, M>)
Link copied to clipboard
Link copied to clipboard
open fun render(view: SpinButton<T, M>, canvas: Canvas)
Link copied to clipboard
open fun uninstall(view: SpinButton<T, M>)