- All Implemented Interfaces:
QtAbstractEnumerator
,QtEnumerator
,Serializable
,Comparable<QQuick3DGeometry.PrimitiveType>
,Constable
- Enclosing class:
QQuick3DGeometry
public static enum QQuick3DGeometry.PrimitiveType
extends Enum<QQuick3DGeometry.PrimitiveType>
implements QtEnumerator
Java wrapper for Qt enum QQuick3DGeometry::PrimitiveType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRepresentingQQuick3DGeometry::
PrimitiveType:: Lines RepresentingQQuick3DGeometry::
PrimitiveType:: LineStrip RepresentingQQuick3DGeometry::
PrimitiveType:: Points RepresentingQQuick3DGeometry::
PrimitiveType:: TriangleFan RepresentingQQuick3DGeometry::
PrimitiveType:: Triangles RepresentingQQuick3DGeometry::
PrimitiveType:: TriangleStrip RepresentingQQuick3DGeometry::
PrimitiveType:: Unknown -
Method Summary
Modifier and TypeMethodDescriptionresolve
(int value) Returns the corresponding enum entry for the given value.int
value()
This function should return an integer value for the enum values of the enumeration that implements this interface.Returns the enum constant of this type with the specified name.static QQuick3DGeometry.PrimitiveType[]
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.QtEnumerator
getDeclaringClass, name, ordinal
-
Enum Constant Details
-
Unknown
Representing
QQuick3DGeometry::
PrimitiveType:: Unknown -
Points
Representing
QQuick3DGeometry::
PrimitiveType:: Points -
LineStrip
Representing
QQuick3DGeometry::
PrimitiveType:: LineStrip -
Lines
Representing
QQuick3DGeometry::
PrimitiveType:: Lines -
TriangleStrip
Representing
QQuick3DGeometry::
PrimitiveType:: TriangleStrip -
TriangleFan
Representing
QQuick3DGeometry::
PrimitiveType:: TriangleFan -
Triangles
Representing
QQuick3DGeometry::
PrimitiveType:: Triangles
-
-
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
-