Enum Class ExtraSamplesType

java.lang.Object
java.lang.Enum<ExtraSamplesType>
org.apache.xmlgraphics.image.codec.tiff.ExtraSamplesType
All Implemented Interfaces:
Serializable, Comparable<ExtraSamplesType>, Constable

enum ExtraSamplesType extends Enum<ExtraSamplesType>
  • Enum Constant Details

  • Field Details

    • typeValue

      private final int typeValue
  • Constructor Details

    • ExtraSamplesType

      private ExtraSamplesType(int value)
  • Method Details

    • values

      public static ExtraSamplesType[] 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 ExtraSamplesType 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
    • getValue

      static ExtraSamplesType getValue(ColorModel colorModel, int numExtraSamples)
    • getValue

      int getValue()