public class GuiCheckBox extends Button
Button.IPressableactive, alpha, height, isHovered, nextNarration, packedFGColor, visible, WIDGETS_LOCATION, width, x, yBACKGROUND_LOCATION, blitOffset, GUI_ICONS_LOCATION, STATS_ICON_LOCATION| Constructor and Description |
|---|
GuiCheckBox(int xPos,
int yPos,
java.lang.String displayString,
boolean isChecked) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isChecked() |
void |
onPress() |
void |
renderButton(int mouseX,
int mouseY,
float partial) |
void |
setIsChecked(boolean isChecked) |
keyPressed, onClickchangeFocus, clicked, getFGColor, getHeight, getMessage, getNarrationMessage, getWidth, getYImage, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onDrag, onFocusedChanged, onRelease, playDownSound, render, renderBg, renderToolTip, setAlpha, setFGColor, setFocused, setHeight, setMessage, setWidthblit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fillGradient, hLine, innerBlit, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharTyped, keyReleased, mouseMoved, mouseScrolledpublic GuiCheckBox(int xPos,
int yPos,
java.lang.String displayString,
boolean isChecked)
public void renderButton(int mouseX,
int mouseY,
float partial)
renderButton in class Widgetpublic boolean isChecked()
public void setIsChecked(boolean isChecked)