@Environment(value=CLIENT) public class DoubleOptionSliderWidget extends OptionSliderWidget implements OrderableTooltip
Modifier and Type | Field and Description |
---|---|
private DoubleOption |
option |
options
value
active, alpha, height, hovered, nextNarration, visible, WIDGETS_LOCATION, width, x, y
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Constructor and Description |
---|
DoubleOptionSliderWidget(GameOptions gameOptions,
int x,
int y,
int width,
int height,
DoubleOption option) |
Modifier and Type | Method and Description |
---|---|
protected void |
applyValue() |
Optional<List<OrderedText>> |
getOrderedTooltip() |
protected void |
updateMessage() |
getNarrationMessage, getYImage, keyPressed, onClick, onDrag, onRelease, playDownSound, renderBg
changeFocus, clicked, getHeight, getMessage, getWidth, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onFocusedChanged, queueNarration, render, renderButton, renderToolTip, setAlpha, setFocused, setMessage, setWidth
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, setZOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
charTyped, keyReleased, mouseMoved, mouseScrolled
private final DoubleOption option
public DoubleOptionSliderWidget(GameOptions gameOptions, int x, int y, int width, int height, DoubleOption option)
protected void applyValue()
applyValue
in class SliderWidget
protected void updateMessage()
updateMessage
in class SliderWidget
public Optional<List<OrderedText>> getOrderedTooltip()
getOrderedTooltip
in interface OrderableTooltip