public class GuiListButton extends GuiButton
Modifier and Type | Field and Description |
---|---|
private GuiPageButtonList.GuiResponder |
guiResponder |
private java.lang.String |
localizationStr |
private boolean |
value |
BUTTON_TEXTURES, displayString, enabled, height, hovered, id, packedFGColour, visible, width, x, y
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiListButton(GuiPageButtonList.GuiResponder responder,
int buttonId,
int x,
int y,
java.lang.String localizationStrIn,
boolean valueIn) |
Modifier and Type | Method and Description |
---|---|
private java.lang.String |
buildDisplayString() |
boolean |
mousePressed(Minecraft mc,
int mouseX,
int mouseY) |
void |
setValue(boolean valueIn) |
drawButton, drawButtonForegroundLayer, getButtonWidth, getHoverState, isMouseOver, mouseDragged, mouseReleased, playPressSound, setWidth
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
private boolean value
private final java.lang.String localizationStr
private final GuiPageButtonList.GuiResponder guiResponder
public GuiListButton(GuiPageButtonList.GuiResponder responder, int buttonId, int x, int y, java.lang.String localizationStrIn, boolean valueIn)
private java.lang.String buildDisplayString()
public void setValue(boolean valueIn)
public boolean mousePressed(Minecraft mc, int mouseX, int mouseY)
mousePressed
in class GuiButton