Enum Class MapImageTypeEnum

java.lang.Object
java.lang.Enum<MapImageTypeEnum>
net.sf.jasperreports.components.map.type.MapImageTypeEnum
All Implemented Interfaces:
Serializable, Comparable<MapImageTypeEnum>, Constable, NamedEnum

public enum MapImageTypeEnum extends Enum<MapImageTypeEnum> implements NamedEnum
Author:
Sanda Zaharia (shertage@users.sourceforge.net)
  • Enum Constant Details

    • PNG

      public static final MapImageTypeEnum PNG
      The 8-bit PNG format (the same as PNG_8)
    • PNG_8

      public static final MapImageTypeEnum PNG_8
      The 8-bit PNG format
    • PNG_32

      public static final MapImageTypeEnum PNG_32
      The 32-bit PNG format
    • GIF

      public static final MapImageTypeEnum GIF
      The GIF format
    • JPG

      public static final MapImageTypeEnum JPG
      The JPEG compression format
    • JPG_BASELINE

      public static final MapImageTypeEnum JPG_BASELINE
      The non-progressive JPEG compression format
  • Method Details

    • values

      public static MapImageTypeEnum[] 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 MapImageTypeEnum 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
    • getName

      public String getName()
      Specified by:
      getName in interface NamedEnum
    • getByName

      public static MapImageTypeEnum getByName(String name)