Enum Constant and Description |
---|
Black |
BlackItalic |
Bold |
BoldItalic |
CondensedBold |
CondensedBoldItalic |
CondensedItalic |
CondensedLight |
CondensedLightItalic |
CondensedRegular |
Italic |
Light |
LightItalic |
Medium |
MediumItalic |
Regular |
Thin |
ThinItalic |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFontFamily() |
java.lang.String |
getPath() |
int |
getTextStyle() |
static Roboto |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Roboto[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Roboto Black
public static final Roboto BlackItalic
public static final Roboto Bold
public static final Roboto BoldItalic
public static final Roboto Italic
public static final Roboto Light
public static final Roboto LightItalic
public static final Roboto Medium
public static final Roboto MediumItalic
public static final Roboto Regular
public static final Roboto Thin
public static final Roboto ThinItalic
public static final Roboto CondensedBold
public static final Roboto CondensedBoldItalic
public static final Roboto CondensedItalic
public static final Roboto CondensedLight
public static final Roboto CondensedLightItalic
public static final Roboto CondensedRegular
public static Roboto[] values()
for (Roboto c : Roboto.values()) System.out.println(c);
public static Roboto valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getPath()
public java.lang.String getFontFamily()
public int getTextStyle()