public class GuiCheckBox extends GuiButton
BUTTON_TEXTURES, displayString, enabled, height, hovered, id, packedFGColour, visible, width, x, y
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiCheckBox(int id,
int xPos,
int yPos,
java.lang.String displayString,
boolean isChecked) |
Modifier and Type | Method and Description |
---|---|
void |
drawButton(Minecraft mc,
int mouseX,
int mouseY,
float partial) |
boolean |
isChecked() |
boolean |
mousePressed(Minecraft mc,
int mouseX,
int mouseY) |
void |
setIsChecked(boolean isChecked) |
drawButtonForegroundLayer, getButtonWidth, getHoverState, isMouseOver, mouseDragged, mouseReleased, playPressSound, setWidth
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
public GuiCheckBox(int id, int xPos, int yPos, java.lang.String displayString, boolean isChecked)
public void drawButton(Minecraft mc, int mouseX, int mouseY, float partial)
drawButton
in class GuiButton
public boolean mousePressed(Minecraft mc, int mouseX, int mouseY)
mousePressed
in class GuiButton
public boolean isChecked()
public void setIsChecked(boolean isChecked)