public class CheckboxButton extends AbstractButton
active, alpha, height, isHovered, nextNarration, packedFGColor, visible, WIDGETS_LOCATION, width, x, y
BACKGROUND_LOCATION, blitOffset, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
CheckboxButton(int p_i51140_1_,
int p_i51140_2_,
int p_i51140_3_,
int p_i51140_4_,
java.lang.String p_i51140_5_,
boolean p_i51140_6_) |
Modifier and Type | Method and Description |
---|---|
boolean |
func_212942_a() |
void |
onPress() |
void |
renderButton(int p_renderButton_1_,
int p_renderButton_2_,
float p_renderButton_3_) |
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 CheckboxButton(int p_i51140_1_, int p_i51140_2_, int p_i51140_3_, int p_i51140_4_, java.lang.String p_i51140_5_, boolean p_i51140_6_)
public void onPress()
onPress
in class AbstractButton
public boolean func_212942_a()
public void renderButton(int p_renderButton_1_, int p_renderButton_2_, float p_renderButton_3_)
renderButton
in class Widget