- 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 ConstantDescriptionDeprecated.RepresentingQVariant::
BitArray Deprecated.RepresentingQVariant::
Bitmap Deprecated.RepresentingQVariant::
Bool Deprecated.RepresentingQVariant::
Brush Deprecated.RepresentingQVariant::
ByteArray Deprecated.RepresentingQVariant::
Char Deprecated.RepresentingQVariant::
Color Deprecated.RepresentingQVariant::
Cursor Deprecated.RepresentingQVariant::
Date Deprecated.RepresentingQVariant::
DateTime Deprecated.RepresentingQVariant::
Double Deprecated.RepresentingQVariant::
EasingCurve Deprecated.RepresentingQVariant::
Font Deprecated.RepresentingQVariant::
Hash Deprecated.RepresentingQVariant::
Icon Deprecated.RepresentingQVariant::
Image Deprecated.RepresentingQVariant::
Int Deprecated.RepresentingQVariant::
Invalid Deprecated.RepresentingQVariant::
KeySequence Deprecated.RepresentingQVariant::
LastCoreType Deprecated.RepresentingQVariant::
LastGuiType Deprecated.RepresentingQVariant::
LastType Deprecated.RepresentingQVariant::
Line Deprecated.RepresentingQVariant::
LineF Deprecated.RepresentingQVariant::
List Deprecated.RepresentingQVariant::
Locale Deprecated.RepresentingQVariant::
LongLong Deprecated.RepresentingQVariant::
Map Deprecated.RepresentingQVariant::
Matrix4x4 Deprecated.RepresentingQVariant::
ModelIndex Deprecated.RepresentingQVariant::
Palette Deprecated.RepresentingQVariant::
Pen Deprecated.RepresentingQVariant::
PersistentModelIndex Deprecated.RepresentingQVariant::
Pixmap Deprecated.RepresentingQVariant::
Point Deprecated.RepresentingQVariant::
PointF Deprecated.RepresentingQVariant::
Polygon Deprecated.RepresentingQVariant::
PolygonF Deprecated.RepresentingQVariant::
Quaternion Deprecated.RepresentingQVariant::
Rect Deprecated.RepresentingQVariant::
RectF Deprecated.RepresentingQVariant::
Region Deprecated.RepresentingQVariant::
RegularExpression Deprecated.RepresentingQVariant::
Size Deprecated.RepresentingQVariant::
SizeF Deprecated.RepresentingQVariant::
SizePolicy Deprecated.RepresentingQVariant::
String Deprecated.RepresentingQVariant::
StringList Deprecated.RepresentingQVariant::
TextFormat Deprecated.RepresentingQVariant::
TextLength Deprecated.RepresentingQVariant::
Time Deprecated.RepresentingQVariant::
Transform Deprecated.RepresentingQVariant::
UInt Deprecated.RepresentingQVariant::
ULongLong Deprecated.RepresentingQVariant::
Url Deprecated.RepresentingQVariant::
UserType Deprecated.RepresentingQVariant::
Uuid Deprecated.RepresentingQVariant::
Vector2D Deprecated.RepresentingQVariant::
Vector3D Deprecated.RepresentingQVariant::
Vector4D -
Method Summary
Modifier and TypeMethodDescriptionstatic QVariant.Type
resolve
(int value) Deprecated.Returns the corresponding enum entry for the given value.static QVariant.Type
Deprecated.Returns the corresponding enum entry for the given value and name.int
value()
Deprecated.This function should return an integer value for the enum values of the enumeration that implements this interface.static QVariant.Type
Deprecated.Returns the enum constant of this type with the specified name.static QVariant.Type[]
values()
Deprecated.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
-
Invalid
Deprecated.Representing
QVariant::
Invalid -
Bool
Deprecated.Representing
QVariant::
Bool -
Int
Deprecated.Representing
QVariant::
Int -
UInt
Deprecated.Representing
QVariant::
UInt -
LongLong
Deprecated.Representing
QVariant::
LongLong -
ULongLong
Deprecated.Representing
QVariant::
ULongLong -
Double
Deprecated.Representing
QVariant::
Double -
Char
Deprecated.Representing
QVariant::
Char -
Map
Deprecated.Representing
QVariant::
Map -
List
Deprecated.Representing
QVariant::
List -
String
Deprecated.Representing
QVariant::
String -
StringList
Deprecated.Representing
QVariant::
StringList -
ByteArray
Deprecated.Representing
QVariant::
ByteArray -
BitArray
Deprecated.Representing
QVariant::
BitArray -
Date
Deprecated.Representing
QVariant::
Date -
Time
Deprecated.Representing
QVariant::
Time -
DateTime
Deprecated.Representing
QVariant::
DateTime -
Url
Deprecated.Representing
QVariant::
Url -
Locale
Deprecated.Representing
QVariant::
Locale -
Rect
Deprecated.Representing
QVariant::
Rect -
RectF
Deprecated.Representing
QVariant::
RectF -
Size
Deprecated.Representing
QVariant::
Size -
SizeF
Deprecated.Representing
QVariant::
SizeF -
Line
Deprecated.Representing
QVariant::
Line -
LineF
Deprecated.Representing
QVariant::
LineF -
Point
Deprecated.Representing
QVariant::
Point -
PointF
Deprecated.Representing
QVariant::
PointF -
RegularExpression
Deprecated.Representing
QVariant::
RegularExpression -
Hash
Deprecated.Representing
QVariant::
Hash -
EasingCurve
Deprecated.Representing
QVariant::
EasingCurve -
Uuid
Deprecated.Representing
QVariant::
Uuid -
ModelIndex
Deprecated.Representing
QVariant::
ModelIndex -
PersistentModelIndex
Deprecated.Representing
QVariant::
PersistentModelIndex -
LastCoreType
Deprecated.Representing
QVariant::
LastCoreType -
Font
Deprecated.Representing
QVariant::
Font -
Pixmap
Deprecated.Representing
QVariant::
Pixmap -
Brush
Deprecated.Representing
QVariant::
Brush -
Color
Deprecated.Representing
QVariant::
Color -
Palette
Deprecated.Representing
QVariant::
Palette -
Image
Deprecated.Representing
QVariant::
Image -
Polygon
Deprecated.Representing
QVariant::
Polygon -
Region
Deprecated.Representing
QVariant::
Region -
Bitmap
Deprecated.Representing
QVariant::
Bitmap -
Cursor
Deprecated.Representing
QVariant::
Cursor -
KeySequence
Deprecated.Representing
QVariant::
KeySequence -
Pen
Deprecated.Representing
QVariant::
Pen -
TextLength
Deprecated.Representing
QVariant::
TextLength -
TextFormat
Deprecated.Representing
QVariant::
TextFormat -
Transform
Deprecated.Representing
QVariant::
Transform -
Matrix4x4
Deprecated.Representing
QVariant::
Matrix4x4 -
Vector2D
Deprecated.Representing
QVariant::
Vector2D -
Vector3D
Deprecated.Representing
QVariant::
Vector3D -
Vector4D
Deprecated.Representing
QVariant::
Vector4D -
Quaternion
Deprecated.Representing
QVariant::
Quaternion -
PolygonF
Deprecated.Representing
QVariant::
PolygonF -
Icon
Deprecated.Representing
QVariant::
Icon -
LastGuiType
Deprecated.Representing
QVariant::
LastGuiType -
SizePolicy
Deprecated.Representing
QVariant::
SizePolicy -
UserType
Deprecated.Representing
QVariant::
UserType -
LastType
Deprecated.Representing
QVariant::
LastType
-
-
Method Details
-
values
Deprecated.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
Deprecated.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()Deprecated.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
Deprecated.Returns the corresponding enum entry for the given value.- Parameters:
value
-- Returns:
- enum entry
- Throws:
QNoSuchEnumValueException
- if value not existent in the enum
-
resolve
Deprecated.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.
-