Module qtjambi.webenginewidgets
Package io.qt.webengine.widgets
Class QWebEngineContextMenuData.MediaFlags
java.lang.Object
io.qt.QFlags<QWebEngineContextMenuData.MediaFlag>
io.qt.webengine.widgets.QWebEngineContextMenuData.MediaFlags
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<QWebEngineContextMenuData.MediaFlags>
- Enclosing class:
QWebEngineContextMenuData
public static final class QWebEngineContextMenuData.MediaFlags
extends QFlags<QWebEngineContextMenuData.MediaFlag>
implements Comparable<QWebEngineContextMenuData.MediaFlags>
QFlags type for enum
QWebEngineContextMenuData.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
(QWebEngineContextMenuData.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
Combines this flags with enum entry.- Overrides:
combined
in classQFlags<QWebEngineContextMenuData.MediaFlag>
- Parameters:
e
- enum entry- Returns:
- new MediaFlags
-
setFlag
Sets the flage
- Overrides:
setFlag
in classQFlags<QWebEngineContextMenuData.MediaFlag>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
public final QWebEngineContextMenuData.MediaFlags setFlag(QWebEngineContextMenuData.MediaFlag e, boolean on) Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<QWebEngineContextMenuData.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<QWebEngineContextMenuData.MediaFlag>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QWebEngineContextMenuData.MediaFlag>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QWebEngineContextMenuData.MediaFlags>
-