public class Keybind
extends java.lang.Object
| Constructor | Description |
|---|---|
Keybind(IResourceName name,
int defKey) |
|
Keybind(IResourceName name,
int defKey,
boolean defIsMouse) |
Deprecated.
Use the
Keybind(IResourceName, int) constructor |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getDisplayName() |
|
int |
getKey() |
|
IResourceName |
getName() |
|
boolean |
isDown() |
|
boolean |
isKey(int key) |
|
boolean |
isMouse() |
|
static boolean |
isMouse(int key) |
|
boolean |
isPressed() |
|
Keybind |
register() |
|
void |
setBind(int key) |
@Deprecated public Keybind(IResourceName name, int defKey, boolean defIsMouse)
Keybind(IResourceName, int) constructorpublic Keybind(IResourceName name, int defKey)
@ApiInternal public void setBind(int key)
public boolean isDown()
public boolean isPressed()
public java.lang.String getDisplayName()
public boolean isKey(int key)
public IResourceName getName()
public int getKey()
public boolean isMouse()
public Keybind register()
public static boolean isMouse(int key)