Package com.helger.font.noto_sans_hk
Enum EFontResourceNotoSansHK
- java.lang.Object
-
- java.lang.Enum<EFontResourceNotoSansHK>
-
- com.helger.font.noto_sans_hk.EFontResourceNotoSansHK
-
- All Implemented Interfaces:
com.helger.font.api.IHasFontResource,Serializable,Comparable<EFontResourceNotoSansHK>
public enum EFontResourceNotoSansHK extends Enum<EFontResourceNotoSansHK> implements com.helger.font.api.IHasFontResource
Defines the available font resources available in this library.- Author:
- Philip Helger
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NOTO_SANS_HK_BLACKNOTO_SANS_HK_BOLDNOTO_SANS_HK_LIGHTNOTO_SANS_HK_MEDIUMNOTO_SANS_HK_REGULARNOTO_SANS_HK_THIN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.helger.font.api.IFontResourcegetFontResource()static EFontResourceNotoSansHKvalueOf(String name)Returns the enum constant of this type with the specified name.static EFontResourceNotoSansHK[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOTO_SANS_HK_THIN
public static final EFontResourceNotoSansHK NOTO_SANS_HK_THIN
-
NOTO_SANS_HK_LIGHT
public static final EFontResourceNotoSansHK NOTO_SANS_HK_LIGHT
-
NOTO_SANS_HK_REGULAR
public static final EFontResourceNotoSansHK NOTO_SANS_HK_REGULAR
-
NOTO_SANS_HK_MEDIUM
public static final EFontResourceNotoSansHK NOTO_SANS_HK_MEDIUM
-
NOTO_SANS_HK_BOLD
public static final EFontResourceNotoSansHK NOTO_SANS_HK_BOLD
-
NOTO_SANS_HK_BLACK
public static final EFontResourceNotoSansHK NOTO_SANS_HK_BLACK
-
-
Method Detail
-
values
public static EFontResourceNotoSansHK[] 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 (EFontResourceNotoSansHK c : EFontResourceNotoSansHK.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EFontResourceNotoSansHK 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
-
-