public class Button extends AbstractButton
修飾子とタイプ | クラスと説明 |
---|---|
static interface |
Button.IPressable |
修飾子とタイプ | フィールドと説明 |
---|---|
protected Button.IPressable |
onPress |
active, alpha, height, isHovered, nextNarration, packedFGColor, UNSET_FG_COLOR, visible, WIDGETS_LOCATION, width, x, y
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
コンストラクタと説明 |
---|
Button(int widthIn,
int heightIn,
int width,
int height,
java.lang.String text,
Button.IPressable onPress) |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
onPress() |
keyPressed, onClick
changeFocus, clearFGColor, clicked, getFGColor, getHeight, getMessage, getNarrationMessage, getWidth, getYImage, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onDrag, onFocusedChanged, onRelease, playDownSound, queueNarration, render, renderBg, renderButton, renderToolTip, setAlpha, setFGColor, setFocused, setHeight, setMessage, 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
protected final Button.IPressable onPress
public Button(int widthIn, int heightIn, int width, int height, java.lang.String text, Button.IPressable onPress)
public void onPress()
onPress
クラス内 AbstractButton