tornadofx / tornadofx / KeyboardRow

KeyboardRow

class KeyboardRow

Constructors

<init> KeyboardRow(keyboard: KeyboardLayout)

Properties

keyboard val keyboard: KeyboardLayout
keys val keys: ObservableList<KeyboardKey>

Functions

key fun key(text: String? = null, svg: String? = null, code: Int? = null, width: Number = 1.0, height: Number = 1.0, op: KeyboardKey.() -> Unit = {}): KeyboardKey
spacer fun spacer(width: Number = 1.0, height: Number = 1.0): <ERROR CLASS>
toJSON fun toJSON(): <ERROR CLASS>

Companion Object Functions

fromJSON fun fromJSON(keyboard: KeyboardLayout, json: JsonObject): <ERROR CLASS>

Extension Functions

getProperty fun <T> Any.getProperty(prop: KMutableProperty1<*, T>): ObjectProperty<T>
observable fun <T : Any> Any.observable(propName: String): ObjectProperty<T>