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()
int
ordinal()
int
value()
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, wait
Methods inherited from interface io.qt.QtAbstractFlagEnumerator
asFlags
-
Method Details
-
value
public int value()Description copied from interface:QtFlagEnumerator
This function should return an integer value for the enum values of the enumeration that implements this interface.- Specified by:
value
in interfaceQtEnumerator
- Specified by:
value
in interfaceQtFlagEnumerator
-
ordinal
public int ordinal()- Specified by:
ordinal
in interfaceQtAbstractEnumerator
- Returns:
- the ordinal of this enumeration constant
- See Also:
-
name
- Specified by:
name
in interfaceQtAbstractEnumerator
- Returns:
- the name of this enum constant
- See Also:
-
getDeclaringClass
- Specified by:
getDeclaringClass
in interfaceQtAbstractEnumerator
- Returns:
- the Class object corresponding to this enum constant's enum type
- See Also:
-