@Environment(value=CLIENT) class MerchantScreen.WidgetButtonPage extends ButtonWidget
ButtonWidget.PressAction, ButtonWidget.TooltipSupplier| Modifier and Type | Field and Description |
|---|---|
(package private) int |
index |
EMPTY, onPress, tooltipSupplieractive, alpha, height, hovered, nextNarration, visible, WIDGETS_LOCATION, width, x, yGUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE| Constructor and Description |
|---|
WidgetButtonPage(int x,
int y,
int index,
ButtonWidget.PressAction onPress) |
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex() |
void |
renderToolTip(MatrixStack matrices,
int mouseX,
int mouseY) |
onPress, renderButtonkeyPressed, onClickchangeFocus, clicked, getHeight, getMessage, getNarrationMessage, getWidth, getYImage, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onDrag, onFocusedChanged, onRelease, playDownSound, queueNarration, render, renderBg, 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, mouseScrolledpublic WidgetButtonPage(int x,
int y,
int index,
ButtonWidget.PressAction onPress)
public int getIndex()
public void renderToolTip(MatrixStack matrices, int mouseX, int mouseY)
renderToolTip in class ButtonWidget