Package net.runelite.client.config
Class ModifierlessKeybind
- java.lang.Object
-
- net.runelite.client.config.Keybind
-
- net.runelite.client.config.ModifierlessKeybind
-
public class ModifierlessKeybind extends Keybind
-
-
Constructor Summary
Constructors Constructor Description ModifierlessKeybind(int keyCode, int modifiers)
ModifierlessKeybind(KeyEvent e)
Constructs a keybind with that matches the passed KeyEvent
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches(KeyEvent e)
If the KeyEvent is from a KeyPressed event this returns if the Event is this hotkey being pressed.-
Methods inherited from class net.runelite.client.config.Keybind
canEqual, equals, getKeyCode, getModifierForKeyCode, getModifiers, hashCode, matches, toString
-
-
-
-
Constructor Detail
-
ModifierlessKeybind
public ModifierlessKeybind(int keyCode, int modifiers)
-
ModifierlessKeybind
public ModifierlessKeybind(KeyEvent e)
Constructs a keybind with that matches the passed KeyEvent
-
-