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