Enum Class GlobalKeybinds

java.lang.Object
java.lang.Enum<GlobalKeybinds>
com.j3d.engine.interact.input.keyboard.GlobalKeybinds
All Implemented Interfaces:
Serializable, Comparable<GlobalKeybinds>, Constable

public enum GlobalKeybinds extends Enum<GlobalKeybinds>
The default key binds within J3Engine.
Author:
Lehlogonolo Poole
See Also:
  • Enum Constant Details

    • FOCUS_COMMAND_PALETTE

      public static final GlobalKeybinds FOCUS_COMMAND_PALETTE
      keystroke to directly focus into the command palette.
    • MOVE_CAM_FORWARD

      public static final GlobalKeybinds MOVE_CAM_FORWARD
      keystroke to move the camera forward (along the forward vector).
    • MOVE_CAM_BACKWARD

      public static final GlobalKeybinds MOVE_CAM_BACKWARD
      keystroke to move the camera backward (along the forward vector).
    • MOVE_CAMERA_LEFT

      public static final GlobalKeybinds MOVE_CAMERA_LEFT
      keystroke to move the camera left (along the right vector).
    • MOVE_CAMERA_RIGHT

      public static final GlobalKeybinds MOVE_CAMERA_RIGHT
      keystroke to move the camera right (along the right vector).
    • MOVE_CAMERA_UP

      public static final GlobalKeybinds MOVE_CAMERA_UP
      keystroke to move the camera up (along the up vector).
    • MOVE_CAMERA_DOWN

      public static final GlobalKeybinds MOVE_CAMERA_DOWN
      keystroke to move the camera down (along the up vector).
    • SELECT_SUBTRACT_DOWN

      public static final GlobalKeybinds SELECT_SUBTRACT_DOWN
      Paired with SelectionMouseOwner where if the user holds down I while making a selection it will switch to the subtract selection mode. This is then reset by SELECT_SUBTRACT_UP
    • SELECT_SUBTRACT_UP

      public static final GlobalKeybinds SELECT_SUBTRACT_UP
      See Also:
    • SELECT_UNION_DOWN

      public static final GlobalKeybinds SELECT_UNION_DOWN
      Paired with SelectionMouseOwner where if the user holds down U while making a selection it will switch to the add selection mode. This is then reset by SELECT_UNION_UP
    • SELECT_UNION_UP

      public static final GlobalKeybinds SELECT_UNION_UP
    • HIDECMDP

      public static final GlobalKeybinds HIDECMDP
      Keystroke to hide the command pallete.
    • SELECT_ALL

      public static final GlobalKeybinds SELECT_ALL
    • CAPS_LOCK

      public static final GlobalKeybinds CAPS_LOCK
    • F1

      public static final GlobalKeybinds F1
  • Field Details

    • key

      private final J3Key key
    • addDownMask

      private final boolean addDownMask
  • Constructor Details

    • GlobalKeybinds

      private GlobalKeybinds(J3Key key)
    • GlobalKeybinds

      private GlobalKeybinds(J3Key key, boolean addDownMask)
  • Method Details

    • values

      public static GlobalKeybinds[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static GlobalKeybinds valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getKey

      public J3Key getKey()
    • hasAddDownMask

      public boolean hasAddDownMask()