Class KeyboardPreferences
java.lang.Object
com.kingsrook.qqq.backend.core.model.metadata.preferences.KeyboardPreferences
QQQ's standard "Keyboard" preference section. Its one setting turns off
every shortcut made of a character key alone (`/`, `?`, `n`, Shift+D and so
on), as WCAG 2.1.4 Character Key Shortcuts (Level A) requires. Clients read
"keyboard"."singleKeyShortcuts" by these names; a
missing value means on. Shortcuts with Ctrl or Cmd are not affected.
The section has no provider, so it is stored in core's key-value table:
the application must define that store
(UserPreferencesKeyValueStoreMetaDataProvider) and create its table.
-
Field Details
-
SECTION_NAME
- See Also:
-
SINGLE_KEY_SHORTCUTS
- See Also:
-
DEFAULT_SECTION_ORDER
public static final int DEFAULT_SECTION_ORDER- See Also:
-
-
Method Details
-
defineSection
The section's metadata. -
register
Register the section (idempotent: an existing section of the same name is kept).
-