java.lang.Object
io.qt.core.QMetaType.GenericEnumerator
- All Implemented Interfaces:
QMetaType.GenericTypeInterface
,QtAbstractEnumerator
,QtEnumerator
- Enclosing class:
- QMetaType
public static final class QMetaType.GenericEnumerator extends Object implements QtEnumerator
This class represents a QMetaType-registered but Java-unknown 32 Bit enumerator.
-
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
Class<? extends QtEnumerator>
getDeclaringClass()
int
hashCode()
QMetaType
metaType()
String
name()
int
ordinal()
String
toString()
int
value()
This function should return an integer value for the enum values of the enumeration that implements this interface.
-
Method Details
-
value
public int value()Description copied from interface:QtEnumerator
This function should return an integer value for the enum values of the enumeration that implements this interface.- Specified by:
value
in interfaceQtEnumerator
-
getDeclaringClass
- Specified by:
getDeclaringClass
in interfaceQtAbstractEnumerator
- Specified by:
getDeclaringClass
in interfaceQtEnumerator
- Returns:
- the Class object corresponding to this enum constant's enum type
- See Also:
Enum.getDeclaringClass()
-
hashCode
public int hashCode() -
equals
-
metaType
- Specified by:
metaType
in interfaceQMetaType.GenericTypeInterface
-
ordinal
public final int ordinal()- Specified by:
ordinal
in interfaceQtAbstractEnumerator
- Returns:
- the ordinal of this enumeration constant
- See Also:
Enum.ordinal()
-
name
- Specified by:
name
in interfaceQtAbstractEnumerator
- Returns:
- the name of this enum constant
- See Also:
Enum.name()
-
toString
-