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