SpinnerCommands

Properties

Link copied to clipboard
Link copied to clipboard

The DOWN key adjusts the value by a small step.

Link copied to clipboard
Link copied to clipboard

The UP key adjusts the value by a small step.

Link copied to clipboard

The PAGE_DOWN key, and Ctrl+DOWN adjusts the value by a large step.

Link copied to clipboard

The PAGE_UP key, and Ctrl+UP adjusts the value by a large step.

Link copied to clipboard

The Ctrl+END key, sets the value to its maximum value.

Link copied to clipboard

The Ctrl+HOME key, sets the value to its minimum value.

Link copied to clipboard

The ENTER key updates the spinner's value, based on the text.

Functions

Link copied to clipboard
fun define(name: String, text: String, keyCombination: KeyCombination? = null, tooltip: String? = null): Command

Adds a single Command to the map (commands).

fun define(name: String, text: String, keyCombination: KeyCombination? = null, tooltip: String? = null, block: Command.() -> Unit): Command