Enum Class ImageType

java.lang.Object
java.lang.Enum<ImageType>
org.apache.sedona.viz.utils.ImageType
All Implemented Interfaces:
Serializable, Comparable<ImageType>, java.lang.constant.Constable

public enum ImageType extends Enum<ImageType> implements Serializable
The Enum ImageType.
  • Enum Constant Details

    • PNG

      public static final ImageType PNG
      The png.
    • GIF

      public static final ImageType GIF
      The gif.
    • SVG

      public static final ImageType SVG
      The svg.
  • Method Details

    • values

      public static ImageType[] 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 ImageType 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
    • getImageType

      public static ImageType getImageType(String str)
      Gets the image type.
      Parameters:
      str - the str
      Returns:
      the image type
    • getTypeName

      public String getTypeName()
      Gets the type name.
      Returns:
      the type name
    • setTypeName

      public void setTypeName(String typeName)
      Sets the type name.
      Parameters:
      typeName - the new type name