- 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 ConstantDescriptionRepresentingQMetaType::
Bool RepresentingQMetaType::
Char RepresentingQMetaType::
Char16 RepresentingQMetaType::
Char32 RepresentingQMetaType::
Double RepresentingQMetaType::
FirstCoreType RepresentingQMetaType::
FirstGuiType RepresentingQMetaType::
FirstWidgetsType RepresentingQMetaType::
Float RepresentingQMetaType::
Float16 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::
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::
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::
QVariantPair 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
-
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 -
Char16
Representing
QMetaType::
Char16 -
Char32
Representing
QMetaType::
Char32 -
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 -
Void
Representing
QMetaType::
Void -
VoidStar
Representing
QMetaType::
VoidStar -
QChar
Representing
QMetaType::
QChar -
QString
Representing
QMetaType::
QString -
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 -
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 -
Float16
Representing
QMetaType::
Float16 -
QModelIndex
Representing
QMetaType::
QModelIndex -
QPersistentModelIndex
Representing
QMetaType::
QPersistentModelIndex -
QObjectStar
Representing
QMetaType::
QObjectStar -
QVariantMap
Representing
QMetaType::
QVariantMap -
QVariantList
Representing
QMetaType::
QVariantList -
QVariantHash
Representing
QMetaType::
QVariantHash -
QVariantPair
Representing
QMetaType::
QVariantPair -
QByteArrayList
Representing
QMetaType::
QByteArrayList -
QStringList
Representing
QMetaType::
QStringList -
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 -
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.
-