Shortcuts Config
data class ShortcutsConfig(activateFocused: KeyboardEventMatcher, deactivateActivated: KeyboardEventMatcher, focusNext: KeyboardEventMatcher, focusPrevious: KeyboardEventMatcher)
Content copied to clipboard
These are the shortcuts that Zircon will use for component activation / deactivation and focus handling (next / previous).
Constructors
ShortcutsConfig
Link copied to clipboard
fun ShortcutsConfig(activateFocused: KeyboardEventMatcher = KeyboardEventMatcher(
type = KeyboardEventType.KEY_PRESSED,
code = KeyCode.SPACE
), deactivateActivated: KeyboardEventMatcher = KeyboardEventMatcher(
type = KeyboardEventType.KEY_RELEASED,
code = KeyCode.SPACE
), focusNext: KeyboardEventMatcher = KeyboardEventMatcher(
type = KeyboardEventType.KEY_PRESSED,
code = KeyCode.TAB,
shiftDown = false
), focusPrevious: KeyboardEventMatcher = KeyboardEventMatcher(
type = KeyboardEventType.KEY_PRESSED,
code = KeyCode.TAB,
shiftDown = true
))
Content copied to clipboard
Types
Functions
component1
Link copied to clipboard
component2
Link copied to clipboard
component3
Link copied to clipboard
component4
Link copied to clipboard
copy
Link copied to clipboard
fun copy(activateFocused: KeyboardEventMatcher = KeyboardEventMatcher(
type = KeyboardEventType.KEY_PRESSED,
code = KeyCode.SPACE
), deactivateActivated: KeyboardEventMatcher = KeyboardEventMatcher(
type = KeyboardEventType.KEY_RELEASED,
code = KeyCode.SPACE
), focusNext: KeyboardEventMatcher = KeyboardEventMatcher(
type = KeyboardEventType.KEY_PRESSED,
code = KeyCode.TAB,
shiftDown = false
), focusPrevious: KeyboardEventMatcher = KeyboardEventMatcher(
type = KeyboardEventType.KEY_PRESSED,
code = KeyCode.TAB,
shiftDown = true
)): ShortcutsConfig
Content copied to clipboard
Properties
activateFocused
Link copied to clipboard
deactivateActivated
Link copied to clipboard
focusNext
Link copied to clipboard
focusPrevious
Link copied to clipboard
Sources
(source)
Link copied to clipboard