Enum IcnsType
- All Implemented Interfaces:
Serializable, Comparable<IcnsType>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringdescribeType(int type) static IcnsTypefind1BPPMaskType(IcnsType imageType) static IcnsTypefind8BPPMaskType(IcnsType imageType) static IcnsTypefindAnyType(int type) static IcnsTypefindImageType(int type) intintintgetType()intgetWidth()booleanhasMask()toString()static intstatic IcnsTypeReturns the enum constant of this type with the specified name.static IcnsType[]values()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
-
ICNS_16x12_4BIT_IMAGE
-
ICNS_16x12_8BIT_IMAGE
-
ICNS_16x16_8BIT_MASK
-
ICNS_16x16_1BIT_IMAGE_AND_MASK
-
ICNS_16x16_4BIT_IMAGE
-
ICNS_16x16_8BIT_IMAGE
-
ICNS_16x16_32BIT_IMAGE
-
ICNS_32x32_8BIT_MASK
-
ICNS_32x32_1BIT_IMAGE
-
ICNS_32x32_1BIT_IMAGE_AND_MASK
-
ICNS_32x32_4BIT_IMAGE
-
ICNS_32x32_8BIT_IMAGE
-
ICNS_32x32_32BIT_IMAGE
-
ICNS_48x48_8BIT_MASK
-
ICNS_48x48_1BIT_IMAGE_AND_MASK
-
ICNS_48x48_4BIT_IMAGE
-
ICNS_48x48_8BIT_IMAGE
-
ICNS_48x48_32BIT_IMAGE
-
ICNS_128x128_8BIT_MASK
-
ICNS_128x128_32BIT_IMAGE
-
ICNS_16x16_32BIT_ARGB_IMAGE
-
ICNS_32x32_32BIT_ARGB_IMAGE
-
ICNS_64x64_32BIT_ARGB_IMAGE
-
ICNS_128x128_32BIT_ARGB_IMAGE
-
ICNS_256x256_32BIT_ARGB_IMAGE
-
ICNS_512x512_32BIT_ARGB_IMAGE
-
ICNS_1024x1024_32BIT_ARGB_IMAGE
-
ICNS_32x32_2x_32BIT_ARGB_IMAGE
-
ICNS_64x64_2x_32BIT_ARGB_IMAGE
-
ICNS_256x256_2x_32BIT_ARGB_IMAGE
-
ICNS_512x512_2x_32BIT_ARGB_IMAGE
-
-
Field Details
-
ALL_IMAGE_TYPES
-
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
-
-
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 nameNullPointerException- if the argument is null
-
describeType
-
find1BPPMaskType
-
find8BPPMaskType
-
findAnyType
-
findImageType
-
typeAsInt
-
getBitsPerPixel
public int getBitsPerPixel() -
getHeight
public int getHeight() -
getType
public int getType() -
getWidth
public int getWidth() -
hasMask
public boolean hasMask() -
toString
-