- 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description OptimizationHints(int value)
Creates a new OptimizationHints with givenvalue
.OptimizationHints(QAbstract3DGraph.OptimizationHint... args)
Creates a new OptimizationHints where the flags inargs
are set. -
Method Summary
Modifier and Type Method Description QAbstract3DGraph.OptimizationHints
clone()
Clones the flagsQAbstract3DGraph.OptimizationHints
combined(QAbstract3DGraph.OptimizationHint e)
Combines this flags with enum entry.int
compareTo(QAbstract3DGraph.OptimizationHints other)
QAbstract3DGraph.OptimizationHint[]
flags()
Returns an array of flag objects represented by this OptimizationHints.QAbstract3DGraph.OptimizationHints
setFlag(QAbstract3DGraph.OptimizationHint e)
Sets the flage
QAbstract3DGraph.OptimizationHints
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>
-