- 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 ConstantDescriptionRepresentingQImage::
Format_A2BGR30_Premultiplied RepresentingQImage::
Format_A2RGB30_Premultiplied RepresentingQImage::
Format_Alpha8 RepresentingQImage::
Format_ARGB32 RepresentingQImage::
Format_ARGB32_Premultiplied RepresentingQImage::
Format_ARGB4444_Premultiplied RepresentingQImage::
Format_ARGB6666_Premultiplied RepresentingQImage::
Format_ARGB8555_Premultiplied RepresentingQImage::
Format_ARGB8565_Premultiplied RepresentingQImage::
Format_BGR30 RepresentingQImage::
Format_BGR888 RepresentingQImage::
Format_Grayscale16 RepresentingQImage::
Format_Grayscale8 RepresentingQImage::
Format_Indexed8 RepresentingQImage::
Format_Invalid RepresentingQImage::
Format_Mono RepresentingQImage::
Format_MonoLSB RepresentingQImage::
Format_RGB16 RepresentingQImage::
Format_RGB30 RepresentingQImage::
Format_RGB32 RepresentingQImage::
Format_RGB444 RepresentingQImage::
Format_RGB555 RepresentingQImage::
Format_RGB666 RepresentingQImage::
Format_RGB888 RepresentingQImage::
Format_RGBA64 RepresentingQImage::
Format_RGBA64_Premultiplied RepresentingQImage::
Format_RGBA8888 RepresentingQImage::
Format_RGBA8888_Premultiplied RepresentingQImage::
Format_RGBX64 RepresentingQImage::
Format_RGBX8888 RepresentingQImage::
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 -
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
-