public class GuiKeyBindingList.KeyEntry extends java.lang.Object implements GuiListExtended.IGuiListEntry
Modifier and Type | Field and Description |
---|---|
private GuiButton |
btnChangeKeyBinding |
private GuiButton |
btnReset |
private KeyBinding |
keybinding |
private java.lang.String |
keyDesc |
Modifier | Constructor and Description |
---|---|
private |
KeyEntry(KeyBinding name) |
Modifier and Type | Method and Description |
---|---|
void |
drawEntry(int slotIndex,
int x,
int y,
int listWidth,
int slotHeight,
int mouseX,
int mouseY,
boolean isSelected,
float partialTicks) |
boolean |
mousePressed(int slotIndex,
int mouseX,
int mouseY,
int mouseEvent,
int relativeX,
int relativeY) |
void |
mouseReleased(int slotIndex,
int x,
int y,
int mouseEvent,
int relativeX,
int relativeY) |
void |
updatePosition(int slotIndex,
int x,
int y,
float partialTicks) |
private final KeyBinding keybinding
private final java.lang.String keyDesc
private final GuiButton btnChangeKeyBinding
private final GuiButton btnReset
private KeyEntry(KeyBinding name)
public void drawEntry(int slotIndex, int x, int y, int listWidth, int slotHeight, int mouseX, int mouseY, boolean isSelected, float partialTicks)
drawEntry
in interface GuiListExtended.IGuiListEntry
public boolean mousePressed(int slotIndex, int mouseX, int mouseY, int mouseEvent, int relativeX, int relativeY)
mousePressed
in interface GuiListExtended.IGuiListEntry
public void mouseReleased(int slotIndex, int x, int y, int mouseEvent, int relativeX, int relativeY)
mouseReleased
in interface GuiListExtended.IGuiListEntry
public void updatePosition(int slotIndex, int x, int y, float partialTicks)
updatePosition
in interface GuiListExtended.IGuiListEntry