public static enum StyleTypeDefinitions.FontStyle extends Enum<StyleTypeDefinitions.FontStyle>
Enum Constant and Description |
---|
BOLD |
BOLDITALIC |
ITALIC |
REGULAR |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static StyleTypeDefinitions.FontStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StyleTypeDefinitions.FontStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StyleTypeDefinitions.FontStyle REGULAR
public static final StyleTypeDefinitions.FontStyle ITALIC
public static final StyleTypeDefinitions.FontStyle BOLD
public static final StyleTypeDefinitions.FontStyle BOLDITALIC
public static StyleTypeDefinitions.FontStyle[] values()
for (StyleTypeDefinitions.FontStyle c : StyleTypeDefinitions.FontStyle.values()) System.out.println(c);
public static StyleTypeDefinitions.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 toString()
toString
in class Enum<StyleTypeDefinitions.FontStyle>
Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.