Class FontStyle

java.lang.Object
org.teamapps.ux.component.format.FontStyle

public class FontStyle extends Object
  • Field Details

    • relativeFontSize

      protected float relativeFontSize
    • fontColor

      protected Color fontColor
    • backgroundColor

      protected Color backgroundColor
    • bold

      protected boolean bold
    • underline

      protected boolean underline
    • italic

      protected boolean italic
  • Constructor Details

    • FontStyle

      public FontStyle()
    • FontStyle

      public FontStyle(float relativeFontSize)
    • FontStyle

      public FontStyle(float relativeFontSize, Color fontColor)
    • FontStyle

      public FontStyle(float relativeFontSize, Color fontColor, Color backgroundColor, boolean bold, boolean underline, boolean italic)
  • Method Details

    • setFontColor

      public FontStyle setFontColor(Color fontColor)
    • setBackgroundColor

      public FontStyle setBackgroundColor(Color backgroundColor)
    • setBold

      public FontStyle setBold(boolean bold)
    • setUnderline

      public FontStyle setUnderline(boolean underline)
    • setItalic

      public FontStyle setItalic(boolean italic)
    • setRelativeFontSize

      public FontStyle setRelativeFontSize(float relativeFontSize)
    • getFontColor

      public Color getFontColor()
    • getBackgroundColor

      public Color getBackgroundColor()
    • isBold

      public boolean isBold()
    • isUnderline

      public boolean isUnderline()
    • isItalic

      public boolean isItalic()
    • getRelativeFontSize

      public float getRelativeFontSize()
    • createUiFontStyle

      public UiFontStyle createUiFontStyle()