- 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
ConstructorsConstructorDescriptionDrawFlags(int value) Creates a new DrawFlags with givenvalue.DrawFlags(QSurface3DSeries.DrawFlag ... args) Creates a new DrawFlags where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionclone()Clones the flagsCombines this flags with enum entry.final intfinal QSurface3DSeries.DrawFlag []flags()Returns an array of flag objects represented by this DrawFlags.Sets the flagesetFlag(QSurface3DSeries.DrawFlag e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
DrawFlags
Creates a new DrawFlags where the flags inargsare 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:
combinedin classQFlags<QSurface3DSeries.DrawFlag>- Parameters:
e- enum entry- Returns:
- new DrawFlags
-
setFlag
Sets the flage- Overrides:
setFlagin classQFlags<QSurface3DSeries.DrawFlag>- Parameters:
e- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag- Overrides:
setFlagin 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:
flagsin classQFlags<QSurface3DSeries.DrawFlag>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<QSurface3DSeries.DrawFlag>
-
compareTo
- Specified by:
compareToin interfaceComparable<QSurface3DSeries.DrawFlags>
-