public class OptionSlider extends AbstractSlider
Modifier and Type | Field and Description |
---|---|
private SliderPercentageOption |
option |
options, value
active, alpha, height, isHovered, nextNarration, packedFGColor, UNSET_FG_COLOR, visible, WIDGETS_LOCATION, width, x, y
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
OptionSlider(GameSettings settings,
int xIn,
int yIn,
int widthIn,
int heightIn,
SliderPercentageOption optionIn) |
Modifier and Type | Method and Description |
---|---|
protected void |
applyValue() |
protected void |
updateMessage() |
getNarrationMessage, getYImage, keyPressed, onClick, onDrag, onRelease, playDownSound, renderBg
changeFocus, clearFGColor, clicked, getFGColor, getHeight, getMessage, getWidth, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onFocusedChanged, queueNarration, render, renderButton, renderToolTip, setAlpha, setFGColor, setFocused, setHeight, setMessage, setWidth
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
charTyped, keyReleased, mouseMoved, mouseScrolled
private final SliderPercentageOption option
public OptionSlider(GameSettings settings, int xIn, int yIn, int widthIn, int heightIn, SliderPercentageOption optionIn)
protected void applyValue()
applyValue
in class AbstractSlider
protected void updateMessage()
updateMessage
in class AbstractSlider