java.lang.Object
io.qt.core.QMetaType.GenericEnumerator
- All Implemented Interfaces:
QMetaType.GenericTypeInterface,QtAbstractEnumerator,QtEnumerator
- Enclosing class:
QMetaType
This class represents a QMetaType-registered but Java-unknown 32 Bit enumerator.
-
Method Details
-
value
public int value()Description copied from interface:QtEnumeratorThis function should return an integer value for the enum values of the enumeration that implements this interface. Default isEnum.ordinal().- Specified by:
valuein interfaceQtEnumerator
-
getDeclaringClass
- Specified by:
getDeclaringClassin interfaceQtAbstractEnumerator- Specified by:
getDeclaringClassin interfaceQtEnumerator- Returns:
- the Class object corresponding to this enum constant's enum type
- See Also:
-
hashCode
public int hashCode() -
equals
-
metaType
- Specified by:
metaTypein interfaceQMetaType.GenericTypeInterface
-
ordinal
public final int ordinal()- Specified by:
ordinalin interfaceQtAbstractEnumerator- Returns:
- the ordinal of this enumeration constant
- See Also:
-
name
- Specified by:
namein interfaceQtAbstractEnumerator- Returns:
- the name of this enum constant
- See Also:
-
toString
-