- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<QSGAbstractRenderer.ClearMode>
- Enclosing class:
QSGAbstractRenderer
public static final class QSGAbstractRenderer.ClearMode
extends QFlags<QSGAbstractRenderer.ClearModeBit>
implements Comparable<QSGAbstractRenderer.ClearMode>
QFlags
type for enum QSGAbstractRenderer.ClearModeBit
- See Also:
-
Constructor Summary
ConstructorDescriptionClearMode
(int value) Creates a new ClearMode with givenvalue
.ClearMode
(QSGAbstractRenderer.ClearModeBit ... args) Creates a new ClearMode where the flags inargs
are set. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Clones the flagsCombines this flags with enum entry.final int
final QSGAbstractRenderer.ClearModeBit []
flags()
Returns an array of flag objects represented by this ClearMode.Sets the flage
setFlag
(QSGAbstractRenderer.ClearModeBit e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
ClearMode
Creates a new ClearMode where the flags inargs
are set.- Parameters:
args
- enum entries
-
ClearMode
public ClearMode(int value) Creates a new ClearMode with givenvalue
.- Parameters:
value
-
-
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combined
in classQFlags<QSGAbstractRenderer.ClearModeBit>
- Parameters:
e
- enum entry- Returns:
- new ClearMode
-
setFlag
Sets the flage
- Overrides:
setFlag
in classQFlags<QSGAbstractRenderer.ClearModeBit>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<QSGAbstractRenderer.ClearModeBit>
- Parameters:
e
- enum entryon
- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this ClearMode.- Overrides:
flags
in classQFlags<QSGAbstractRenderer.ClearModeBit>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QSGAbstractRenderer.ClearModeBit>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QSGAbstractRenderer.ClearMode>
-