- All Superinterfaces:
QtAbstractEnumerator
- All Known Subinterfaces:
QtShortFlagEnumerator
- All Known Implementing Classes:
QMetaType.GenericShortEnumerator
,QNode.PropertyTrackingMode
The QtEnumerator interface servers as a base for all 16 Bit enum classes.
Its sole purpose is to unify the access to the
short
value of enumerators and flags using the value()
method.-
Method Summary
Modifier and TypeMethodDescriptionstatic <E extends QtShortEnumerator>
Comparator<E> Creates a comparator for enumeration valuesdefault short
value()
This function should return a short value for the enum values of the enumeration that implements this interface.Methods inherited from interface io.qt.QtAbstractEnumerator
getDeclaringClass, name, ordinal
-
Method Details
-
value
default short value()This function should return a short value for the enum values of the enumeration that implements this interface. -
comparator
Creates a comparator for enumeration values- Type Parameters:
E
-- Returns:
- comparator
-