Module qtjambi.webenginecore
Package io.qt.webengine.core
Class QWebEngineContextMenuRequest.MediaFlags
java.lang.Object
io.qt.QFlags<QWebEngineContextMenuRequest.MediaFlag>
io.qt.webengine.core.QWebEngineContextMenuRequest.MediaFlags
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<QWebEngineContextMenuRequest.MediaFlags>
- Enclosing class:
QWebEngineContextMenuRequest
public static final class QWebEngineContextMenuRequest.MediaFlags
extends QFlags<QWebEngineContextMenuRequest.MediaFlag>
implements Comparable<QWebEngineContextMenuRequest.MediaFlags>
QFlags type for enum
QWebEngineContextMenuRequest.MediaFlag
- See Also:
-
Constructor Summary
ConstructorDescriptionMediaFlags
(int value) Creates a new MediaFlags with givenvalue
.Creates a new MediaFlags where the flags inargs
are set. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Clones the flagsCombines this flags with enum entry.final int
flags()
Returns an array of flag objects represented by this MediaFlags.Sets the flage
setFlag
(QWebEngineContextMenuRequest.MediaFlag e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
MediaFlags
Creates a new MediaFlags where the flags inargs
are set.- Parameters:
args
- enum entries
-
MediaFlags
public MediaFlags(int value) Creates a new MediaFlags with givenvalue
.- Parameters:
value
-
-
-
Method Details
-
combined
public final QWebEngineContextMenuRequest.MediaFlags combined(QWebEngineContextMenuRequest.MediaFlag e) Combines this flags with enum entry.- Overrides:
combined
in classQFlags<QWebEngineContextMenuRequest.MediaFlag>
- Parameters:
e
- enum entry- Returns:
- new MediaFlags
-
setFlag
public final QWebEngineContextMenuRequest.MediaFlags setFlag(QWebEngineContextMenuRequest.MediaFlag e) Sets the flage
- Overrides:
setFlag
in classQFlags<QWebEngineContextMenuRequest.MediaFlag>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
public final QWebEngineContextMenuRequest.MediaFlags setFlag(QWebEngineContextMenuRequest.MediaFlag e, boolean on) Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<QWebEngineContextMenuRequest.MediaFlag>
- Parameters:
e
- enum entryon
- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this MediaFlags.- Overrides:
flags
in classQFlags<QWebEngineContextMenuRequest.MediaFlag>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QWebEngineContextMenuRequest.MediaFlag>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QWebEngineContextMenuRequest.MediaFlags>
-