public enum MapImageTypeEnum extends Enum<MapImageTypeEnum> implements JREnum
| Enum Constant and Description |
|---|
GIF
The GIF format
|
JPG
The JPEG compression format
|
JPG_BASELINE
The non-progressive JPEG compression format
|
PNG
The 8-bit PNG format (the same as PNG_8)
|
PNG_32
The 32-bit PNG format
|
PNG_8
The 8-bit PNG format
|
| Modifier and Type | Method and Description |
|---|---|
static MapImageTypeEnum |
getByName(String name) |
static MapImageTypeEnum |
getByValue(byte value) |
static MapImageTypeEnum |
getByValue(Byte value) |
String |
getName() |
byte |
getValue() |
Byte |
getValueByte() |
static MapImageTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MapImageTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MapImageTypeEnum PNG
public static final MapImageTypeEnum PNG_8
public static final MapImageTypeEnum PNG_32
public static final MapImageTypeEnum GIF
public static final MapImageTypeEnum JPG
public static final MapImageTypeEnum JPG_BASELINE
public static MapImageTypeEnum[] values()
for (MapImageTypeEnum c : MapImageTypeEnum.values()) System.out.println(c);
public static MapImageTypeEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic Byte getValueByte()
getValueByte in interface JREnumpublic static MapImageTypeEnum getByName(String name)
public static MapImageTypeEnum getByValue(Byte value)
public static MapImageTypeEnum getByValue(byte value)
Copyright © 2014. All rights reserved.