public class ChangePageButton extends Button
Button.IPressable
Modifier and Type | Field and Description |
---|---|
private boolean |
isForward |
private boolean |
playTurnSound |
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 |
---|
ChangePageButton(int p_i51079_1_,
int p_i51079_2_,
boolean p_i51079_3_,
Button.IPressable p_i51079_4_,
boolean p_i51079_5_) |
Modifier and Type | Method and Description |
---|---|
void |
playDownSound(SoundHandler p_playDownSound_1_) |
void |
renderButton(int p_renderButton_1_,
int p_renderButton_2_,
float p_renderButton_3_) |
keyPressed, onClick
changeFocus, clearFGColor, clicked, getFGColor, getHeight, getMessage, getNarrationMessage, getWidth, getYImage, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onDrag, onFocusedChanged, onRelease, queueNarration, render, renderBg, 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 boolean isForward
private final boolean playTurnSound
public ChangePageButton(int p_i51079_1_, int p_i51079_2_, boolean p_i51079_3_, Button.IPressable p_i51079_4_, boolean p_i51079_5_)
public void renderButton(int p_renderButton_1_, int p_renderButton_2_, float p_renderButton_3_)
renderButton
in class Widget
public void playDownSound(SoundHandler p_playDownSound_1_)
playDownSound
in class Widget