public class LockIconButton extends Button
Button.IPressable
active, alpha, height, isHovered, nextNarration, packedFGColor, visible, WIDGETS_LOCATION, width, x, y
BACKGROUND_LOCATION, blitOffset, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
LockIconButton(int p_i51133_1_,
int p_i51133_2_,
Button.IPressable p_i51133_3_) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getNarrationMessage() |
boolean |
isLocked() |
void |
renderButton(int p_renderButton_1_,
int p_renderButton_2_,
float p_renderButton_3_) |
void |
setLocked(boolean lockedIn) |
keyPressed, onClick
changeFocus, clicked, getFGColor, getHeight, getMessage, getWidth, getYImage, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onDrag, onFocusedChanged, onRelease, playDownSound, render, renderBg, renderToolTip, setAlpha, setFGColor, setFocused, setHeight, setMessage, setWidth
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fillGradient, hLine, innerBlit, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
charTyped, keyReleased, mouseMoved, mouseScrolled
public LockIconButton(int p_i51133_1_, int p_i51133_2_, Button.IPressable p_i51133_3_)
protected java.lang.String getNarrationMessage()
getNarrationMessage
in class Widget
public boolean isLocked()
public void setLocked(boolean lockedIn)
public void renderButton(int p_renderButton_1_, int p_renderButton_2_, float p_renderButton_3_)
renderButton
in class Widget