AvailEditorShortcut

sealed class AvailEditorShortcut : KeyboardShortcut

A KeyboardShortcut that is used in the AvailEditor.

Author

Richard Arriaga

Parameters

defaultKey

The default Key when pressed triggers this shortcut.

key

The Key used for this shortcut. Defaults to defaultKey.

Functions

Link copied to clipboard
open fun addToInputMap(inputMap: InputMap)

Add this KeyboardShortcut to the provided InputMap.

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
fun resetToDefaults()

Reset the key to the defaultKey.

Link copied to clipboard
fun updateFrom(keyStroke: KeyStroke): Boolean

Update this KeyboardShortcut to match the ModifierKeys and KeyCode used in the provided KeyStroke.

Properties

Link copied to clipboard
abstract val actionMapKey: String

The key that identifies this BaseKeyboardShortcut.

Link copied to clipboard
open override val category: KeyboardShortcutCategory

The KeyboardShortcutCategory this shortcut belongs to.

Link copied to clipboard
open val customizable: Boolean = true

This KeyboardShortcut is permitted to customized for an environment.

Link copied to clipboard
open override val defaultKey: Key
Link copied to clipboard
abstract val description: String

The description of the action the shortcut performs.

Link copied to clipboard
val descriptionDisplay: String

The description that is displayed that describes the shortcut or the actionMapKey if the description is empty.

Link copied to clipboard
open override var key: Key
Link copied to clipboard
open val keyStroke: KeyStroke

The KeyStroke used to trigger this KeyboardShortcut.

Link copied to clipboard
val shortcutOverride: KeyboardShortcutOverride

A corresponding KeyboardShortcutOverride sourced from this KeyboardShortcut.

Inheritors

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