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