- All Implemented Interfaces:
QtAbstractEnumerator
,QtEnumerator
,Serializable
,Comparable<QImage.Format>
,Constable
- Enclosing class:
QImage
Java wrapper for Qt enum QImage::Format
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresenting QImage::Format_A2BGR30_PremultipliedRepresenting QImage::Format_A2RGB30_PremultipliedRepresenting QImage::Format_Alpha8Representing QImage::Format_ARGB32Representing QImage::Format_ARGB32_PremultipliedRepresenting QImage::Format_ARGB4444_PremultipliedRepresenting QImage::Format_ARGB6666_PremultipliedRepresenting QImage::Format_ARGB8555_PremultipliedRepresenting QImage::Format_ARGB8565_PremultipliedRepresenting QImage::Format_BGR30Representing QImage::Format_BGR888Representing QImage::Format_Grayscale16Representing QImage::Format_Grayscale8Representing QImage::Format_Indexed8Representing QImage::Format_InvalidRepresenting QImage::Format_MonoRepresenting QImage::Format_MonoLSBRepresenting QImage::Format_RGB16Representing QImage::Format_RGB30Representing QImage::Format_RGB32Representing QImage::Format_RGB444Representing QImage::Format_RGB555Representing QImage::Format_RGB666Representing QImage::Format_RGB888Representing QImage::Format_RGBA16FPx4Representing QImage::Format_RGBA16FPx4_PremultipliedRepresenting QImage::Format_RGBA32FPx4Representing QImage::Format_RGBA32FPx4_PremultipliedRepresenting QImage::Format_RGBA64Representing QImage::Format_RGBA64_PremultipliedRepresenting QImage::Format_RGBA8888Representing QImage::Format_RGBA8888_PremultipliedRepresenting QImage::Format_RGBX16FPx4Representing QImage::Format_RGBX32FPx4Representing QImage::Format_RGBX64Representing QImage::Format_RGBX8888Representing QImage::NImageFormats -
Method Summary
Modifier and TypeMethodDescriptionstatic QImage.Format
resolve
(int value) Returns the corresponding enum entry for the given value.int
value()
This function should return an integer value for the enum values of the enumeration that implements this interface.static QImage.Format
Returns the enum constant of this type with the specified name.static QImage.Format[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface io.qt.QtEnumerator
getDeclaringClass, name, ordinal
-
Enum Constant Details
-
Format_Invalid
Representing QImage::Format_Invalid
-
Format_Mono
Representing QImage::Format_Mono
-
Format_MonoLSB
Representing QImage::Format_MonoLSB
-
Format_Indexed8
Representing QImage::Format_Indexed8
-
Format_RGB32
Representing QImage::Format_RGB32
-
Format_ARGB32
Representing QImage::Format_ARGB32
-
Format_ARGB32_Premultiplied
Representing QImage::Format_ARGB32_Premultiplied
-
Format_RGB16
Representing QImage::Format_RGB16
-
Format_ARGB8565_Premultiplied
Representing QImage::Format_ARGB8565_Premultiplied
-
Format_RGB666
Representing QImage::Format_RGB666
-
Format_ARGB6666_Premultiplied
Representing QImage::Format_ARGB6666_Premultiplied
-
Format_RGB555
Representing QImage::Format_RGB555
-
Format_ARGB8555_Premultiplied
Representing QImage::Format_ARGB8555_Premultiplied
-
Format_RGB888
Representing QImage::Format_RGB888
-
Format_RGB444
Representing QImage::Format_RGB444
-
Format_ARGB4444_Premultiplied
Representing QImage::Format_ARGB4444_Premultiplied
-
Format_RGBX8888
Representing QImage::Format_RGBX8888
-
Format_RGBA8888
Representing QImage::Format_RGBA8888
-
Format_RGBA8888_Premultiplied
Representing QImage::Format_RGBA8888_Premultiplied
-
Format_BGR30
Representing QImage::Format_BGR30
-
Format_A2BGR30_Premultiplied
Representing QImage::Format_A2BGR30_Premultiplied
-
Format_RGB30
Representing QImage::Format_RGB30
-
Format_A2RGB30_Premultiplied
Representing QImage::Format_A2RGB30_Premultiplied
-
Format_Alpha8
Representing QImage::Format_Alpha8
-
Format_Grayscale8
Representing QImage::Format_Grayscale8
-
Format_RGBX64
Representing QImage::Format_RGBX64
-
Format_RGBA64
Representing QImage::Format_RGBA64
-
Format_RGBA64_Premultiplied
Representing QImage::Format_RGBA64_Premultiplied
-
Format_Grayscale16
Representing QImage::Format_Grayscale16
-
Format_BGR888
Representing QImage::Format_BGR888
-
Format_RGBX16FPx4
Representing QImage::Format_RGBX16FPx4
-
Format_RGBA16FPx4
Representing QImage::Format_RGBA16FPx4
-
Format_RGBA16FPx4_Premultiplied
Representing QImage::Format_RGBA16FPx4_Premultiplied
-
Format_RGBX32FPx4
Representing QImage::Format_RGBX32FPx4
-
Format_RGBA32FPx4
Representing QImage::Format_RGBA32FPx4
-
Format_RGBA32FPx4_Premultiplied
Representing QImage::Format_RGBA32FPx4_Premultiplied
-
NImageFormats
Representing QImage::NImageFormats
-
-
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
-
value
public int value()This function should return an integer value for the enum values of the enumeration that implements this interface. Default isEnum.ordinal()
.- Specified by:
value
in interfaceQtEnumerator
-
resolve
Returns the corresponding enum entry for the given value.- Parameters:
value
-- Returns:
- enum entry
-