@Environment(value=CLIENT) public class OptionButtonWidget extends ButtonWidget
ButtonWidget.PressAction| Modifier and Type | Field and Description |
|---|---|
private Option |
option |
onPressactive, alpha, height, hovered, nextNarration, visible, WIDGETS_LOCATION, width, x, yBACKGROUND_TEXTURE, GUI_ICONS_TEXTURE, STATS_ICON_TEXTURE| Constructor and Description |
|---|
OptionButtonWidget(int x,
int y,
int width,
int height,
Option option,
String text,
ButtonWidget.PressAction pressAction) |
onPresskeyPressed, onClickchangeFocus, clicked, getHeight, getMessage, getNarrationMessage, getWidth, getYImage, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onDrag, onFocusedChanged, onRelease, playDownSound, queueNarration, render, renderBg, renderButton, renderToolTip, setAlpha, setFocused, setMessage, setWidthdrawCenteredString, drawHorizontalLine, drawSprite, drawString, drawTexture, drawTexture, drawTexture, drawTexture, drawTexturedQuad, drawVerticalLine, fill, fill, fillGradient, getZOffset, setZOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharTyped, keyReleased, mouseMoved, mouseScrolledprivate final Option option
public OptionButtonWidget(int x,
int y,
int width,
int height,
Option option,
String text,
ButtonWidget.PressAction pressAction)