Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open class IntSpinButtonModel(progression: IntProgression, start: Int = progression.first) : CommonSpinButtonModelModel<Int>
Link copied to clipboard
Link copied to clipboard
open class ListSpinButtonModel<T, out L : List<T>>(val values: L) : CommonSpinButtonModelModel<T>
Link copied to clipboard
Link copied to clipboard
open class LongSpinButtonModel(progression: LongProgression, start: Long = progression.first) : CommonSpinButtonModelModel<Long>
Link copied to clipboard
Link copied to clipboard
class MutableIntSpinButtonModel(progression: IntProgression, start: Int = progression.first) : IntSpinButtonModel, MutableSpinButtonModel<Int>
Link copied to clipboard
Link copied to clipboard
class MutableSpinButton<T, M : MutableSpinButtonModel<T>>(model: M, itemVisualizer: ItemVisualizer<T, SpinButton<T, M>>? = null) : SpinButton<T, M> , Editable

A spin button control that can be edited.

Link copied to clipboard

Provides presentation and behavior customization for MutableSpinButton.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open class SpinButton<T, M : SpinButtonModel<T>> : View

Controls used to flip through items (one at a time) within a sequential collection.

Link copied to clipboard

Provides presentation and behavior customization for SpinButton.

Link copied to clipboard
interface SpinButtonEditor<T>

Defines the EditOperation for a MutableSpinButton.

Link copied to clipboard
interface SpinButtonModel<T>

An iterator-like model that tracks the items a SpinButton can present.

Link copied to clipboard
typealias Spinner<T, M> = SpinButton<T, M>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
inline fun <T> spinButtonEditor(crossinline block: (spinner: MutableSpinButton<T, *>, value: T, current: View) -> EditOperation<T>): SpinButtonEditor<T>

Creates a SpinButtonEditor from the given lambda block.

Link copied to clipboard
inline fun <T> spinnerEditor(crossinline block: (spinner: MutableSpinButton<T, *>, value: T, current: View) -> EditOperation<T>): SpinButtonEditor<T>