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