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