public static enum Style.FontStyle extends Enum<Style.FontStyle>
| Modifier and Type | Method and Description |
|---|---|
String |
styleName() |
static Style.FontStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Style.FontStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Style.FontStyle Italic
public static final Style.FontStyle Oblique
public static final Style.FontStyle Normal
public static final Style.FontStyle Inherit
public static Style.FontStyle[] values()
for (Style.FontStyle c : Style.FontStyle.values()) System.out.println(c);
public static Style.FontStyle 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 styleName()
Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.