Package com.helger.font.lato2
Enum EFontResourceLato2
- All Implemented Interfaces:
com.helger.font.api.IHasFontResource,Serializable,Comparable<EFontResourceLato2>,java.lang.constant.Constable
public enum EFontResourceLato2
extends Enum<EFontResourceLato2>
implements com.helger.font.api.IHasFontResource
Defines the available font resources available in this library.
- Author:
- Philip Helger
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptioncom.helger.font.api.IFontResourcestatic EFontResourceLato2Returns 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.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface com.helger.font.api.IHasFontResource
getFontResourceID
-
Enum Constant Details
-
LATO2_HAIRLINE
-
LATO2_HAIRLINE_ITALIC
-
LATO2_THIN
-
LATO2_THIN_ITALIC
-
LATO2_LIGHT
-
LATO2_LIGHT_ITALIC
-
LATO2_NORMAL
-
LATO2_NORMAL_ITALIC
-
LATO2_MEDIUM
-
LATO2_MEDIUM_ITALIC
-
LATO2_SEMI_BOLD
-
LATO2_SEMI_BOLD_ITALIC
-
LATO2_BOLD
-
LATO2_BOLD_ITALIC
-
LATO2_HEAVY
-
LATO2_HEAVY_ITALIC
-
LATO2_BLACK
-
LATO2_BLACK_ITALIC
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
- Specified by:
getFontResourcein interfacecom.helger.font.api.IHasFontResource
-