public class UnicodeGlyphButton extends ExtendedButton
Button.IPressable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
glyph |
float |
glyphScale |
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 |
---|
UnicodeGlyphButton(int xPos,
int yPos,
int width,
int height,
java.lang.String displayString,
java.lang.String glyph,
float glyphScale,
Button.IPressable handler) |
Modifier and Type | Method and Description |
---|---|
void |
render(int mouseX,
int mouseY,
float partial) |
renderButton
keyPressed, onClick
changeFocus, clearFGColor, clicked, getFGColor, getHeight, getMessage, getNarrationMessage, getWidth, getYImage, isFocused, isHovered, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrate, onDrag, onFocusedChanged, onRelease, playDownSound, queueNarration, 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 UnicodeGlyphButton(int xPos, int yPos, int width, int height, java.lang.String displayString, java.lang.String glyph, float glyphScale, Button.IPressable handler)
public void render(int mouseX, int mouseY, float partial)
render
in interface IRenderable
render
in class Widget