- All Implemented Interfaces:
QtAbstractEnumerator
,QtEnumerator
,Serializable
,Comparable<QVariant.Type>
,Constable
- Enclosing class:
QVariant
Java wrapper for Qt enum QVariant::Type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresentingQVariant::
BitArray RepresentingQVariant::
Bitmap RepresentingQVariant::
Bool RepresentingQVariant::
Brush RepresentingQVariant::
ByteArray RepresentingQVariant::
Char RepresentingQVariant::
Color RepresentingQVariant::
Cursor RepresentingQVariant::
Date RepresentingQVariant::
DateTime RepresentingQVariant::
Double RepresentingQVariant::
EasingCurve RepresentingQVariant::
Font RepresentingQVariant::
Hash RepresentingQVariant::
Icon RepresentingQVariant::
Image RepresentingQVariant::
Int RepresentingQVariant::
Invalid RepresentingQVariant::
KeySequence RepresentingQVariant::
LastCoreType RepresentingQVariant::
LastGuiType RepresentingQVariant::
LastType RepresentingQVariant::
Line RepresentingQVariant::
LineF RepresentingQVariant::
List RepresentingQVariant::
Locale RepresentingQVariant::
LongLong RepresentingQVariant::
Map RepresentingQVariant::
Matrix RepresentingQVariant::
Matrix4x4 RepresentingQVariant::
ModelIndex RepresentingQVariant::
Palette RepresentingQVariant::
Pen RepresentingQVariant::
PersistentModelIndex RepresentingQVariant::
Pixmap RepresentingQVariant::
Point RepresentingQVariant::
PointF RepresentingQVariant::
Polygon RepresentingQVariant::
PolygonF RepresentingQVariant::
Quaternion RepresentingQVariant::
Rect RepresentingQVariant::
RectF RepresentingQVariant::
RegExp RepresentingQVariant::
Region RepresentingQVariant::
RegularExpression RepresentingQVariant::
Size RepresentingQVariant::
SizeF RepresentingQVariant::
SizePolicy RepresentingQVariant::
String RepresentingQVariant::
StringList RepresentingQVariant::
TextFormat RepresentingQVariant::
TextLength RepresentingQVariant::
Time RepresentingQVariant::
Transform RepresentingQVariant::
UInt RepresentingQVariant::
ULongLong RepresentingQVariant::
Url RepresentingQVariant::
UserType RepresentingQVariant::
Uuid RepresentingQVariant::
Vector2D RepresentingQVariant::
Vector3D RepresentingQVariant::
Vector4D -
Method Summary
Modifier and TypeMethodDescriptionstatic QVariant.Type
resolve
(int value) Returns the corresponding enum entry for the given value.static QVariant.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 QVariant.Type
Returns the enum constant of this type with the specified name.static QVariant.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
-
Invalid
Representing
QVariant::
Invalid -
Bool
Representing
QVariant::
Bool -
Int
Representing
QVariant::
Int -
UInt
Representing
QVariant::
UInt -
LongLong
Representing
QVariant::
LongLong -
ULongLong
Representing
QVariant::
ULongLong -
Double
Representing
QVariant::
Double -
Char
Representing
QVariant::
Char -
Map
Representing
QVariant::
Map -
List
Representing
QVariant::
List -
String
Representing
QVariant::
String -
StringList
Representing
QVariant::
StringList -
ByteArray
Representing
QVariant::
ByteArray -
BitArray
Representing
QVariant::
BitArray -
Date
Representing
QVariant::
Date -
Time
Representing
QVariant::
Time -
DateTime
Representing
QVariant::
DateTime -
Url
Representing
QVariant::
Url -
Locale
Representing
QVariant::
Locale -
Rect
Representing
QVariant::
Rect -
RectF
Representing
QVariant::
RectF -
Size
Representing
QVariant::
Size -
SizeF
Representing
QVariant::
SizeF -
Line
Representing
QVariant::
Line -
LineF
Representing
QVariant::
LineF -
Point
Representing
QVariant::
Point -
PointF
Representing
QVariant::
PointF -
RegExp
Representing
QVariant::
RegExp -
RegularExpression
Representing
QVariant::
RegularExpression -
Hash
Representing
QVariant::
Hash -
EasingCurve
Representing
QVariant::
EasingCurve -
Uuid
Representing
QVariant::
Uuid -
ModelIndex
Representing
QVariant::
ModelIndex -
PersistentModelIndex
Representing
QVariant::
PersistentModelIndex -
LastCoreType
Representing
QVariant::
LastCoreType -
Font
Representing
QVariant::
Font -
Pixmap
Representing
QVariant::
Pixmap -
Brush
Representing
QVariant::
Brush -
Color
Representing
QVariant::
Color -
Palette
Representing
QVariant::
Palette -
Image
Representing
QVariant::
Image -
Polygon
Representing
QVariant::
Polygon -
Region
Representing
QVariant::
Region -
Bitmap
Representing
QVariant::
Bitmap -
Cursor
Representing
QVariant::
Cursor -
KeySequence
Representing
QVariant::
KeySequence -
Pen
Representing
QVariant::
Pen -
TextLength
Representing
QVariant::
TextLength -
TextFormat
Representing
QVariant::
TextFormat -
Matrix
Representing
QVariant::
Matrix -
Transform
Representing
QVariant::
Transform -
Matrix4x4
Representing
QVariant::
Matrix4x4 -
Vector2D
Representing
QVariant::
Vector2D -
Vector3D
Representing
QVariant::
Vector3D -
Vector4D
Representing
QVariant::
Vector4D -
Quaternion
Representing
QVariant::
Quaternion -
PolygonF
Representing
QVariant::
PolygonF -
Icon
Representing
QVariant::
Icon -
LastGuiType
Representing
QVariant::
LastGuiType -
SizePolicy
Representing
QVariant::
SizePolicy -
UserType
Representing
QVariant::
UserType -
LastType
Representing
QVariant::
LastType
-
-
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.
-