java.lang.Object
io.qt.core.QMetaType.GenericFlag
- All Implemented Interfaces:
QtAbstractEnumerator,QtAbstractFlagEnumerator,QtEnumerator,QtFlagEnumerator
- Enclosing class:
QMetaType
This class represents a QMetaType-registered but Java-unknown enumerator type which can be used in QFlags.
-
Method Summary
Modifier and TypeMethodDescriptionClass<? extends QtFlagEnumerator>name()intordinal()intvalue()This function should return an integer value for the enum values of the enumeration that implements this interface.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.qt.QtAbstractFlagEnumerator
asFlags
-
Method Details
-
value
Description copied from interface:QtFlagEnumeratorThis function should return an integer value for the enum values of the enumeration that implements this interface.- Specified by:
valuein interfaceQtEnumerator- Specified by:
valuein interfaceQtFlagEnumerator
-
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:
-
getDeclaringClass
- Specified by:
getDeclaringClassin interfaceQtAbstractEnumerator- Returns:
- the Class object corresponding to this enum constant's enum type
- See Also:
-