public abstract class AbstractSlider extends Widget
修飾子とタイプ | フィールドと説明 |
---|---|
protected GameSettings |
options |
protected double |
value |
active, alpha, height, isHovered, nextNarration, packedFGColor, UNSET_FG_COLOR, visible, WIDGETS_LOCATION, width, x, y
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
修飾子 | コンストラクタと説明 |
---|---|
protected |
AbstractSlider(GameSettings options,
int xIn,
int yIn,
int widthIn,
int heightIn,
double valueIn) |
protected |
AbstractSlider(int xIn,
int yIn,
int widthIn,
int heightIn,
double valueIn) |
修飾子とタイプ | メソッドと説明 |
---|---|
protected abstract void |
applyValue() |
protected java.lang.String |
getNarrationMessage() |
protected int |
getYImage(boolean p_getYImage_1_) |
boolean |
keyPressed(int p_keyPressed_1_,
int p_keyPressed_2_,
int p_keyPressed_3_) |
void |
onClick(double p_onClick_1_,
double p_onClick_3_) |
protected void |
onDrag(double p_onDrag_1_,
double p_onDrag_3_,
double p_onDrag_5_,
double p_onDrag_7_) |
void |
onRelease(double p_onRelease_1_,
double p_onRelease_3_) |
void |
playDownSound(SoundHandler p_playDownSound_1_) |
protected void |
renderBg(Minecraft p_renderBg_1_,
int p_renderBg_2_,
int p_renderBg_3_) |
protected abstract void |
updateMessage() |
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
protected final GameSettings options
protected double value
protected AbstractSlider(int xIn, int yIn, int widthIn, int heightIn, double valueIn)
protected AbstractSlider(GameSettings options, int xIn, int yIn, int widthIn, int heightIn, double valueIn)
protected java.lang.String getNarrationMessage()
getNarrationMessage
クラス内 Widget
protected void renderBg(Minecraft p_renderBg_1_, int p_renderBg_2_, int p_renderBg_3_)
public boolean keyPressed(int p_keyPressed_1_, int p_keyPressed_2_, int p_keyPressed_3_)
protected void onDrag(double p_onDrag_1_, double p_onDrag_3_, double p_onDrag_5_, double p_onDrag_7_)
public void playDownSound(SoundHandler p_playDownSound_1_)
playDownSound
クラス内 Widget
public void onRelease(double p_onRelease_1_, double p_onRelease_3_)
protected abstract void updateMessage()
protected abstract void applyValue()