com.groupdocs.metadata.core

Interfaces

Classes

Enums

Exceptions

com.groupdocs.metadata.core

Enum OpenTypeWeight

    • Enum Constant Detail

      • Undefined

        public static final OpenTypeWeight Undefined

        The undefined weight.

      • ExtraLight

        public static final OpenTypeWeight ExtraLight

        The Extra-light (Ultra-light) weight.

      • Normal

        public static final OpenTypeWeight Normal

        The Normal (Regular) weight.

      • Medium

        public static final OpenTypeWeight Medium

        The Medium weight.

      • SemiBold

        public static final OpenTypeWeight SemiBold

        The Semi-bold (Demi-bold) weight.

      • ExtraBold

        public static final OpenTypeWeight ExtraBold

        The Extra-bold (Ultra-bold) weight.

      • Heavy

        public static final OpenTypeWeight Heavy

        The Black (Heavy) weight.

    • Method Detail

      • values

        public static OpenTypeWeight[] 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 (OpenTypeWeight c : OpenTypeWeight.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static OpenTypeWeight valueOf(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getByRawValue

        public static OpenTypeWeight getByRawValue(int rawValue)
      • getAllValues

        public Object[] getAllValues()
        Description copied from interface: IEnumValue

        Returns the array of all values defined in the class.

        Specified by:
        getAllValues in interface IEnumValue
        Returns:
        The array of all values defined in the class.
      • getEnumValueByRawValue

        public IEnumValue getEnumValueByRawValue(int rawValue)
        Description copied from interface: IEnumValue

        Returns the enumeration value by the raw value associated with it.

        Specified by:
        getEnumValueByRawValue in interface IEnumValue
        Parameters:
        rawValue - The raw value.
        Returns:
        The enumeration value.
      • getEnumValueByName

        public IEnumValue getEnumValueByName(String name)
        Description copied from interface: IEnumValue

        Returns the enumeration value by its name.

        Specified by:
        getEnumValueByName in interface IEnumValue
        Parameters:
        name - The name of the enumeration value.
        Returns:
        The enumeration value.
      • getRawValueType

        public RawIntegerType getRawValueType()
        Description copied from interface: IEnumValue

        Returns the underlying type of the raw value of this enumeration value.

        Specified by:
        getRawValueType in interface IEnumValue
        Returns:
        The underlying type of the raw value.
      • getRawValue

        public int getRawValue()
        Description copied from interface: IEnumValue

        Returns the raw value of this enumeration value.

        Specified by:
        getRawValue in interface IEnumValue
        Returns:
        The raw value.