Class UnicodeGlyphButton

All Implemented Interfaces:
GuiEventListener, Renderable, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier, IAbstractWidgetExtension

public class UnicodeGlyphButton extends ExtendedButton
This class provides a button that shows a string glyph at the beginning. The glyph can be scaled using the glyphScale parameter.
Author:
bspkrs
  • Field Details

    • glyph

      public String glyph
    • glyphScale

      public float glyphScale
  • Constructor Details

    • UnicodeGlyphButton

      public UnicodeGlyphButton(int xPos, int yPos, int width, int height, Component displayString, String glyph, float glyphScale, Button.OnPress handler)
  • Method Details