22 package com.realtime.crossfire.jxclient.gui.keybindings;
25 import org.jetbrains.annotations.NotNull;
26 import org.jetbrains.annotations.Nullable;
72 public abstract boolean equals(@Nullable
final Object obj);
boolean isDefault()
Returns whether the key binding is a "default" binding which should not be saved. ...
abstract boolean equals(@Nullable final Object obj)
final CommandList commands
The associated CommandList.
abstract boolean matchesKeyCode(@NotNull final KeyEvent2 keyEvent)
Checks whether this key binding matches a key code/modifiers pair.
Represents a pressed or released key.
String getCommandString()
Returns the commands as a string.
KeyBinding(@NotNull final CommandList commands, final boolean isDefault)
Creates a new instance.
abstract boolean matchesKeyChar(final char keyChar)
Check whether this key binding matches a key character.
String getCommandString()
Returns the commands as a string.
Abstract base class for key bindings.
A list of GUICommand instances.
abstract String getBindingDescription()
Return the binding as a human-readable text.
final boolean isDefault
Whether the key binding is a "default" binding which should not be saved.
CommandList getCommands()
Returns the associated CommandList.