Package arc

Interface KeyBinds.KeyBind

All Known Implementing Classes:
Binding
Enclosing class:
KeyBinds

public static interface KeyBinds.KeyBind
An interface to store type-safe keybind definitions. This interface is supposed to be implemented by an enum.
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    The 'new' category under which this keybind will be displayed in a keybind dialog.
    The default implementation returns can return the same default value for each device type.
    The unique name of this KeyCode.
  • Method Details

    • name

      String name()
      The unique name of this KeyCode. Usually implemented automatically by the enum type.
    • defaultValue

      The default implementation returns can return the same default value for each device type.
    • category

      default String category()
      The 'new' category under which this keybind will be displayed in a keybind dialog. Implementation of this method is optional.