Interface QtByteEnumerator
- All Superinterfaces:
QtAbstractEnumerator
- All Known Subinterfaces:
QtByteFlagEnumerator
- All Known Implementing Classes:
QBluetoothPermission.CommunicationMode,QCalendarPermission.AccessMode,QCanDbcFileParser.Error,QCanFrameProcessor.Error,QCborSimpleType,QCborStreamReader.Type,QContactsPermission.AccessMode,QDnsLookup.Protocol,QDnsTlsAssociationRecord.CertificateUsage,QDnsTlsAssociationRecord.MatchingType,QDnsTlsAssociationRecord.Selector,QDtlsError,QEventPoint.State,QJSPrimitiveValue.Type,QKeyFrame.InterpolationType,QLocale.TagSeparator,QLocationPermission.Accuracy,QLocationPermission.Availability,QMetaType.GenericByteEnumerator,QNetworkAddressEntry.DnsEligibilityStatus,QOAuth2AuthorizationCodeFlow.PkceMethod,QQuickTextDocument.Status,QQuickWebEngineProfile.PersistentPermissionsPolicy,QSGTextNode.RenderType,QSGTextNode.TextStyle,QtCanBus.DataFormat,QtCanBus.DataSource,QtCanBus.MultiplexState,QWebEnginePermission.PermissionType,QWebEnginePermission.State,QWebEngineProfile.PersistentPermissionsPolicy
The QtEnumerator interface servers as a base for all 8 Bit enum classes.
Its sole purpose is to unify the access to the
byte
value of enumerators and flags using the value() method.-
Method Summary
Modifier and TypeMethodDescriptionstatic <E extends QtByteEnumerator>
Comparator<E> Creates a comparator for enumeration valuesdefault bytevalue()This function should return a byte 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 byte value()This function should return a byte value for the enum values of the enumeration that implements this interface. -
comparator
Creates a comparator for enumeration values- Type Parameters:
E-- Returns:
- comparator
-