Class FontStyle


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

      • 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 Detail

      • 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 Detail

      • 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()