- 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ClearMode(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 Type Method Description QSGAbstractRenderer.ClearMode
clone()
Clones the flagsQSGAbstractRenderer.ClearMode
combined(QSGAbstractRenderer.ClearModeBit e)
Combines this flags with enum entry.int
compareTo(QSGAbstractRenderer.ClearMode other)
QSGAbstractRenderer.ClearModeBit[]
flags()
Returns an array of flag objects represented by this ClearMode.QSGAbstractRenderer.ClearMode
setFlag(QSGAbstractRenderer.ClearModeBit e)
Sets the flage
QSGAbstractRenderer.ClearMode
setFlag(QSGAbstractRenderer.ClearModeBit e, boolean on)
Sets or clears the flagflag
-
Constructor Details
-
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>
-