@Environment(value=CLIENT) class MerchantScreen.WidgetButtonPage extends ButtonWidget
ButtonWidget.PressAction
Modifier and Type | Field and Description |
---|---|
(package private) int |
index |
onPress
active, alpha, height, hovered, nextNarration, visible, WIDGETS_LOCATION, width, x, y
BACKGROUND_TEXTURE, GUI_ICONS_TEXTURE, STATS_ICON_TEXTURE
Constructor and Description |
---|
WidgetButtonPage(int int2,
int int3,
int int4,
ButtonWidget.PressAction pressAction) |
Modifier and Type | Method and Description |
---|---|
int |
getIndex() |
void |
renderToolTip(int mouseX,
int mouseY) |
onPress
keyPressed, onClick
changeFocus, clicked, getHeight, getMessage, getNarrationMessage, getWidth, getYImage, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onDrag, onFocusedChanged, onRelease, playDownSound, queueNarration, render, renderBg, renderButton, setAlpha, setFocused, setMessage, setWidth
drawCenteredString, drawHorizontalLine, drawSprite, drawString, drawTexture, drawTexture, drawTexture, drawTexture, drawTexturedQuad, drawVerticalLine, fill, fill, fillGradient, getZOffset, setZOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
charTyped, keyReleased, mouseMoved, mouseScrolled
public WidgetButtonPage(int int2, int int3, int int4, ButtonWidget.PressAction pressAction)
public int getIndex()
public void renderToolTip(int mouseX, int mouseY)
renderToolTip
in class AbstractButtonWidget