public class ExtendedButton extends Button
Button.IPressable
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 |
---|
ExtendedButton(int xPos,
int yPos,
int width,
int height,
java.lang.String displayString,
Button.IPressable handler) |
Modifier and Type | Method and Description |
---|---|
void |
renderButton(int mouseX,
int mouseY,
float partial)
Draws this button to the screen.
|
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, 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
public ExtendedButton(int xPos, int yPos, int width, int height, java.lang.String displayString, Button.IPressable handler)
public void renderButton(int mouseX, int mouseY, float partial)
renderButton
in class Widget