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
fun KeyboardShortcutOverride(    category: KeyboardShortcutCategory,     key: Key,     actionMapKey: String)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open fun matchesOther(bks: BaseKeyboardShortcut): Boolean

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)

Properties

Link copied to clipboard
open override val actionMapKey: String

The key that identifies this BaseKeyboardShortcut.

Link copied to clipboard
val associatedShortcut: KeyboardShortcut?

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

Link copied to clipboard
open override val category: KeyboardShortcutCategory

The KeyboardShortcutCategory this shortcut belongs to.

Link copied to clipboard
open val jsonFormattedString: String
Link copied to clipboard
open val jsonPrettyPrintedFormattedString: String
Link copied to clipboard
open override var key: Key

The key of this BaseKeyboardShortcut.

Link copied to clipboard
open val keyStroke: KeyStroke

The KeyStroke used to trigger this KeyboardShortcut.