public class GuiCheckBox extends Button
Button.IPressable
active, alpha, height, isHovered, nextNarration, packedFGColor, visible, WIDGETS_LOCATION, width, x, y
BACKGROUND_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, onClick
changeFocus, 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, setWidth
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fillGradient, hLine, innerBlit, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
charTyped, keyReleased, mouseMoved, mouseScrolled
public GuiCheckBox(int xPos, int yPos, java.lang.String displayString, boolean isChecked)
public void renderButton(int mouseX, int mouseY, float partial)
renderButton
in class Widget
public boolean isChecked()
public void setIsChecked(boolean isChecked)