Enum Class GlobalKeybinds
- All Implemented Interfaces:
Serializable,Comparable<GlobalKeybinds>,Constable
The default key binds within J3Engine.
- Author:
- Lehlogonolo Poole
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionkeystroke to directly focus into the command palette.Keystroke to hide the command pallete.keystroke to move the camera backward (along the forward vector).keystroke to move the camera forward (along the forward vector).keystroke to move the camera down (along the up vector).keystroke to move the camera left (along the right vector).keystroke to move the camera right (along the right vector).keystroke to move the camera up (along the up vector).Paired withSelectionMouseOwnerwhere if the user holds down I while making a selection it will switch to the subtract selection mode.Wrapper ofKeyBindings.clearInferredSelectionTypePaired withSelectionMouseOwnerwhere if the user holds down U while making a selection it will switch to the add selection mode.Wrapper ofKeyBindings.clearInferredSelectionType -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateGlobalKeybinds(J3Key key) privateGlobalKeybinds(J3Key key, boolean addDownMask) -
Method Summary
Modifier and TypeMethodDescriptiongetKey()booleanstatic GlobalKeybindsReturns the enum constant of this class with the specified name.static GlobalKeybinds[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FOCUS_COMMAND_PALETTE
keystroke to directly focus into the command palette. -
MOVE_CAM_FORWARD
keystroke to move the camera forward (along the forward vector). -
MOVE_CAM_BACKWARD
keystroke to move the camera backward (along the forward vector). -
MOVE_CAMERA_LEFT
keystroke to move the camera left (along the right vector). -
MOVE_CAMERA_RIGHT
keystroke to move the camera right (along the right vector). -
MOVE_CAMERA_UP
keystroke to move the camera up (along the up vector). -
MOVE_CAMERA_DOWN
keystroke to move the camera down (along the up vector). -
SELECT_SUBTRACT_DOWN
Paired withSelectionMouseOwnerwhere if the user holds down I while making a selection it will switch to the subtract selection mode. This is then reset bySELECT_SUBTRACT_UP -
SELECT_SUBTRACT_UP
Wrapper ofKeyBindings.clearInferredSelectionType- See Also:
-
SELECT_UNION_DOWN
Paired withSelectionMouseOwnerwhere if the user holds down U while making a selection it will switch to the add selection mode. This is then reset bySELECT_UNION_UP -
SELECT_UNION_UP
Wrapper ofKeyBindings.clearInferredSelectionType -
HIDECMDP
Keystroke to hide the command pallete. -
SELECT_ALL
-
CAPS_LOCK
-
F1
-
-
Field Details
-
key
-
addDownMask
private final boolean addDownMask
-
-
Constructor Details
-
GlobalKeybinds
-
GlobalKeybinds
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getKey
-
hasAddDownMask
public boolean hasAddDownMask()
-