ButtonCommands

Keyboard combinations :

ACTIVATE : Space. Perform the same action as clicking the button. CANCEL : Escape. MousePressed followed by CANCEL disarms the button, so MouseReleased does nothing.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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