@Environment(value=CLIENT) class RealmsSlotOptionsScreen.SettingsSlider extends SliderWidget
Modifier and Type | Field and Description |
---|---|
private double |
max |
private double |
min |
value
active, alpha, height, hovered, nextNarration, visible, WIDGETS_LOCATION, width, x, y
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Constructor and Description |
---|
SettingsSlider(int id,
int x,
int y,
int width,
float min,
float max) |
Modifier and Type | Method and Description |
---|---|
void |
applyValue() |
void |
onClick(double mouseX,
double mouseY) |
void |
onRelease(double mouseX,
double mouseY) |
protected void |
updateMessage() |
getNarrationMessage, getYImage, keyPressed, onDrag, 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
public SettingsSlider(int id, int x, int y, int width, float min, float max)
public void applyValue()
applyValue
in class SliderWidget
protected void updateMessage()
updateMessage
in class SliderWidget
public void onClick(double mouseX, double mouseY)
onClick
in class SliderWidget
public void onRelease(double mouseX, double mouseY)
onRelease
in class SliderWidget