Enum Class FontFamilies

java.lang.Object
java.lang.Enum<FontFamilies>
com.github.tadukoo.view.font.FontFamilies
All Implemented Interfaces:
FontConstants, Serializable, Comparable<FontFamilies>, Constable

public enum FontFamilies extends Enum<FontFamilies> implements FontConstants
Contains an enumeration of FontFamilies supported via use of the Tadukoo Fonts project. This enum includes the logical fonts from Java, some proprietary fonts (which have an open source alternate listed in case the host does not have the proprietary font), and a collection of open source fonts.
Version:
Alpha v.0.2
Author:
Logan Ferree (Tadukoo)
  • Enum Constant Details

    • DIALOG

      public static final FontFamilies DIALOG
      Logical Font: Font.DIALOG
    • DIALOG_INPUT

      public static final FontFamilies DIALOG_INPUT
      Logical Font: Font.DIALOG_INPUT
    • MONOSPACED

      public static final FontFamilies MONOSPACED
      Logical Font: Font.MONOSPACED
    • SANS_SERIF

      public static final FontFamilies SANS_SERIF
      Logical Font: Font.SANS_SERIF
    • SERIF

      public static final FontFamilies SERIF
      Logical Font: Font.SERIF
    • ARIMO

      public static final FontFamilies ARIMO
      Open Source Font: Arimo - made as an alternate to ARIAL
    • ARIAL

      public static final FontFamilies ARIAL
      Proprietary Font: Arial - alternate is ARIMO
    • HELVETICA

      public static final FontFamilies HELVETICA
      Proprietary Font: Helvetica - alternate is ARIMO
    • CARLITO

      public static final FontFamilies CARLITO
      Open Source Font: Carlito - made as an alternate to CALIBRI
    • CALIBRI

      public static final FontFamilies CALIBRI
      Proprietary Font: Calibri - alternate is CARLITO
    • CALADEA

      public static final FontFamilies CALADEA
      Open Source Font: Caladea - made as an alternate to CAMBRIA
    • CAMBRIA

      public static final FontFamilies CAMBRIA
      Proprietary Font: Cambria - alternate is CALADEA
    • COUSINE

      public static final FontFamilies COUSINE
      Open Source Font: Cousine - made as an alternate to COURIER
    • COURIER

      public static final FontFamilies COURIER
      Proprietary Font: Courier - alternate is COUSINE
    • COURIER_NEW

      public static final FontFamilies COURIER_NEW
      Proprietary Font: Courier New - alternate is COUSINE
    • COMIC_RELIEF

      public static final FontFamilies COMIC_RELIEF
      Open Source Font: Comic Relief - made as an alternate to COMIC_SANS_MS
    • COMIC_SANS_MS

      public static final FontFamilies COMIC_SANS_MS
      Proprietary Font: Comic Sans MS - alternate is COMIC_RELIEF
    • GELASIO

      public static final FontFamilies GELASIO
      Open Source Font: Gelasio - made as an alternate to GEORGIA
    • GEORGIA

      public static final FontFamilies GEORGIA
      Proprietary Font: Georgia - alternate is GELASIO
    • SELAWIK

      public static final FontFamilies SELAWIK
      Open Source Font: Selawik - made as an alternate to SEGOE_UI
    • SEGOE_UI

      public static final FontFamilies SEGOE_UI
      Proprietary Font: Selawik - alternate is SELAWIK
    • WINE_TAHOMA

      public static final FontFamilies WINE_TAHOMA
      Open Source Font: Wine Tahoma - made as an alternate to TAHOMA
    • TAHOMA

      public static final FontFamilies TAHOMA
      Proprietary Font: Tahoma - alternate is WINE_TAHOMA
    • TINOS

      public static final FontFamilies TINOS
      Open Source Font: Tinos - made as an alternate to TIMES_NEW_ROMAN
    • TIMES

      public static final FontFamilies TIMES
      Proprietary Font: Times - alternate is TINOS
    • TIMES_NEW_ROMAN

      public static final FontFamilies TIMES_NEW_ROMAN
      Proprietary Font: Times New Roman - alternate is TINOS
    • BANGERS

      public static final FontFamilies BANGERS
      Open Source Font: Bangers
    • CALLIGRASERIF

      public static final FontFamilies CALLIGRASERIF
      Open Source Font: Calligraserif
    • LECKERLI_ONE

      public static final FontFamilies LECKERLI_ONE
      Open Source Font: Leckerli One
    • LOBSTER

      public static final FontFamilies LOBSTER
      Open Source Font: Lobster
    • ROBOTO

      public static final FontFamilies ROBOTO
      Open Source Font: Roboto
    • ROBOTO_CONDENSED

      public static final FontFamilies ROBOTO_CONDENSED
      Open Source Font: Roboto Condensed
    • SATISFY

      public static final FontFamilies SATISFY
      Open Source Font: Satisfy
    • SOURCE_CODE_PRO

      public static final FontFamilies SOURCE_CODE_PRO
      Open Source Font: Source Code Pro
  • Field Details

  • Constructor Details

    • FontFamilies

      private FontFamilies(FontFamily family)
      Creates a FontFamily enumeration with the given FontFamily
      Parameters:
      family - The FontFamily for this enumeration
  • Method Details

    • values

      public static FontFamilies[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FontFamilies valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getFamily

      public FontFamily getFamily()
      Returns:
      The FontFamily contained in this enum value
    • fromName

      public static FontFamilies fromName(String name)
      Grab a FontFamily from the enumeration matching the given name
      Parameters:
      name - The name of the FontFamily to find
      Returns:
      The found FontFamily enumeration, or null if none was found