public class GuiCheckBox extends GuiButton
BUTTON_TEXTURES, displayString, enabled, height, hovered, id, packedFGColor, visible, width, x, yICONS, 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, setWidthdrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanFocus, charTyped, focusChanged, keyPressed, keyReleased, mouseScrolledpublic GuiCheckBox(int id,
int xPos,
int yPos,
java.lang.String displayString,
boolean isChecked)