Class FlatLaf.ActiveFont

java.lang.Object
com.formdev.flatlaf.FlatLaf.ActiveFont
All Implemented Interfaces:
UIDefaults.ActiveValue
Enclosing class:
FlatLaf

static class FlatLaf.ActiveFont extends Object implements UIDefaults.ActiveValue
  • Field Details

    • baseFontKey

      private final String baseFontKey
    • families

      private final List<String> families
    • style

      private final int style
    • styleChange

      private final int styleChange
    • absoluteSize

      private final int absoluteSize
    • relativeSize

      private final int relativeSize
    • scaleSize

      private final float scaleSize
    • font

      private FontUIResource font
    • lastBaseFont

      private Font lastBaseFont
    • inCreateValue

      private boolean inCreateValue
  • Constructor Details

    • ActiveFont

      ActiveFont(String baseFontKey, List<String> families, int style, int styleChange, int absoluteSize, int relativeSize, float scaleSize)
      Parameters:
      families - list of font families, or null
      style - new style of font, or -1
      styleChange - derive style of base font; or 0 (the lower 16 bits are added; the upper 16 bits are removed)
      absoluteSize - new size of font, or 0
      relativeSize - added to size of base font, or 0
      scaleSize - multiply size of base font, or 0
  • Method Details