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