public static enum TextTrackStyle.TextTrackFontStyle extends Enum<TextTrackStyle.TextTrackFontStyle>
| Enum Constant and Description |
|---|
BOLD
Bolded font
|
BOLD_ITALIC
Bolded and italicized font
|
ITALIC
Italicized font
|
NORMAL
Unmodified font
|
| Modifier and Type | Method and Description |
|---|---|
static TextTrackStyle.TextTrackFontStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextTrackStyle.TextTrackFontStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextTrackStyle.TextTrackFontStyle NORMAL
public static final TextTrackStyle.TextTrackFontStyle BOLD
public static final TextTrackStyle.TextTrackFontStyle BOLD_ITALIC
public static final TextTrackStyle.TextTrackFontStyle ITALIC
public static TextTrackStyle.TextTrackFontStyle[] values()
for (TextTrackStyle.TextTrackFontStyle c : TextTrackStyle.TextTrackFontStyle.values()) System.out.println(c);
public static TextTrackStyle.TextTrackFontStyle 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 nullCopyright © 2022. All rights reserved.