- 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 ConstantDescriptionDeprecated.Representing QVariant::BitArrayDeprecated.Representing QVariant::BitmapDeprecated.Representing QVariant::BoolDeprecated.Representing QVariant::BrushDeprecated.Representing QVariant::ByteArrayDeprecated.Representing QVariant::CharDeprecated.Representing QVariant::ColorDeprecated.Representing QVariant::CursorDeprecated.Representing QVariant::DateDeprecated.Representing QVariant::DateTimeDeprecated.Representing QVariant::DoubleDeprecated.Representing QVariant::EasingCurveDeprecated.Representing QVariant::FontDeprecated.Representing QVariant::HashDeprecated.Representing QVariant::IconDeprecated.Representing QVariant::ImageDeprecated.Representing QVariant::IntDeprecated.Representing QVariant::InvalidDeprecated.Representing QVariant::KeySequenceDeprecated.Representing QVariant::LastCoreTypeDeprecated.Representing QVariant::LastGuiTypeDeprecated.Representing QVariant::LastTypeDeprecated.Representing QVariant::LineDeprecated.Representing QVariant::LineFDeprecated.Representing QVariant::ListDeprecated.Representing QVariant::LocaleDeprecated.Representing QVariant::LongLongDeprecated.Representing QVariant::MapDeprecated.Representing QVariant::Matrix4x4Deprecated.Representing QVariant::ModelIndexDeprecated.Representing QVariant::PaletteDeprecated.Representing QVariant::PenDeprecated.Representing QVariant::PersistentModelIndexDeprecated.Representing QVariant::PixmapDeprecated.Representing QVariant::PointDeprecated.Representing QVariant::PointFDeprecated.Representing QVariant::PolygonDeprecated.Representing QVariant::PolygonFDeprecated.Representing QVariant::QuaternionDeprecated.Representing QVariant::RectDeprecated.Representing QVariant::RectFDeprecated.Representing QVariant::RegionDeprecated.Representing QVariant::RegularExpressionDeprecated.Representing QVariant::SizeDeprecated.Representing QVariant::SizeFDeprecated.Representing QVariant::SizePolicyDeprecated.Representing QVariant::StringDeprecated.Representing QVariant::StringListDeprecated.Representing QVariant::TextFormatDeprecated.Representing QVariant::TextLengthDeprecated.Representing QVariant::TimeDeprecated.Representing QVariant::TransformDeprecated.Representing QVariant::UIntDeprecated.Representing QVariant::ULongLongDeprecated.Representing QVariant::UrlDeprecated.Representing QVariant::UserTypeDeprecated.Representing QVariant::UuidDeprecated.Representing QVariant::Vector2DDeprecated.Representing QVariant::Vector3DDeprecated.Representing QVariant::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.
-