Class FontStyle

java.lang.Object
de.intarsys.cwt.font.FontStyle

public class FontStyle extends Object
  • Field Details

    • COUNT

      public static final int COUNT
      The number of font styles
      See Also:
    • UNDEFINED

      public static final FontStyle UNDEFINED
      The enumeration of supported font styles
    • REGULAR

      public static final FontStyle REGULAR
    • ITALIC

      public static final FontStyle ITALIC
    • BOLD

      public static final FontStyle BOLD
    • BOLD_ITALIC

      public static final FontStyle BOLD_ITALIC
  • Method Details

    • getFontStyle

      public static FontStyle getFontStyle(String name)
    • getBoldFlavor

      public FontStyle getBoldFlavor()
    • getId

      public String getId()
    • getIndex

      protected int getIndex()
    • getItalicFlavor

      public FontStyle getItalicFlavor()
    • toString

      public String toString()
      Overrides:
      toString in class Object