KeyboardShortcutOverride

data class KeyboardShortcutOverride(val category: KeyboardShortcutCategory, var key: Key, val actionMapKey: String) : BaseKeyboardShortcut, JSONFriendly

A user-defined override for a BaseKeyboardShortcut.

Author

Richard Arriaga

Constructors

Link copied to clipboard
constructor(category: KeyboardShortcutCategory, key: Key, actionMapKey: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val actionMapKey: String

The key that identifies this BaseKeyboardShortcut.

Link copied to clipboard

The associated KeyboardShortcut or null if actionMapKey is not a valid KeyboardShortcut.actionMapKey

Link copied to clipboard

The KeyboardShortcutCategory this shortcut belongs to.

Link copied to clipboard
Link copied to clipboard
open override var key: Key

The key of this BaseKeyboardShortcut.

Link copied to clipboard

The KeyStroke used to trigger this KeyboardShortcut.

Functions

Link copied to clipboard

Check to see if the provided BaseKeyboardShortcut matches the key bindings of this BaseKeyboardShortcut while having different actionMapKeys.

Link copied to clipboard
open override fun writeTo(writer: JSONWriter)