Enum FontVariant.Stretch
- java.lang.Object
-
- java.lang.Enum<FontVariant.Stretch>
-
- com.priint.pubserver.comet.entity.fontdb.FontVariant.Stretch
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<FontVariant.Stretch>
- Enclosing class:
- FontVariant
public static enum FontVariant.Stretch extends java.lang.Enum<FontVariant.Stretch>
The Font Stretch.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONDENSEDThe condensed.EXPANDEDThe expanded.EXTRA_CONDENSEDThe extra condensed.EXTRA_EXPANDEDThe extra expanded.NORMALThe normal.SEMI_CONDENSEDThe semi condensed.SEMI_EXPANDEDThe semi expanded.ULTRA_CONDENSEDThe ultra condensed.ULTRA_EXPANDEDThe ultra expanded.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetOrdinal()Gets the ordinal.static FontVariant.StretchvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FontVariant.Stretch[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ULTRA_CONDENSED
public static final FontVariant.Stretch ULTRA_CONDENSED
The ultra condensed.
-
EXTRA_CONDENSED
public static final FontVariant.Stretch EXTRA_CONDENSED
The extra condensed.
-
CONDENSED
public static final FontVariant.Stretch CONDENSED
The condensed.
-
SEMI_CONDENSED
public static final FontVariant.Stretch SEMI_CONDENSED
The semi condensed.
-
NORMAL
public static final FontVariant.Stretch NORMAL
The normal.
-
SEMI_EXPANDED
public static final FontVariant.Stretch SEMI_EXPANDED
The semi expanded.
-
EXPANDED
public static final FontVariant.Stretch EXPANDED
The expanded.
-
EXTRA_EXPANDED
public static final FontVariant.Stretch EXTRA_EXPANDED
The extra expanded.
-
ULTRA_EXPANDED
public static final FontVariant.Stretch ULTRA_EXPANDED
The ultra expanded.
-
-
Method Detail
-
values
public static FontVariant.Stretch[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FontVariant.Stretch c : FontVariant.Stretch.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FontVariant.Stretch valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getOrdinal
public int getOrdinal()
Gets the ordinal.- Returns:
- the ordinal
-
-