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