Enum QWebEngineUrlRequestInfo.ResourceType
- All Implemented Interfaces:
QtAbstractEnumerator
,QtEnumerator
,Serializable
,Comparable<QWebEngineUrlRequestInfo.ResourceType>
,Constable
- Enclosing class:
QWebEngineUrlRequestInfo
Java wrapper for Qt enum QWebEngineUrlRequestInfo::ResourceType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresentingQWebEngineUrlRequestInfo::
ResourceTypeCspReport RepresentingQWebEngineUrlRequestInfo::
ResourceTypeFavicon RepresentingQWebEngineUrlRequestInfo::
ResourceTypeFontResource RepresentingQWebEngineUrlRequestInfo::
ResourceTypeImage RepresentingQWebEngineUrlRequestInfo::
ResourceTypeLast RepresentingQWebEngineUrlRequestInfo::
ResourceTypeMainFrame RepresentingQWebEngineUrlRequestInfo::
ResourceTypeMedia RepresentingQWebEngineUrlRequestInfo::
ResourceTypeObject RepresentingQWebEngineUrlRequestInfo::
ResourceTypePing RepresentingQWebEngineUrlRequestInfo::
ResourceTypePluginResource RepresentingQWebEngineUrlRequestInfo::
ResourceTypePrefetch RepresentingQWebEngineUrlRequestInfo::
ResourceTypeScript RepresentingQWebEngineUrlRequestInfo::
ResourceTypeServiceWorker RepresentingQWebEngineUrlRequestInfo::
ResourceTypeSharedWorker RepresentingQWebEngineUrlRequestInfo::
ResourceTypeStylesheet RepresentingQWebEngineUrlRequestInfo::
ResourceTypeSubFrame RepresentingQWebEngineUrlRequestInfo::
ResourceTypeSubResource RepresentingQWebEngineUrlRequestInfo::
ResourceTypeUnknown RepresentingQWebEngineUrlRequestInfo::
ResourceTypeWorker RepresentingQWebEngineUrlRequestInfo::
ResourceTypeXhr -
Method Summary
Modifier and TypeMethodDescriptionresolve
(int value) Returns the corresponding enum entry for the given value.int
value()
This function should return an integer value for the enum values of the enumeration that implements this interface.Returns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface io.qt.QtAbstractEnumerator
getDeclaringClass, name, ordinal
-
Enum Constant Details
-
ResourceTypeMainFrame
Representing
QWebEngineUrlRequestInfo::
ResourceTypeMainFrame -
ResourceTypeSubFrame
Representing
QWebEngineUrlRequestInfo::
ResourceTypeSubFrame -
ResourceTypeStylesheet
Representing
QWebEngineUrlRequestInfo::
ResourceTypeStylesheet -
ResourceTypeScript
Representing
QWebEngineUrlRequestInfo::
ResourceTypeScript -
ResourceTypeImage
Representing
QWebEngineUrlRequestInfo::
ResourceTypeImage -
ResourceTypeFontResource
Representing
QWebEngineUrlRequestInfo::
ResourceTypeFontResource -
ResourceTypeSubResource
Representing
QWebEngineUrlRequestInfo::
ResourceTypeSubResource -
ResourceTypeObject
Representing
QWebEngineUrlRequestInfo::
ResourceTypeObject -
ResourceTypeMedia
Representing
QWebEngineUrlRequestInfo::
ResourceTypeMedia -
ResourceTypeWorker
Representing
QWebEngineUrlRequestInfo::
ResourceTypeWorker -
ResourceTypePrefetch
Representing
QWebEngineUrlRequestInfo::
ResourceTypePrefetch -
ResourceTypeFavicon
Representing
QWebEngineUrlRequestInfo::
ResourceTypeFavicon -
ResourceTypeXhr
Representing
QWebEngineUrlRequestInfo::
ResourceTypeXhr -
ResourceTypePing
Representing
QWebEngineUrlRequestInfo::
ResourceTypePing -
ResourceTypeServiceWorker
Representing
QWebEngineUrlRequestInfo::
ResourceTypeServiceWorker -
ResourceTypeCspReport
Representing
QWebEngineUrlRequestInfo::
ResourceTypeCspReport -
ResourceTypePluginResource
Representing
QWebEngineUrlRequestInfo::
ResourceTypePluginResource -
ResourceTypeLast
Representing
QWebEngineUrlRequestInfo::
ResourceTypeLast -
ResourceTypeUnknown
Representing
QWebEngineUrlRequestInfo::
ResourceTypeUnknown
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public int value()This function should return an integer value for the enum values of the enumeration that implements this interface. Default isEnum.ordinal()
.- Specified by:
value
in interfaceQtEnumerator
-
resolve
Returns the corresponding enum entry for the given value.- Parameters:
value
-- Returns:
- enum entry
-