public class Button extends AbstractButton
| Modifier and Type | Class and Description |
|---|---|
static interface |
Button.IPressable |
| Modifier and Type | Field and Description |
|---|---|
protected Button.IPressable |
onPress |
active, alpha, height, isHovered, nextNarration, packedFGColor, visible, WIDGETS_LOCATION, width, x, yBACKGROUND_LOCATION, blitOffset, GUI_ICONS_LOCATION, STATS_ICON_LOCATION| Constructor and Description |
|---|
Button(int widthIn,
int heightIn,
int p_i51141_3_,
int p_i51141_4_,
java.lang.String text,
Button.IPressable onPress) |
| Modifier and Type | Method and Description |
|---|---|
void |
onPress() |
keyPressed, onClickchangeFocus, clicked, getFGColor, getHeight, getMessage, getNarrationMessage, getWidth, getYImage, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onDrag, onFocusedChanged, onRelease, playDownSound, render, renderBg, renderButton, renderToolTip, setAlpha, setFGColor, setFocused, setHeight, setMessage, setWidthblit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fillGradient, hLine, innerBlit, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharTyped, keyReleased, mouseMoved, mouseScrolledprotected final Button.IPressable onPress
public Button(int widthIn,
int heightIn,
int p_i51141_3_,
int p_i51141_4_,
java.lang.String text,
Button.IPressable onPress)
public void onPress()
onPress in class AbstractButton