public enum CapStyle extends java.lang.Enum<CapStyle> implements INativeEnum
Enum Constant and Description |
---|
AllCap
All capitals.
|
AllPetiteCaps
All petite capitals.
|
None
None.
|
Other
Other.
|
PetiteCaps
Petite capitals.
|
SmallCap
Small capitals.
|
Titling
Title case.
|
Unicase
Single case.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<CapStyle> |
fromNativeValue(int nativeValue) |
java.lang.String |
getConstantName() |
int |
getNativeValue() |
static CapStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CapStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CapStyle None
public static final CapStyle SmallCap
public static final CapStyle AllCap
public static final CapStyle AllPetiteCaps
public static final CapStyle PetiteCaps
public static final CapStyle Unicase
public static final CapStyle Titling
public static final CapStyle Other
public static CapStyle[] values()
for (CapStyle c : CapStyle.values()) System.out.println(c);
public static CapStyle 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 int getNativeValue()
getNativeValue
in interface INativeEnum
public java.lang.String getConstantName()
getConstantName
in interface INativeEnum
public static java.util.Optional<CapStyle> fromNativeValue(int nativeValue)