Enum FontVariant.Stretch
- java.lang.Object
-
- java.lang.Enum<FontVariant.Stretch>
-
- com.priint.pubserver.comet3.entity.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 enum Stretch.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONDENSEDCondensed stretch.EXPANDEDExpanded stretch.EXTRA_CONDENSEDExtra condensed stretch.EXTRA_EXPANDEDExtra expanded stretch.NORMALNormal stretch.SEMI_CONDENSEDSemi condensed stretch.SEMI_EXPANDEDSemi expanded stretch.ULTRA_CONDENSEDUltra condensed stretch.ULTRA_EXPANDEDUltra expanded stretch.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FontVariant.StretchgetByName(FontVariant.Stretch other)Gets by name.static FontVariant.StretchgetByName(FontVariant.Stretch other)Gets by name.intgetOrdinal()Gets 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
Ultra condensed stretch.
-
EXTRA_CONDENSED
public static final FontVariant.Stretch EXTRA_CONDENSED
Extra condensed stretch.
-
CONDENSED
public static final FontVariant.Stretch CONDENSED
Condensed stretch.
-
SEMI_CONDENSED
public static final FontVariant.Stretch SEMI_CONDENSED
Semi condensed stretch.
-
NORMAL
public static final FontVariant.Stretch NORMAL
Normal stretch.
-
SEMI_EXPANDED
public static final FontVariant.Stretch SEMI_EXPANDED
Semi expanded stretch.
-
EXPANDED
public static final FontVariant.Stretch EXPANDED
Expanded stretch.
-
EXTRA_EXPANDED
public static final FontVariant.Stretch EXTRA_EXPANDED
Extra expanded stretch.
-
ULTRA_EXPANDED
public static final FontVariant.Stretch ULTRA_EXPANDED
Ultra expanded stretch.
-
-
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 ordinal.- Returns:
- the ordinal
-
getByName
public static FontVariant.Stretch getByName(FontVariant.Stretch other)
Gets by name.- Parameters:
other- the other- Returns:
- the by name
-
getByName
public static FontVariant.Stretch getByName(FontVariant.Stretch other)
Gets by name.- Parameters:
other- the other- Returns:
- the by name
-
-