public class RealmsButtonProxy extends Button implements RealmsAbstractButtonProxy<RealmsButton>
Button.IPressable
Modifier and Type | Field and Description |
---|---|
private RealmsButton |
button |
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 |
---|
RealmsButtonProxy(RealmsButton p_i50623_1_,
int p_i50623_2_,
int p_i50623_3_,
java.lang.String p_i50623_4_,
int p_i50623_5_,
int p_i50623_6_,
Button.IPressable p_i50623_7_) |
Modifier and Type | Method and Description |
---|---|
boolean |
active() |
void |
active(boolean p_active_1_) |
RealmsButton |
getButton() |
int |
getHeight() |
int |
getSuperYImage(boolean p_getSuperYImage_1_) |
int |
getWidth() |
int |
getYImage(boolean p_getYImage_1_) |
boolean |
isHovered() |
boolean |
isVisible() |
void |
onClick(double p_onClick_1_,
double p_onClick_3_) |
void |
onRelease(double p_onRelease_1_,
double p_onRelease_3_) |
void |
renderBg(Minecraft p_renderBg_1_,
int p_renderBg_2_,
int p_renderBg_3_) |
void |
renderButton(int p_renderButton_1_,
int p_renderButton_2_,
float p_renderButton_3_) |
void |
setMessage(java.lang.String p_setMessage_1_) |
void |
setVisible(boolean p_setVisible_1_) |
void |
superRenderButton(int p_superRenderButton_1_,
int p_superRenderButton_2_,
float p_superRenderButton_3_) |
int |
y() |
keyPressed
changeFocus, clearFGColor, clicked, getFGColor, getMessage, getNarrationMessage, isFocused, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onDrag, onFocusedChanged, playDownSound, queueNarration, render, renderToolTip, setAlpha, setFGColor, setFocused, setHeight, 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 RealmsButton button
public RealmsButtonProxy(RealmsButton p_i50623_1_, int p_i50623_2_, int p_i50623_3_, java.lang.String p_i50623_4_, int p_i50623_5_, int p_i50623_6_, Button.IPressable p_i50623_7_)
public boolean active()
active
in interface RealmsAbstractButtonProxy<RealmsButton>
public void active(boolean p_active_1_)
active
in interface RealmsAbstractButtonProxy<RealmsButton>
public boolean isVisible()
isVisible
in interface RealmsAbstractButtonProxy<RealmsButton>
public void setVisible(boolean p_setVisible_1_)
setVisible
in interface RealmsAbstractButtonProxy<RealmsButton>
public void setMessage(java.lang.String p_setMessage_1_)
setMessage
in class Widget
public int y()
public void onClick(double p_onClick_1_, double p_onClick_3_)
onClick
in class AbstractButton
public void onRelease(double p_onRelease_1_, double p_onRelease_3_)
public void renderBg(Minecraft p_renderBg_1_, int p_renderBg_2_, int p_renderBg_3_)
public void renderButton(int p_renderButton_1_, int p_renderButton_2_, float p_renderButton_3_)
renderButton
in class Widget
public void superRenderButton(int p_superRenderButton_1_, int p_superRenderButton_2_, float p_superRenderButton_3_)
public RealmsButton getButton()
getButton
in interface RealmsAbstractButtonProxy<RealmsButton>
public int getSuperYImage(boolean p_getSuperYImage_1_)