Enum Class FontVariant.Stretch
- All Implemented Interfaces:
Serializable,Comparable<FontVariant.Stretch>,Constable
- Enclosing class:
- FontVariant
The Font Stretch.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe condensed.The expanded.The extra condensed.The extra expanded.The normal.The semi condensed.The semi expanded.The ultra condensed.The ultra expanded. -
Method Summary
Modifier and TypeMethodDescriptionintGets the ordinal.static FontVariant.StretchReturns the enum constant of this class with the specified name.static FontVariant.Stretch[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ULTRA_CONDENSED
The ultra condensed. -
EXTRA_CONDENSED
The extra condensed. -
CONDENSED
The condensed. -
SEMI_CONDENSED
The semi condensed. -
NORMAL
The normal. -
SEMI_EXPANDED
The semi expanded. -
EXPANDED
The expanded. -
EXTRA_EXPANDED
The extra expanded. -
ULTRA_EXPANDED
The ultra expanded.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getOrdinal
public int getOrdinal()Gets the ordinal.- Returns:
- the ordinal
-