Package com.github.tadukoo.view.font
Enum Class FontFamilies
- All Implemented Interfaces:
FontConstants
,Serializable
,Comparable<FontFamilies>
,Constable
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)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionProprietary Font: Arial - alternate isARIMO
Open Source Font: Arimo - made as an alternate toARIAL
Open Source Font: BangersOpen Source Font: Caladea - made as an alternate toCAMBRIA
Proprietary Font: Calibri - alternate isCARLITO
Open Source Font: CalligraserifProprietary Font: Cambria - alternate isCALADEA
Open Source Font: Carlito - made as an alternate toCALIBRI
Open Source Font: Comic Relief - made as an alternate toCOMIC_SANS_MS
Proprietary Font: Comic Sans MS - alternate isCOMIC_RELIEF
Proprietary Font: Courier - alternate isCOUSINE
Proprietary Font: Courier New - alternate isCOUSINE
Open Source Font: Cousine - made as an alternate toCOURIER
Logical Font:Font.DIALOG
Logical Font:Font.DIALOG_INPUT
Open Source Font: Gelasio - made as an alternate toGEORGIA
Proprietary Font: Georgia - alternate isGELASIO
Proprietary Font: Helvetica - alternate isARIMO
Open Source Font: Leckerli OneOpen Source Font: LobsterLogical Font:Font.MONOSPACED
Open Source Font: RobotoOpen Source Font: Roboto CondensedLogical Font:Font.SANS_SERIF
Open Source Font: SatisfyProprietary Font: Selawik - alternate isSELAWIK
Open Source Font: Selawik - made as an alternate toSEGOE_UI
Logical Font:Font.SERIF
Open Source Font: Source Code ProProprietary Font: Tahoma - alternate isWINE_TAHOMA
Proprietary Font: Times - alternate isTINOS
Proprietary Font: Times New Roman - alternate isTINOS
Open Source Font: Tinos - made as an alternate toTIMES_NEW_ROMAN
Open Source Font: Wine Tahoma - made as an alternate toTAHOMA
-
Field Summary
Modifier and TypeFieldDescriptionprivate final FontFamily
TheFontFamily
contained in this enum valueFields inherited from interface com.github.tadukoo.view.font.FontConstants
BLACK, BLACK_ITALIC, BOLD, BOLD_ITALIC, EXTRA_LIGHT, EXTRA_LIGHT_ITALIC, ITALIC, LIGHT, LIGHT_ITALIC, MEDIUM, MEDIUM_ITALIC, OTF, REGULAR, SEMI_BOLD, SEMI_BOLD_ITALIC, THIN, THIN_ITALIC, TTF
-
Constructor Summary
ModifierConstructorDescriptionprivate
FontFamilies
(FontFamily family) Creates a FontFamily enumeration with the givenFontFamily
-
Method Summary
Modifier and TypeMethodDescriptionstatic FontFamilies
Grab a FontFamily from the enumeration matching the given namestatic FontFamilies
Returns the enum constant of this class with the specified name.static FontFamilies[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DIALOG
Logical Font:Font.DIALOG
-
DIALOG_INPUT
Logical Font:Font.DIALOG_INPUT
-
MONOSPACED
Logical Font:Font.MONOSPACED
-
SANS_SERIF
Logical Font:Font.SANS_SERIF
-
SERIF
Logical Font:Font.SERIF
-
ARIMO
Open Source Font: Arimo - made as an alternate toARIAL
-
ARIAL
Proprietary Font: Arial - alternate isARIMO
-
HELVETICA
Proprietary Font: Helvetica - alternate isARIMO
-
CARLITO
Open Source Font: Carlito - made as an alternate toCALIBRI
-
CALIBRI
Proprietary Font: Calibri - alternate isCARLITO
-
CALADEA
Open Source Font: Caladea - made as an alternate toCAMBRIA
-
CAMBRIA
Proprietary Font: Cambria - alternate isCALADEA
-
COUSINE
Open Source Font: Cousine - made as an alternate toCOURIER
-
COURIER
Proprietary Font: Courier - alternate isCOUSINE
-
COURIER_NEW
Proprietary Font: Courier New - alternate isCOUSINE
-
COMIC_RELIEF
Open Source Font: Comic Relief - made as an alternate toCOMIC_SANS_MS
-
COMIC_SANS_MS
Proprietary Font: Comic Sans MS - alternate isCOMIC_RELIEF
-
GELASIO
Open Source Font: Gelasio - made as an alternate toGEORGIA
-
GEORGIA
Proprietary Font: Georgia - alternate isGELASIO
-
SELAWIK
Open Source Font: Selawik - made as an alternate toSEGOE_UI
-
SEGOE_UI
Proprietary Font: Selawik - alternate isSELAWIK
-
WINE_TAHOMA
Open Source Font: Wine Tahoma - made as an alternate toTAHOMA
-
TAHOMA
Proprietary Font: Tahoma - alternate isWINE_TAHOMA
-
TINOS
Open Source Font: Tinos - made as an alternate toTIMES_NEW_ROMAN
-
TIMES
Proprietary Font: Times - alternate isTINOS
-
TIMES_NEW_ROMAN
Proprietary Font: Times New Roman - alternate isTINOS
-
BANGERS
Open Source Font: Bangers -
CALLIGRASERIF
Open Source Font: Calligraserif -
LECKERLI_ONE
Open Source Font: Leckerli One -
LOBSTER
Open Source Font: Lobster -
ROBOTO
Open Source Font: Roboto -
ROBOTO_CONDENSED
Open Source Font: Roboto Condensed -
SATISFY
Open Source Font: Satisfy -
SOURCE_CODE_PRO
Open Source Font: Source Code Pro
-
-
Field Details
-
family
TheFontFamily
contained in this enum value
-
-
Constructor Details
-
FontFamilies
Creates a FontFamily enumeration with the givenFontFamily
- Parameters:
family
- TheFontFamily
for this enumeration
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getFamily
- Returns:
- The
FontFamily
contained in this enum value
-
fromName
Grab a FontFamily from the enumeration matching the given name- Parameters:
name
- The name of theFontFamily
to find- Returns:
- The found FontFamily enumeration, or null if none was found
-