Skip to content

ShortcutEvent

final class ShortcutEvent
Extends: Event
Package: dev.joid.lib.ui.shortcut · Module: core · Source: ShortcutEvent.java

Event that a shortcut passes to its listeners when it fires.

ReturnsSignatureSummary
ShortcutEventcreate(Key key, Shortcut shortcut) factoryCreates the event for this key and this shortcut.

ReturnsSignatureSummary
KeygetKey()The key that fired the shortcut.
ShortcutgetShortcut()The shortcut that fired.

ShortcutEvent create(Key key, Shortcut shortcut) factory

Creates the event for this key and this shortcut.

Key getKey()

The key that fired the shortcut.

Shortcut getShortcut()

The shortcut that fired.


fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses

Report a problem with this page