public class GuiKeyBindingList.CategoryEntry extends java.lang.Object implements GuiListExtended.IGuiListEntry
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
labelText |
private int |
labelWidth |
Constructor and Description |
---|
CategoryEntry(java.lang.String 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 java.lang.String labelText
private final int labelWidth
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