Enum Class CapStyle

java.lang.Object
java.lang.Enum<CapStyle>
at.bestsolution.uia.CapStyle
All Implemented Interfaces:
INativeEnum, Serializable, Comparable<CapStyle>, Constable

public enum CapStyle extends Enum<CapStyle> implements INativeEnum
Contains values that specify the value of the CapStyle text attribute.
  • Enum Constant Details

    • None

      public static final CapStyle None
      None.
    • SmallCap

      public static final CapStyle SmallCap
      Small capitals.
    • AllCap

      public static final CapStyle AllCap
      All capitals.
    • AllPetiteCaps

      public static final CapStyle AllPetiteCaps
      All petite capitals.
    • PetiteCaps

      public static final CapStyle PetiteCaps
      Petite capitals.
    • Unicase

      public static final CapStyle Unicase
      Single case.
    • Titling

      public static final CapStyle Titling
      Title case.
    • Other

      public static final CapStyle Other
      Other.
  • Method Details

    • values

      public static CapStyle[] 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

      public static CapStyle valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNativeValue

      public int getNativeValue()
      Specified by:
      getNativeValue in interface INativeEnum
    • getConstantName

      public String getConstantName()
      Specified by:
      getConstantName in interface INativeEnum
    • fromNativeValue

      public static Optional<CapStyle> fromNativeValue(int nativeValue)