@Environment(value=CLIENT) public class DoubleOptionSliderWidget extends OptionSliderWidget implements OrderableTooltip
| Modifier and Type | Field and Description |
|---|---|
private DoubleOption |
option |
optionsvalueactive, alpha, height, hovered, nextNarration, visible, WIDGETS_LOCATION, width, x, yGUI_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, renderBgchangeFocus, clicked, getHeight, getMessage, getWidth, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onFocusedChanged, queueNarration, render, renderButton, renderToolTip, setAlpha, setFocused, setMessage, setWidthdrawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, setZOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharTyped, keyReleased, mouseMoved, mouseScrolledprivate final DoubleOption option
public DoubleOptionSliderWidget(GameOptions gameOptions, int x, int y, int width, int height, DoubleOption option)
protected void applyValue()
applyValue in class SliderWidgetprotected void updateMessage()
updateMessage in class SliderWidgetpublic Optional<List<OrderedText>> getOrderedTooltip()
getOrderedTooltip in interface OrderableTooltip