JavaScript is disabled on your browser.
Enum Constant Summary
Enum Constants
Field Summary
Fields
private final int
private final boolean
private final int
private final int
private final int
Constructor Summary
Constructors
private
IcnsType (String type,
int width,
int height,
int bitsPerPixel,
boolean hasMask)
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
int
int
int
int
boolean
static int
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in
the order they are declared.
Enum Constant Details
ICNS_16x12_1BIT_IMAGE_AND_MASK
public static final IcnsType ICNS_16x12_1BIT_IMAGE_AND_MASK
ICNS_16x12_4BIT_IMAGE
public static final IcnsType ICNS_16x12_4BIT_IMAGE
ICNS_16x12_8BIT_IMAGE
public static final IcnsType ICNS_16x12_8BIT_IMAGE
ICNS_16x16_8BIT_MASK
public static final IcnsType ICNS_16x16_8BIT_MASK
ICNS_16x16_1BIT_IMAGE_AND_MASK
public static final IcnsType ICNS_16x16_1BIT_IMAGE_AND_MASK
ICNS_16x16_4BIT_IMAGE
public static final IcnsType ICNS_16x16_4BIT_IMAGE
ICNS_16x16_8BIT_IMAGE
public static final IcnsType ICNS_16x16_8BIT_IMAGE
ICNS_16x16_32BIT_IMAGE
public static final IcnsType ICNS_16x16_32BIT_IMAGE
ICNS_32x32_8BIT_MASK
public static final IcnsType ICNS_32x32_8BIT_MASK
ICNS_32x32_1BIT_IMAGE
public static final IcnsType ICNS_32x32_1BIT_IMAGE
ICNS_32x32_1BIT_IMAGE_AND_MASK
public static final IcnsType ICNS_32x32_1BIT_IMAGE_AND_MASK
ICNS_32x32_4BIT_IMAGE
public static final IcnsType ICNS_32x32_4BIT_IMAGE
ICNS_32x32_8BIT_IMAGE
public static final IcnsType ICNS_32x32_8BIT_IMAGE
ICNS_32x32_32BIT_IMAGE
public static final IcnsType ICNS_32x32_32BIT_IMAGE
ICNS_48x48_8BIT_MASK
public static final IcnsType ICNS_48x48_8BIT_MASK
ICNS_48x48_1BIT_IMAGE_AND_MASK
public static final IcnsType ICNS_48x48_1BIT_IMAGE_AND_MASK
ICNS_48x48_4BIT_IMAGE
public static final IcnsType ICNS_48x48_4BIT_IMAGE
ICNS_48x48_8BIT_IMAGE
public static final IcnsType ICNS_48x48_8BIT_IMAGE
ICNS_48x48_32BIT_IMAGE
public static final IcnsType ICNS_48x48_32BIT_IMAGE
ICNS_128x128_8BIT_MASK
public static final IcnsType ICNS_128x128_8BIT_MASK
ICNS_128x128_32BIT_IMAGE
public static final IcnsType ICNS_128x128_32BIT_IMAGE
ICNS_16x16_32BIT_ARGB_IMAGE
public static final IcnsType ICNS_16x16_32BIT_ARGB_IMAGE
ICNS_32x32_32BIT_ARGB_IMAGE
public static final IcnsType ICNS_32x32_32BIT_ARGB_IMAGE
ICNS_64x64_32BIT_ARGB_IMAGE
public static final IcnsType ICNS_64x64_32BIT_ARGB_IMAGE
ICNS_128x128_32BIT_ARGB_IMAGE
public static final IcnsType ICNS_128x128_32BIT_ARGB_IMAGE
ICNS_256x256_32BIT_ARGB_IMAGE
public static final IcnsType ICNS_256x256_32BIT_ARGB_IMAGE
ICNS_512x512_32BIT_ARGB_IMAGE
public static final IcnsType ICNS_512x512_32BIT_ARGB_IMAGE
ICNS_1024x1024_32BIT_ARGB_IMAGE
public static final IcnsType ICNS_1024x1024_32BIT_ARGB_IMAGE
ICNS_32x32_2x_32BIT_ARGB_IMAGE
public static final IcnsType ICNS_32x32_2x_32BIT_ARGB_IMAGE
ICNS_64x64_2x_32BIT_ARGB_IMAGE
public static final IcnsType ICNS_64x64_2x_32BIT_ARGB_IMAGE
ICNS_256x256_2x_32BIT_ARGB_IMAGE
public static final IcnsType ICNS_256x256_2x_32BIT_ARGB_IMAGE
ICNS_512x512_2x_32BIT_ARGB_IMAGE
public static final IcnsType ICNS_512x512_2x_32BIT_ARGB_IMAGE
Field Details
ALL_IMAGE_TYPES
private static final IcnsType [] ALL_IMAGE_TYPES
ALL_MASK_TYPES
private static final IcnsType [] ALL_MASK_TYPES
type
private final int type
width
private final int width
height
private final int height
bitsPerPixel
private final int bitsPerPixel
hasMask
private final boolean hasMask
Constructor Details
IcnsType
private IcnsType (String type,
int width,
int height,
int bitsPerPixel,
boolean hasMask)
Method Details
values
Returns an array containing the constants of this enum type, in
the order they are declared.
Returns:
an array containing the constants of this enum type, in the order they are declared
valueOf
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
getType
public int getType ()
getWidth
public int getWidth ()
getHeight
public int getHeight ()
getBitsPerPixel
public int getBitsPerPixel ()
hasMask
public boolean hasMask ()
findAnyType
public static IcnsType findAnyType (int type)
findImageType
public static IcnsType findImageType (int type)
typeAsInt
public static int typeAsInt (String type)
describeType
public static String describeType (int type)