Package com.helger.font.lato2
Enum EFontResourceLato2
- java.lang.Object
-
- java.lang.Enum<EFontResourceLato2>
-
- com.helger.font.lato2.EFontResourceLato2
-
- All Implemented Interfaces:
com.helger.font.api.IHasFontResource,Serializable,Comparable<EFontResourceLato2>
public enum EFontResourceLato2 extends Enum<EFontResourceLato2> implements com.helger.font.api.IHasFontResource
Defines the available font resources available in this library.- Author:
- Philip Helger
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.helger.font.api.IFontResourcegetFontResource()static EFontResourceLato2valueOf(String name)Returns the enum constant of this type with the specified name.static EFontResourceLato2[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LATO2_HAIRLINE
public static final EFontResourceLato2 LATO2_HAIRLINE
-
LATO2_HAIRLINE_ITALIC
public static final EFontResourceLato2 LATO2_HAIRLINE_ITALIC
-
LATO2_THIN
public static final EFontResourceLato2 LATO2_THIN
-
LATO2_THIN_ITALIC
public static final EFontResourceLato2 LATO2_THIN_ITALIC
-
LATO2_LIGHT
public static final EFontResourceLato2 LATO2_LIGHT
-
LATO2_LIGHT_ITALIC
public static final EFontResourceLato2 LATO2_LIGHT_ITALIC
-
LATO2_NORMAL
public static final EFontResourceLato2 LATO2_NORMAL
-
LATO2_NORMAL_ITALIC
public static final EFontResourceLato2 LATO2_NORMAL_ITALIC
-
LATO2_MEDIUM
public static final EFontResourceLato2 LATO2_MEDIUM
-
LATO2_MEDIUM_ITALIC
public static final EFontResourceLato2 LATO2_MEDIUM_ITALIC
-
LATO2_SEMI_BOLD
public static final EFontResourceLato2 LATO2_SEMI_BOLD
-
LATO2_SEMI_BOLD_ITALIC
public static final EFontResourceLato2 LATO2_SEMI_BOLD_ITALIC
-
LATO2_BOLD
public static final EFontResourceLato2 LATO2_BOLD
-
LATO2_BOLD_ITALIC
public static final EFontResourceLato2 LATO2_BOLD_ITALIC
-
LATO2_HEAVY
public static final EFontResourceLato2 LATO2_HEAVY
-
LATO2_HEAVY_ITALIC
public static final EFontResourceLato2 LATO2_HEAVY_ITALIC
-
LATO2_BLACK
public static final EFontResourceLato2 LATO2_BLACK
-
LATO2_BLACK_ITALIC
public static final EFontResourceLato2 LATO2_BLACK_ITALIC
-
-
Method Detail
-
values
public static EFontResourceLato2[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EFontResourceLato2 c : EFontResourceLato2.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EFontResourceLato2 valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getFontResource
@Nonnull public com.helger.font.api.IFontResource getFontResource()
- Specified by:
getFontResourcein interfacecom.helger.font.api.IHasFontResource
-
-