- All Implemented Interfaces:
QtAbstractEnumerator
,QtEnumerator
,Serializable
,Comparable<QMetaType.Type>
,Constable
- Enclosing class:
QMetaType
Java wrapper for Qt enum QMetaType::Type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresentingQMetaType::
Bool RepresentingQMetaType::
Char RepresentingQMetaType::
Double RepresentingQMetaType::
FirstCoreType RepresentingQMetaType::
FirstGuiType RepresentingQMetaType::
FirstWidgetsType RepresentingQMetaType::
Float RepresentingQMetaType::
HighestInternalId RepresentingQMetaType::
Int RepresentingQMetaType::
LastCoreType RepresentingQMetaType::
LastGuiType RepresentingQMetaType::
LastWidgetsType RepresentingQMetaType::
Long RepresentingQMetaType::
LongLong RepresentingQMetaType::
Nullptr RepresentingQMetaType::
QBitArray RepresentingQMetaType::
QBitmap RepresentingQMetaType::
QBrush RepresentingQMetaType::
QByteArray RepresentingQMetaType::
QByteArrayList RepresentingQMetaType::
QCborArray RepresentingQMetaType::
QCborMap RepresentingQMetaType::
QCborSimpleType RepresentingQMetaType::
QCborValue RepresentingQMetaType::
QChar RepresentingQMetaType::
QColor RepresentingQMetaType::
QColorSpace RepresentingQMetaType::
QCursor RepresentingQMetaType::
QDate RepresentingQMetaType::
QDateTime RepresentingQMetaType::
QEasingCurve RepresentingQMetaType::
QFont RepresentingQMetaType::
QIcon RepresentingQMetaType::
QImage RepresentingQMetaType::
QJsonArray RepresentingQMetaType::
QJsonDocument RepresentingQMetaType::
QJsonObject RepresentingQMetaType::
QJsonValue RepresentingQMetaType::
QKeySequence RepresentingQMetaType::
QLine RepresentingQMetaType::
QLineF RepresentingQMetaType::
QLocale RepresentingQMetaType::
QMatrix RepresentingQMetaType::
QMatrix4x4 RepresentingQMetaType::
QModelIndex RepresentingQMetaType::
QObjectStar RepresentingQMetaType::
QPalette RepresentingQMetaType::
QPen RepresentingQMetaType::
QPersistentModelIndex RepresentingQMetaType::
QPixmap RepresentingQMetaType::
QPoint RepresentingQMetaType::
QPointF RepresentingQMetaType::
QPolygon RepresentingQMetaType::
QPolygonF RepresentingQMetaType::
QQuaternion RepresentingQMetaType::
QRect RepresentingQMetaType::
QRectF RepresentingQMetaType::
QRegExp RepresentingQMetaType::
QRegion RepresentingQMetaType::
QRegularExpression RepresentingQMetaType::
QSize RepresentingQMetaType::
QSizeF RepresentingQMetaType::
QSizePolicy RepresentingQMetaType::
QString RepresentingQMetaType::
QStringList RepresentingQMetaType::
QTextFormat RepresentingQMetaType::
QTextLength RepresentingQMetaType::
QTime RepresentingQMetaType::
QTransform RepresentingQMetaType::
QUrl RepresentingQMetaType::
QUuid RepresentingQMetaType::
QVariant RepresentingQMetaType::
QVariantHash RepresentingQMetaType::
QVariantList RepresentingQMetaType::
QVariantMap RepresentingQMetaType::
QVector2D RepresentingQMetaType::
QVector3D RepresentingQMetaType::
QVector4D RepresentingQMetaType::
SChar RepresentingQMetaType::
Short RepresentingQMetaType::
UChar RepresentingQMetaType::
UInt RepresentingQMetaType::
ULong RepresentingQMetaType::
ULongLong RepresentingQMetaType::
UnknownType RepresentingQMetaType::
User RepresentingQMetaType::
UShort RepresentingQMetaType::
Void RepresentingQMetaType::
VoidStar -
Method Summary
Modifier and TypeMethodDescriptionstatic QMetaType.Type
resolve
(int value) Returns the corresponding enum entry for the given value.static QMetaType.Type
Returns the corresponding enum entry for the given value and name.int
value()
This function should return an integer value for the enum values of the enumeration that implements this interface.static QMetaType.Type
Returns the enum constant of this type with the specified name.static QMetaType.Type[]
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.QtAbstractEnumerator
getDeclaringClass, name, ordinal
-
Enum Constant Details
-
Void
Representing
QMetaType::
Void -
Bool
Representing
QMetaType::
Bool -
Int
Representing
QMetaType::
Int -
UInt
Representing
QMetaType::
UInt -
LongLong
Representing
QMetaType::
LongLong -
ULongLong
Representing
QMetaType::
ULongLong -
Double
Representing
QMetaType::
Double -
Long
Representing
QMetaType::
Long -
Short
Representing
QMetaType::
Short -
Char
Representing
QMetaType::
Char -
ULong
Representing
QMetaType::
ULong -
UShort
Representing
QMetaType::
UShort -
UChar
Representing
QMetaType::
UChar -
Float
Representing
QMetaType::
Float -
SChar
Representing
QMetaType::
SChar -
Nullptr
Representing
QMetaType::
Nullptr -
QCborSimpleType
Representing
QMetaType::
QCborSimpleType -
VoidStar
Representing
QMetaType::
VoidStar -
QChar
Representing
QMetaType::
QChar -
QString
Representing
QMetaType::
QString -
QStringList
Representing
QMetaType::
QStringList -
QByteArray
Representing
QMetaType::
QByteArray -
QBitArray
Representing
QMetaType::
QBitArray -
QDate
Representing
QMetaType::
QDate -
QTime
Representing
QMetaType::
QTime -
QDateTime
Representing
QMetaType::
QDateTime -
QUrl
Representing
QMetaType::
QUrl -
QLocale
Representing
QMetaType::
QLocale -
QRect
Representing
QMetaType::
QRect -
QRectF
Representing
QMetaType::
QRectF -
QSize
Representing
QMetaType::
QSize -
QSizeF
Representing
QMetaType::
QSizeF -
QLine
Representing
QMetaType::
QLine -
QLineF
Representing
QMetaType::
QLineF -
QPoint
Representing
QMetaType::
QPoint -
QPointF
Representing
QMetaType::
QPointF -
QRegExp
Representing
QMetaType::
QRegExp -
QEasingCurve
Representing
QMetaType::
QEasingCurve -
QUuid
Representing
QMetaType::
QUuid -
QVariant
Representing
QMetaType::
QVariant -
QRegularExpression
Representing
QMetaType::
QRegularExpression -
QJsonValue
Representing
QMetaType::
QJsonValue -
QJsonObject
Representing
QMetaType::
QJsonObject -
QJsonArray
Representing
QMetaType::
QJsonArray -
QJsonDocument
Representing
QMetaType::
QJsonDocument -
QCborValue
Representing
QMetaType::
QCborValue -
QCborArray
Representing
QMetaType::
QCborArray -
QCborMap
Representing
QMetaType::
QCborMap -
QModelIndex
Representing
QMetaType::
QModelIndex -
QPersistentModelIndex
Representing
QMetaType::
QPersistentModelIndex -
QObjectStar
Representing
QMetaType::
QObjectStar -
QVariantMap
Representing
QMetaType::
QVariantMap -
QVariantList
Representing
QMetaType::
QVariantList -
QVariantHash
Representing
QMetaType::
QVariantHash -
QByteArrayList
Representing
QMetaType::
QByteArrayList -
QFont
Representing
QMetaType::
QFont -
QPixmap
Representing
QMetaType::
QPixmap -
QBrush
Representing
QMetaType::
QBrush -
QColor
Representing
QMetaType::
QColor -
QPalette
Representing
QMetaType::
QPalette -
QIcon
Representing
QMetaType::
QIcon -
QImage
Representing
QMetaType::
QImage -
QPolygon
Representing
QMetaType::
QPolygon -
QRegion
Representing
QMetaType::
QRegion -
QBitmap
Representing
QMetaType::
QBitmap -
QCursor
Representing
QMetaType::
QCursor -
QKeySequence
Representing
QMetaType::
QKeySequence -
QPen
Representing
QMetaType::
QPen -
QTextLength
Representing
QMetaType::
QTextLength -
QTextFormat
Representing
QMetaType::
QTextFormat -
QMatrix
Representing
QMetaType::
QMatrix -
QTransform
Representing
QMetaType::
QTransform -
QMatrix4x4
Representing
QMetaType::
QMatrix4x4 -
QVector2D
Representing
QMetaType::
QVector2D -
QVector3D
Representing
QMetaType::
QVector3D -
QVector4D
Representing
QMetaType::
QVector4D -
QQuaternion
Representing
QMetaType::
QQuaternion -
QPolygonF
Representing
QMetaType::
QPolygonF -
QColorSpace
Representing
QMetaType::
QColorSpace -
QSizePolicy
Representing
QMetaType::
QSizePolicy -
FirstCoreType
Representing
QMetaType::
FirstCoreType -
LastCoreType
Representing
QMetaType::
LastCoreType -
FirstGuiType
Representing
QMetaType::
FirstGuiType -
LastGuiType
Representing
QMetaType::
LastGuiType -
FirstWidgetsType
Representing
QMetaType::
FirstWidgetsType -
LastWidgetsType
Representing
QMetaType::
LastWidgetsType -
HighestInternalId
Representing
QMetaType::
HighestInternalId -
UnknownType
Representing
QMetaType::
UnknownType -
User
Representing
QMetaType::
User
-
-
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
- Throws:
QNoSuchEnumValueException
- if value not existent in the enum
-
resolve
Returns the corresponding enum entry for the given value and name.- Parameters:
value
-name
-- Returns:
- enum entry
- Throws:
QNoSuchEnumValueException
- if value not existent in the enum or name does not match.
-