public enum FontSize extends Enum<FontSize>
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static FontSize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FontSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FontSize XXS
public static final FontSize XS
public static final FontSize S
public static final FontSize M
public static final FontSize L
public static final FontSize XL
public static final FontSize XXL
public static final FontSize XXXL
public static FontSize[] values()
for (FontSize c : FontSize.values()) System.out.println(c);
public static FontSize valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
Copyright © 2021. All rights reserved.