Class FontStyle

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

public class FontStyle
extends java.lang.Object
  • Field Details

    • relativeFontSize

      protected float relativeFontSize
    • fontColor

      protected org.teamapps.common.format.Color fontColor
    • backgroundColor

      protected org.teamapps.common.format.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, org.teamapps.common.format.Color fontColor)
    • FontStyle

      public FontStyle​(float relativeFontSize, org.teamapps.common.format.Color fontColor, org.teamapps.common.format.Color backgroundColor, boolean bold, boolean underline, boolean italic)
  • Method Details

    • setFontColor

      public FontStyle setFontColor​(org.teamapps.common.format.Color fontColor)
    • setBackgroundColor

      public FontStyle setBackgroundColor​(org.teamapps.common.format.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 org.teamapps.common.format.Color getFontColor()
    • getBackgroundColor

      public org.teamapps.common.format.Color getBackgroundColor()
    • isBold

      public boolean isBold()
    • isUnderline

      public boolean isUnderline()
    • isItalic

      public boolean isItalic()
    • getRelativeFontSize

      public float getRelativeFontSize()
    • createUiFontStyle

      public org.teamapps.dto.UiFontStyle createUiFontStyle()