public class GuiCheckBox extends GuiButton
BUTTON_TEXTURES, displayString, enabled, height, hovered, id, packedFGColor, 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 |
---|---|
boolean |
isChecked() |
void |
onClick(double mouseX,
double mouseY) |
void |
render(int mouseX,
int mouseY,
float partial) |
void |
setIsChecked(boolean isChecked) |
drawButtonForegroundLayer, getHoverState, getWidth, isMouseOver, isPressable, mouseClicked, mouseDragged, mouseReleased, onDrag, onRelease, playPressSound, renderBg, setWidth
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canFocus, charTyped, focusChanged, keyPressed, keyReleased, mouseScrolled
public GuiCheckBox(int id, int xPos, int yPos, java.lang.String displayString, boolean isChecked)